CbmRoot
CbmMcbm2019CheckDtInDet Class Reference

#include <CbmMcbm2019CheckDtInDet.h>

Inheritance diagram for CbmMcbm2019CheckDtInDet:
[legend]
Collaboration diagram for CbmMcbm2019CheckDtInDet:
[legend]

Public Member Functions

 CbmMcbm2019CheckDtInDet ()
 
 CbmMcbm2019CheckDtInDet (const CbmMcbm2019CheckDtInDet &)=delete
 
CbmMcbm2019CheckDtInDet operator= (const CbmMcbm2019CheckDtInDet &)=delete
 
 ~CbmMcbm2019CheckDtInDet ()
 
virtual InitStatus Init ()
 
virtual InitStatus ReInit ()
 
virtual void Exec (Option_t *)
 
virtual void SetParContainers ()
 
virtual void Finish ()
 
void SetNbChanT0 (Int_t val=8)
 
void SetNbChanSts (Int_t val=5120)
 
void SetNbChanMuch (Int_t val=1000)
 
void SetNbChanTrd (Int_t val=1000)
 
void SetNbChanTof (Int_t val=1000)
 
void SetNbChanRich (Int_t val=1000)
 
void SetNbChanPsd (Int_t val=1000)
 
void SetOutFilename (TString sNameIn)
 

Private Member Functions

template<class Digi >
void FillHistosPerDet (TH1 *histoSameTime, TH1 *histoDt, TH1 *histoDtLog, TH2 *histoDtPerChan, ECbmModuleId iDetId=ECbmModuleId::kLastModule)
 
void CreateHistos ()
 
void WriteHistos ()
 
 ClassDef (CbmMcbm2019CheckDtInDet, 1)
 

Private Attributes

CbmDigiManagerfDigiMan = nullptr
 
const std::vector< CbmTofDigi > * fT0DigiVector = nullptr
 
TClonesArray * fT0DigiArray = nullptr
 
TClonesArray * fTimeSliceMetaDataArray = nullptr
 
const TimesliceMetaDatapTsMetaData = nullptr
 
Double_t fPrevTimeT0 = 0.
 Variables to store the previous digi time. More...
 
Double_t fPrevTimeSts = 0.
 
Double_t fPrevTimeMuch = 0.
 
Double_t fPrevTimeTrd = 0.
 
Double_t fPrevTimeTof = 0.
 
Double_t fPrevTimeRich = 0.
 
Double_t fPrevTimePsd = 0.
 
UInt_t fuNbChanT0 = 8
 User settings: Data correction parameters. More...
 
UInt_t fuNbChanSts = 5120
 
UInt_t fuNbChanMuch = 5120
 
UInt_t fuNbChanTrd = 5120
 
UInt_t fuNbChanTof = 5120
 
UInt_t fuNbChanRich = 5120
 
UInt_t fuNbChanPsd = 5120
 
Int_t fNrTs = 0
 
TH1 * fT0T0SameTime = nullptr
 
TH1 * fStsStsSameTime = nullptr
 
TH1 * fMuchMuchSameTime = nullptr
 
TH1 * fTrdTrdSameTime = nullptr
 
TH1 * fTofTofSameTime = nullptr
 
TH1 * fRichRichSameTime = nullptr
 
TH1 * fPsdPsdSameTime = nullptr
 
TH1 * fT0T0Diff = nullptr
 
TH1 * fStsStsDiff = nullptr
 
TH1 * fMuchMuchDiff = nullptr
 
TH1 * fTrdTrdDiff = nullptr
 
TH1 * fTofTofDiff = nullptr
 
TH1 * fRichRichDiff = nullptr
 
TH1 * fPsdPsdDiff = nullptr
 
TH1 * fT0T0DiffLog = nullptr
 
TH1 * fStsStsDiffLog = nullptr
 
TH1 * fMuchMuchDiffLog = nullptr
 
TH1 * fTrdTrdDiffLog = nullptr
 
TH1 * fTofTofDiffLog = nullptr
 
TH1 * fRichRichDiffLog = nullptr
 
TH1 * fPsdPsdDiffLog = nullptr
 
