|
CbmRoot
|
#include <CbmMcbm2019CheckDtInDet.h>
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 | SetNbChanBmon (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 | |
| CbmDigiManager * | fDigiMan = nullptr |
| const std::vector< CbmTofDigi > * | fBmonDigiVector = nullptr |
| TClonesArray * | fBmonDigiArray = nullptr |
| TClonesArray * | fTimeSliceMetaDataArray = nullptr |
| const TimesliceMetaData * | pTsMetaData = nullptr |
| Double_t | fPrevTimeBmon = 0. |
| Variables to store the previous digi time. | |
| 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 | fuNbChanBmon = 8 |
| User settings: Data correction parameters. | |
| 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 * | fBmonBmonSameTime = nullptr |
| TH1 * | fStsStsSameTime = nullptr |
| TH1 * | fMuchMuchSameTime = nullptr |
| TH1 * | fTrdTrdSameTime = nullptr |
| TH1 * | fTofTofSameTime = nullptr |
| TH1 * | fRichRichSameTime = nullptr |
| TH1 * | fPsdPsdSameTime = nullptr |
| TH1 * | fBmonBmonDiff = nullptr |
| TH1 * | fStsStsDiff = nullptr |
| TH1 * | fMuchMuchDiff = nullptr |
| TH1 * | fTrdTrdDiff = nullptr |
| TH1 * | fTofTofDiff = nullptr |
| TH1 * | fRichRichDiff = nullptr |
| TH1 * | fPsdPsdDiff = nullptr |
| TH1 * | fBmonBmonDiffLog = nullptr |
| TH1 * | fStsStsDiffLog = nullptr |
| TH1 * | fMuchMuchDiffLog = nullptr |
| TH1 * | fTrdTrdDiffLog = nullptr |
| TH1 * | fTofTofDiffLog = nullptr |
| TH1 * | fRichRichDiffLog = nullptr |
| TH1 * | fPsdPsdDiffLog = nullptr |
| TH2 * | fBmonBmonDiffPerChan = 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. | |
| 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 |
Definition at line 29 of file CbmMcbm2019CheckDtInDet.h.
| CbmMcbm2019CheckDtInDet::CbmMcbm2019CheckDtInDet | ( | ) |
Definition at line 35 of file CbmMcbm2019CheckDtInDet.cxx.
Referenced by CbmMcbm2019CheckDtInDet(), ClassDef(), and operator=().
|
delete |
References CbmMcbm2019CheckDtInDet().
| CbmMcbm2019CheckDtInDet::~CbmMcbm2019CheckDtInDet | ( | ) |
Constructor with parameters (Optional) Destructor
Definition at line 38 of file CbmMcbm2019CheckDtInDet.cxx.
|
private |
References CbmMcbm2019CheckDtInDet().
|
private |
Logarithmic bining for self time comparison
Parameters are NbDecadesLog, NbStepsDecade, NbSubStepsInStep
Proportion of hits with same time
Per detector
Per channel
Register the histos in the HTTP server
Definition at line 100 of file CbmMcbm2019CheckDtInDet.cxx.
References fBmonBmonDiff, fBmonBmonDiffLog, fBmonBmonDiffPerChan, fBmonBmonSameTime, fMuchMuchDiff, fMuchMuchDiffLog, fMuchMuchDiffPerChan, fMuchMuchSameTime, fPsdPsdDiff, fPsdPsdDiffLog, fPsdPsdDiffPerChan, fPsdPsdSameTime, fRichRichDiff, fRichRichDiffLog, fRichRichDiffPerChan, fRichRichSameTime, fStsStsDiff, fStsStsDiffLog, fStsStsDiffPerChan, fStsStsSameTime, fTofTofDiff, fTofTofDiffLog, fTofTofDiffPerChan, fTofTofSameTime, fTrdTrdDiff, fTrdTrdDiffLog, fTrdTrdDiffPerChan, fTrdTrdSameTime, fuNbChanBmon, fuNbChanMuch, fuNbChanPsd, fuNbChanRich, fuNbChanSts, fuNbChanTof, fuNbChanTrd, and GenerateLogBinArray().
Referenced by Init().
|
virtual |
Executed for each event.
Get nb entries per detector
Check dT in Bmon
Check dT in the other channels
Definition at line 217 of file CbmMcbm2019CheckDtInDet.cxx.
References fBmonBmonDiff, fBmonBmonDiffLog, fBmonBmonSameTime, fBmonDigiArray, fBmonDigiVector, FillHistosPerDet(), fMuchMuchDiff, fMuchMuchDiffLog, fMuchMuchDiffPerChan, fMuchMuchSameTime, fNrTs, fPrevTimeBmon, fPsdPsdDiff, fPsdPsdDiffLog, fPsdPsdDiffPerChan, fPsdPsdSameTime, fRichRichDiff, fRichRichDiffLog, fRichRichDiffPerChan, fRichRichSameTime, fStsStsDiff, fStsStsDiffLog, fStsStsDiffPerChan, fStsStsSameTime, fTofTofDiff, fTofTofDiffLog, fTofTofDiffPerChan, fTofTofSameTime, fTrdTrdDiff, fTrdTrdDiffLog, fTrdTrdDiffPerChan, fTrdTrdSameTime, CbmTofDigi::GetTime(), kMuch, kPsd, kRich, kSts, kTof, kTrd, and WriteHistos().
|
private |
Definition at line 286 of file CbmMcbm2019CheckDtInDet.cxx.
References fDigiMan.
Referenced by Exec().
|
virtual |
Finish task called at the end of the run
Definition at line 375 of file CbmMcbm2019CheckDtInDet.cxx.
References WriteHistos().
|
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 54 of file CbmMcbm2019CheckDtInDet.cxx.
References CreateHistos(), fBmonDigiArray, fBmonDigiVector, fDigiMan, fTimeSliceMetaDataArray, CbmDigiManager::Instance(), kMuch, kPsd, kRich, kSts, kTof, and kTrd.
|
delete |
References CbmMcbm2019CheckDtInDet().
|
virtual |
ReInitiliazation of task when the runID changes
Definition at line 214 of file CbmMcbm2019CheckDtInDet.cxx.
|
inline |
Definition at line 60 of file CbmMcbm2019CheckDtInDet.h.
References fuNbChanBmon.
|
inline |
Definition at line 64 of file CbmMcbm2019CheckDtInDet.h.
References fuNbChanMuch.
|
inline |
Definition at line 72 of file CbmMcbm2019CheckDtInDet.h.
References fuNbChanPsd.
|
inline |
Definition at line 70 of file CbmMcbm2019CheckDtInDet.h.
References fuNbChanRich.
|
inline |
Definition at line 62 of file CbmMcbm2019CheckDtInDet.h.
References fuNbChanSts.
|
inline |
Definition at line 68 of file CbmMcbm2019CheckDtInDet.h.
References fuNbChanTof.
|
inline |
Definition at line 66 of file CbmMcbm2019CheckDtInDet.h.
References fuNbChanTrd.
|
inline |
Definition at line 74 of file CbmMcbm2019CheckDtInDet.h.
References fOutFileName.
|
virtual |
Load the parameter container from the runtime database
Definition at line 41 of file CbmMcbm2019CheckDtInDet.cxx.
|
private |
Definition at line 377 of file CbmMcbm2019CheckDtInDet.cxx.
References fBmonBmonDiff, fBmonBmonDiffLog, fBmonBmonDiffPerChan, fBmonBmonSameTime, fMuchMuchDiff, fMuchMuchDiffLog, fMuchMuchDiffPerChan, fMuchMuchSameTime, fOutFileName, fPsdPsdDiff, fPsdPsdDiffLog, fPsdPsdDiffPerChan, fPsdPsdSameTime, fRichRichDiff, fRichRichDiffLog, fRichRichDiffPerChan, fRichRichSameTime, fStsStsDiff, fStsStsDiffLog, fStsStsDiffPerChan, fStsStsSameTime, fTofTofDiff, fTofTofDiffLog, fTofTofDiffPerChan, fTofTofSameTime, fTrdTrdDiff, fTrdTrdDiffLog, fTrdTrdDiffPerChan, and fTrdTrdSameTime.
|
private |
Definition at line 127 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 135 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 144 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), and WriteHistos().
|
private |
Definition at line 119 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 87 of file CbmMcbm2019CheckDtInDet.h.
|
private |
Definition at line 86 of file CbmMcbm2019CheckDtInDet.h.
|
private |
Digi data
Definition at line 85 of file CbmMcbm2019CheckDtInDet.h.
Referenced by FillHistosPerDet(), and Init().
|
private |
Definition at line 129 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 137 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 146 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 121 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 117 of file CbmMcbm2019CheckDtInDet.h.
Referenced by Exec().
|
private |
Definition at line 153 of file CbmMcbm2019CheckDtInDet.h.
Referenced by SetOutFilename(), and WriteHistos().
|
private |
Variables to store the previous digi time.
Definition at line 100 of file CbmMcbm2019CheckDtInDet.h.
Referenced by Exec().
|
private |
Definition at line 102 of file CbmMcbm2019CheckDtInDet.h.
|
private |
Definition at line 106 of file CbmMcbm2019CheckDtInDet.h.
|
private |
Definition at line 105 of file CbmMcbm2019CheckDtInDet.h.
|
private |
Definition at line 101 of file CbmMcbm2019CheckDtInDet.h.
|
private |
Definition at line 104 of file CbmMcbm2019CheckDtInDet.h.
|
private |
Definition at line 103 of file CbmMcbm2019CheckDtInDet.h.
|
private |
Definition at line 133 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 141 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 150 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 125 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 132 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 140 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 149 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 124 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 128 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 136 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 145 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 120 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 88 of file CbmMcbm2019CheckDtInDet.h.
Referenced by Init().
|
private |
Definition at line 131 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 139 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 148 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 123 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 130 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 138 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 147 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 122 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
User settings: Data correction parameters.
Definition at line 109 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), and SetNbChanBmon().
|
private |
Definition at line 111 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), and SetNbChanMuch().
|
private |
Definition at line 115 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), and SetNbChanPsd().
|
private |
Definition at line 114 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), and SetNbChanRich().
|
private |
Definition at line 110 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), and SetNbChanSts().
|
private |
Definition at line 113 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), and SetNbChanTof().
|
private |
Definition at line 112 of file CbmMcbm2019CheckDtInDet.h.
Referenced by CreateHistos(), and SetNbChanTrd().
|
staticprivate |
Definition at line 96 of file CbmMcbm2019CheckDtInDet.h.
|
staticprivate |
Definition at line 97 of file CbmMcbm2019CheckDtInDet.h.
|
staticprivate |
Definition at line 95 of file CbmMcbm2019CheckDtInDet.h.
|
staticprivate |
Definition at line 94 of file CbmMcbm2019CheckDtInDet.h.
|
staticprivate |
Definition at line 93 of file CbmMcbm2019CheckDtInDet.h.
|
staticprivate |
Constants.
Definition at line 92 of file CbmMcbm2019CheckDtInDet.h.
|
private |
Definition at line 89 of file CbmMcbm2019CheckDtInDet.h.