TH2 * fT0T0DiffPerChan = nullptr
 
TH2 * fStsStsDiffPerChan = nullptr
 
TH2 * fMuchMuchDiffPerChan = nullptr
 
TH2 * fTrdTrdDiffPerChan = nullptr
 
TH2 * fTofTofDiffPerChan = nullptr
 
TH2 * fRichRichDiffPerChan = nullptr
 
TH2 * fPsdPsdDiffPerChan = nullptr
 
TString fOutFileName {"data/HistosDtInDet.root"}
 

Static Private Attributes

static const UInt_t kuNbChanSMX = 128
 Constants. More...
 
static const UInt_t kuMaxNbStsDpbs = 2
 
static const UInt_t kuMaxNbMuchDpbs = 6
 
static const UInt_t kuMaxNbMuchAsics = 36
 
static const UInt_t kuDefaultAddress = 0xFFFFFFFF
 
static const UInt_t kuMaxChannelSts = 3000
 

Detailed Description

Definition at line 31 of file CbmMcbm2019CheckDtInDet.h.

Constructor & Destructor Documentation

◆ CbmMcbm2019CheckDtInDet() [1/2]

CbmMcbm2019CheckDtInDet::CbmMcbm2019CheckDtInDet ( )

Definition at line 38 of file CbmMcbm2019CheckDtInDet.cxx.

◆ CbmMcbm2019CheckDtInDet() [2/2]

CbmMcbm2019CheckDtInDet::CbmMcbm2019CheckDtInDet ( const CbmMcbm2019CheckDtInDet )
delete

◆ ~CbmMcbm2019CheckDtInDet()

CbmMcbm2019CheckDtInDet::~CbmMcbm2019CheckDtInDet ( )

Constructor with parameters (Optional) Destructor

Definition at line 42 of file CbmMcbm2019CheckDtInDet.cxx.

Member Function Documentation

◆ ClassDef()

CbmMcbm2019CheckDtInDet::ClassDef ( CbmMcbm2019CheckDtInDet  ,
 
)
private

◆ CreateHistos()

void CbmMcbm2019CheckDtInDet::CreateHistos ( )
private

◆ Exec()

◆ FillHistosPerDet()

template<class Digi >
void CbmMcbm2019CheckDtInDet::FillHistosPerDet ( TH1 *  histoSameTime,
TH1 *  histoDt,
TH1 *  histoDtLog,
TH2 *  histoDtPerChan,
ECbmModuleId  iDetId = ECbmModuleId::kLastModule 
)
private

◆ Finish()

void CbmMcbm2019CheckDtInDet::Finish ( )
virtual

Finish task called at the end of the run

Definition at line 510 of file CbmMcbm2019CheckDtInDet.cxx.

References WriteHistos().

◆ Init()

InitStatus CbmMcbm2019CheckDtInDet::Init ( )
virtual

Initiliazation of task at the beginning of a run

The TRD digi time is relative to the TS start, so we need the metadata to offset it

Definition at line 57 of file CbmMcbm2019CheckDtInDet.cxx.

References CreateHistos(), fDigiMan, fT0DigiArray, fT0DigiVector, fTimeSliceMetaDataArray, CbmDigiManager::Init(), CbmDigiManager::Instance(), CbmDigiManager::IsPresent(), kMuch, kPsd, kRich, kSts, kTof, kTrd, and CbmDigiManager::UseMuchBeamTimeDigi().

◆ operator=()

CbmMcbm2019CheckDtInDet CbmMcbm2019CheckDtInDet::operator= ( const CbmMcbm2019CheckDtInDet )
delete

◆ ReInit()

InitStatus CbmMcbm2019CheckDtInDet::ReInit ( )
virtual

ReInitiliazation of task when the runID changes

Definition at line 323 of file CbmMcbm2019CheckDtInDet.cxx.

◆ SetNbChanMuch()

void CbmMcbm2019CheckDtInDet::SetNbChanMuch ( Int_t  val = 1000)
inline

Definition at line 66 of file CbmMcbm2019CheckDtInDet.h.

References fuNbChanMuch.

◆ SetNbChanPsd()

void CbmMcbm2019CheckDtInDet::SetNbChanPsd ( Int_t  val = 1000)
inline

Definition at line 74 of file CbmMcbm2019CheckDtInDet.h.

References fuNbChanPsd.

◆ SetNbChanRich()

void CbmMcbm2019CheckDtInDet::SetNbChanRich ( Int_t  val = 1000)
inline

Definition at line 72 of file CbmMcbm2019CheckDtInDet.h.

References fuNbChanRich.

◆ SetNbChanSts()

void CbmMcbm2019CheckDtInDet::SetNbChanSts ( Int_t  val = 5120)
inline

Definition at line 64 of file CbmMcbm2019CheckDtInDet.h.

References fuNbChanSts.

◆ SetNbChanT0()

void CbmMcbm2019CheckDtInDet::SetNbChanT0 ( Int_t  val = 8)
inline

Definition at line 62 of file CbmMcbm2019CheckDtInDet.h.

References fuNbChanT0.

◆ SetNbChanTof()

void CbmMcbm2019CheckDtInDet::SetNbChanTof ( Int_t  val = 1000)
inline

Definition at line 70 of file CbmMcbm2019CheckDtInDet.h.

References fuNbChanTof.

◆ SetNbChanTrd()

void CbmMcbm2019CheckDtInDet::SetNbChanTrd ( Int_t  val = 1000)
inline

Definition at line 68 of file CbmMcbm2019CheckDtInDet.h.

References fuNbChanTrd.

◆ SetOutFilename()

void CbmMcbm2019CheckDtInDet::SetOutFilename ( TString  sNameIn)
inline

Definition at line 76 of file CbmMcbm2019CheckDtInDet.h.

References fOutFileName.

◆ SetParContainers()

void CbmMcbm2019CheckDtInDet::SetParContainers ( )
virtual

Load the parameter container from the runtime database

Definition at line 45 of file CbmMcbm2019CheckDtInDet.cxx.

◆ WriteHistos()

Member Data Documentation

◆ fDigiMan

CbmDigiManager* CbmMcbm2019CheckDtInDet::fDigiMan = nullptr
private

Digi data

Definition at line 90 of file CbmMcbm2019CheckDtInDet.h.

Referenced by FillHistosPerDet(), and Init().

◆ fMuchMuchDiff

TH1* CbmMcbm2019CheckDtInDet::fMuchMuchDiff = nullptr
private

Definition at line 134 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fMuchMuchDiffLog

TH1* CbmMcbm2019CheckDtInDet::fMuchMuchDiffLog = nullptr
private

Definition at line 142 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fMuchMuchDiffPerChan

TH2* CbmMcbm2019CheckDtInDet::fMuchMuchDiffPerChan = nullptr
private

Definition at line 151 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fMuchMuchSameTime

TH1* CbmMcbm2019CheckDtInDet::fMuchMuchSameTime = nullptr
private

Definition at line 126 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fNrTs

Int_t CbmMcbm2019CheckDtInDet::fNrTs = 0
private

Definition at line 122 of file CbmMcbm2019CheckDtInDet.h.

Referenced by Exec().

◆ fOutFileName

TString CbmMcbm2019CheckDtInDet::fOutFileName {"data/HistosDtInDet.root"}
private

Definition at line 158 of file CbmMcbm2019CheckDtInDet.h.

Referenced by SetOutFilename(), and WriteHistos().

◆ fPrevTimeMuch

Double_t CbmMcbm2019CheckDtInDet::fPrevTimeMuch = 0.
private

Definition at line 107 of file CbmMcbm2019CheckDtInDet.h.

◆ fPrevTimePsd

Double_t CbmMcbm2019CheckDtInDet::fPrevTimePsd = 0.
private

Definition at line 111 of file CbmMcbm2019CheckDtInDet.h.

◆ fPrevTimeRich

Double_t CbmMcbm2019CheckDtInDet::fPrevTimeRich = 0.
private

Definition at line 110 of file CbmMcbm2019CheckDtInDet.h.

◆ fPrevTimeSts

Double_t CbmMcbm2019CheckDtInDet::fPrevTimeSts = 0.
private

Definition at line 106 of file CbmMcbm2019CheckDtInDet.h.

◆ fPrevTimeT0

Double_t CbmMcbm2019CheckDtInDet::fPrevTimeT0 = 0.
private

Variables to store the previous digi time.

Definition at line 105 of file CbmMcbm2019CheckDtInDet.h.

Referenced by Exec().

◆ fPrevTimeTof

Double_t CbmMcbm2019CheckDtInDet::fPrevTimeTof = 0.
private

Definition at line 109 of file CbmMcbm2019CheckDtInDet.h.

◆ fPrevTimeTrd

Double_t CbmMcbm2019CheckDtInDet::fPrevTimeTrd = 0.
private

Definition at line 108 of file CbmMcbm2019CheckDtInDet.h.

◆ fPsdPsdDiff

TH1* CbmMcbm2019CheckDtInDet::fPsdPsdDiff = nullptr
private

Definition at line 138 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fPsdPsdDiffLog

TH1* CbmMcbm2019CheckDtInDet::fPsdPsdDiffLog = nullptr
private

Definition at line 146 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fPsdPsdDiffPerChan

TH2* CbmMcbm2019CheckDtInDet::fPsdPsdDiffPerChan = nullptr
private

Definition at line 155 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fPsdPsdSameTime

TH1* CbmMcbm2019CheckDtInDet::fPsdPsdSameTime = nullptr
private

Definition at line 130 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fRichRichDiff

TH1* CbmMcbm2019CheckDtInDet::fRichRichDiff = nullptr
private

Definition at line 137 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fRichRichDiffLog

TH1* CbmMcbm2019CheckDtInDet::fRichRichDiffLog = nullptr
private

Definition at line 145 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fRichRichDiffPerChan

TH2* CbmMcbm2019CheckDtInDet::fRichRichDiffPerChan = nullptr
private

Definition at line 154 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fRichRichSameTime

TH1* CbmMcbm2019CheckDtInDet::fRichRichSameTime = nullptr
private

Definition at line 129 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fStsStsDiff

TH1* CbmMcbm2019CheckDtInDet::fStsStsDiff = nullptr
private

Definition at line 133 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fStsStsDiffLog

TH1* CbmMcbm2019CheckDtInDet::fStsStsDiffLog = nullptr
private

Definition at line 141 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fStsStsDiffPerChan

TH2* CbmMcbm2019CheckDtInDet::fStsStsDiffPerChan = nullptr
private

Definition at line 150 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fStsStsSameTime

TH1* CbmMcbm2019CheckDtInDet::fStsStsSameTime = nullptr
private

Definition at line 125 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fT0DigiArray

TClonesArray* CbmMcbm2019CheckDtInDet::fT0DigiArray = nullptr
private

Definition at line 92 of file CbmMcbm2019CheckDtInDet.h.

Referenced by Exec(), and Init().

◆ fT0DigiVector

const std::vector<CbmTofDigi>* CbmMcbm2019CheckDtInDet::fT0DigiVector = nullptr
private

Definition at line 91 of file CbmMcbm2019CheckDtInDet.h.

Referenced by Exec(), and Init().

◆ fT0T0Diff

TH1* CbmMcbm2019CheckDtInDet::fT0T0Diff = nullptr
private

Definition at line 132 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fT0T0DiffLog

TH1* CbmMcbm2019CheckDtInDet::fT0T0DiffLog = nullptr
private

Definition at line 140 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fT0T0DiffPerChan

TH2* CbmMcbm2019CheckDtInDet::fT0T0DiffPerChan = nullptr
private

Definition at line 149 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), and WriteHistos().

◆ fT0T0SameTime

TH1* CbmMcbm2019CheckDtInDet::fT0T0SameTime = nullptr
private

Definition at line 124 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fTimeSliceMetaDataArray

TClonesArray* CbmMcbm2019CheckDtInDet::fTimeSliceMetaDataArray = nullptr
private

Definition at line 93 of file CbmMcbm2019CheckDtInDet.h.

Referenced by Init().

◆ fTofTofDiff

TH1* CbmMcbm2019CheckDtInDet::fTofTofDiff = nullptr
private

Definition at line 136 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fTofTofDiffLog

TH1* CbmMcbm2019CheckDtInDet::fTofTofDiffLog = nullptr
private

Definition at line 144 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fTofTofDiffPerChan

TH2* CbmMcbm2019CheckDtInDet::fTofTofDiffPerChan = nullptr
private

Definition at line 153 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fTofTofSameTime

TH1* CbmMcbm2019CheckDtInDet::fTofTofSameTime = nullptr
private

Definition at line 128 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fTrdTrdDiff

TH1* CbmMcbm2019CheckDtInDet::fTrdTrdDiff = nullptr
private

Definition at line 135 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fTrdTrdDiffLog

TH1* CbmMcbm2019CheckDtInDet::fTrdTrdDiffLog = nullptr
private

Definition at line 143 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fTrdTrdDiffPerChan

TH2* CbmMcbm2019CheckDtInDet::fTrdTrdDiffPerChan = nullptr
private

Definition at line 152 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fTrdTrdSameTime

TH1* CbmMcbm2019CheckDtInDet::fTrdTrdSameTime = nullptr
private

Definition at line 127 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), Exec(), and WriteHistos().

◆ fuNbChanMuch

UInt_t CbmMcbm2019CheckDtInDet::fuNbChanMuch = 5120
private

Definition at line 116 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), and SetNbChanMuch().

◆ fuNbChanPsd

UInt_t CbmMcbm2019CheckDtInDet::fuNbChanPsd = 5120
private

Definition at line 120 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), and SetNbChanPsd().

◆ fuNbChanRich

UInt_t CbmMcbm2019CheckDtInDet::fuNbChanRich = 5120
private

Definition at line 119 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), and SetNbChanRich().

◆ fuNbChanSts

UInt_t CbmMcbm2019CheckDtInDet::fuNbChanSts = 5120
private

Definition at line 115 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), and SetNbChanSts().

◆ fuNbChanT0

UInt_t CbmMcbm2019CheckDtInDet::fuNbChanT0 = 8
private

User settings: Data correction parameters.

Definition at line 114 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), and SetNbChanT0().

◆ fuNbChanTof

UInt_t CbmMcbm2019CheckDtInDet::fuNbChanTof = 5120
private

Definition at line 118 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), and SetNbChanTof().

◆ fuNbChanTrd

UInt_t CbmMcbm2019CheckDtInDet::fuNbChanTrd = 5120
private

Definition at line 117 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), and SetNbChanTrd().

◆ kuDefaultAddress

const UInt_t CbmMcbm2019CheckDtInDet::kuDefaultAddress = 0xFFFFFFFF
staticprivate

Definition at line 101 of file CbmMcbm2019CheckDtInDet.h.

◆ kuMaxChannelSts

const UInt_t CbmMcbm2019CheckDtInDet::kuMaxChannelSts = 3000
staticprivate

Definition at line 102 of file CbmMcbm2019CheckDtInDet.h.

◆ kuMaxNbMuchAsics

const UInt_t CbmMcbm2019CheckDtInDet::kuMaxNbMuchAsics = 36
staticprivate

Definition at line 100 of file CbmMcbm2019CheckDtInDet.h.

◆ kuMaxNbMuchDpbs

const UInt_t CbmMcbm2019CheckDtInDet::kuMaxNbMuchDpbs = 6
staticprivate

Definition at line 99 of file CbmMcbm2019CheckDtInDet.h.

◆ kuMaxNbStsDpbs

const UInt_t CbmMcbm2019CheckDtInDet::kuMaxNbStsDpbs = 2
staticprivate

Definition at line 98 of file CbmMcbm2019CheckDtInDet.h.

◆ kuNbChanSMX

const UInt_t CbmMcbm2019CheckDtInDet::kuNbChanSMX = 128
staticprivate

Constants.

Definition at line 97 of file CbmMcbm2019CheckDtInDet.h.

◆ pTsMetaData

const TimesliceMetaData* CbmMcbm2019CheckDtInDet::pTsMetaData = nullptr
private

Definition at line 94 of file CbmMcbm2019CheckDtInDet.h.


The documentation for this class was generated from the following files: