CbmRoot
|
#include <CbmCheckDigisNbCorr.h>
Public Member Functions | |
CbmCheckDigisNbCorr () | |
CbmCheckDigisNbCorr (const CbmCheckDigisNbCorr &)=delete | |
CbmCheckDigisNbCorr | operator= (const CbmCheckDigisNbCorr &)=delete |
~CbmCheckDigisNbCorr () | |
virtual InitStatus | Init () |
virtual InitStatus | ReInit () |
virtual void | Exec (Option_t *) |
virtual void | SetParContainers () |
virtual void | Finish () |
void | SetStsOffset (Double_t dval=1600) |
void | SetMuchOffset (Double_t dval=1600) |
void | SetTofOffset (Double_t dval=50) |
void | SetRichOffset (Double_t dval=1200) |
void | SetTimeInterval (Double_t dInterNs, Double_t dTsInNs) |
void | SetT0PulserTotLimits (UInt_t uMin, UInt_t uMax) |
void | SetOutFilename (TString sNameIn) |
Private Member Functions | |
void | CalcNrBins () |
void | CreateHistos () |
void | WriteHistos () |
ClassDef (CbmCheckDigisNbCorr, 1) | |
Private Attributes | |
TClonesArray * | fTsMetaData = nullptr |
CbmDigiManager * | fDigiMan = nullptr |
const std::vector< CbmTofDigi > * | fT0DigiVec = nullptr |
Interface to digi data. More... | |
TClonesArray * | fT0DigiArr {nullptr} |
UInt_t | fuMinTotPulserT0 |
User settings: Data correction parameters. More... | |
UInt_t | fuMaxTotPulserT0 |
Int_t | fNrTs = 0 |
Int_t | fNrOfT0Errors = 0 |
Int_t | fNrOfT0Digis = 0 |
Int_t | fNrOfStsErrors = 0 |
Int_t | fNrOfStsDigis = 0 |
Int_t | fNrOfMuchErrors = 0 |
Int_t | fNrOfMuchDigis = 0 |
Int_t | fNrOfTofErrors = 0 |
Int_t | fNrOfTofDigis = 0 |
Int_t | fNrOfRichErrors = 0 |
Int_t | fNrOfRichDigis = 0 |
Double_t | fdStsOffset = 0.0 |
Double_t | fdMuchOffset = 0.0 |
Double_t | fdTofOffset = 0.0 |
Double_t | fdRichOffset = 0.0 |
Double_t | fdTsLengthNs = 100 * 102e3 |
Double_t | fdBinWidthNs = 10e3 |
Int_t | fiBinNb = fdTsLengthNs / fdBinWidthNs |
Double_t | fdTsStartOffset = 0 |
std::vector< UInt_t > | fvuNbDigisPerBinT0 |
std::vector< UInt_t > | fvuNbDigisPerBinSts |
std::vector< UInt_t > | fvuNbDigisPerBinMuch |
std::vector< UInt_t > | fvuNbDigisPerBinTof |
std::vector< UInt_t > | fvuNbDigisPerBinRich |
TH2 * | fT0StsCorr = nullptr |
TH2 * | fT0MuchCorr = nullptr |
TH2 * | fT0TofCorr = nullptr |
TH2 * | fT0RichCorr = nullptr |
TH2 * | fStsMuchCorr = nullptr |
TH2 * | fStsTofCorr = nullptr |
TH2 * | fStsRichCorr = nullptr |
TH2 * | fMuchTofCorr = nullptr |
TH2 * | fMuchRichCorr = nullptr |
TH2 * | fTofRichCorr = nullptr |
TProfile * | fT0StsCorrProf = nullptr |
TProfile * | fT0MuchCorrProf = nullptr |
TProfile * | fT0TofCorrProf = nullptr |
TProfile * | fT0RichCorrProf = nullptr |
TProfile * | fStsMuchCorrProf = nullptr |
TProfile * | fStsTofCorrProf = nullptr |
TProfile * | fStsRichCorrProf = nullptr |
TProfile * | fMuchTofCorrProf = nullptr |
TProfile * | fMuchRichCorrProf = nullptr |
TProfile * | fTofRichCorrProf = nullptr |
std::vector< std::vector< UInt_t > > | fvuNbDigisPerBinStsDpb |
TH2 * | fT0StsDpbCorr [kuMaxNbStsDpbs] |
TH2 * | fStsMuchDpbCorr [kuMaxNbStsDpbs] |
TH2 * | fStsTofDpbCorr [kuMaxNbStsDpbs] |
TH2 * | fStsRichDpbCorr [kuMaxNbStsDpbs] |
TProfile * | fT0StsDpbCorrProf [kuMaxNbStsDpbs] |
TProfile * | fStsMuchDpbCorrProf [kuMaxNbStsDpbs] |
TProfile * | fStsTofDpbCorrProf [kuMaxNbStsDpbs] |
TProfile * | fStsRichDpbCorrProf [kuMaxNbStsDpbs] |
TString | fOutFileName {"HistosCheckDigisNbCorr.root"} |
Static Private Attributes | |
static const UInt_t | kuMaxNbStsDpbs = 2 |
Definition at line 23 of file CbmCheckDigisNbCorr.h.
CbmCheckDigisNbCorr::CbmCheckDigisNbCorr | ( | ) |
Default constructor
Definition at line 35 of file CbmCheckDigisNbCorr.cxx.
|
delete |
CbmCheckDigisNbCorr::~CbmCheckDigisNbCorr | ( | ) |
Constructor with parameters (Optional) Destructor
Definition at line 43 of file CbmCheckDigisNbCorr.cxx.
|
private |
Definition at line 99 of file CbmCheckDigisNbCorr.cxx.
References fdBinWidthNs, fdTsLengthNs, and fiBinNb.
Referenced by CreateHistos().
|
private |
|
private |
Resize storage array
2D correlations between systems
Profile correlations between systems
Register the histos in the HTTP server
2D correlations between systems
Profile correlations between systems
Definition at line 103 of file CbmCheckDigisNbCorr.cxx.
References CalcNrBins(), fdBinWidthNs, fiBinNb, fMuchRichCorr, fMuchRichCorrProf, fMuchTofCorr, fMuchTofCorrProf, fStsMuchCorr, fStsMuchCorrProf, fStsMuchDpbCorr, fStsMuchDpbCorrProf, fStsRichCorr, fStsRichCorrProf, fStsRichDpbCorr, fStsRichDpbCorrProf, fStsTofCorr, fStsTofCorrProf, fStsTofDpbCorr, fStsTofDpbCorrProf, fT0MuchCorr, fT0MuchCorrProf, fT0RichCorr, fT0RichCorrProf, fT0StsCorr, fT0StsCorrProf, fT0StsDpbCorr, fT0StsDpbCorrProf, fT0TofCorr, fT0TofCorrProf, fTofRichCorr, fTofRichCorrProf, fvuNbDigisPerBinMuch, fvuNbDigisPerBinRich, fvuNbDigisPerBinSts, fvuNbDigisPerBinStsDpb, fvuNbDigisPerBinT0, fvuNbDigisPerBinTof, and kuMaxNbStsDpbs.
Referenced by Init().
|
virtual |
Executed for each event.
Initialize the counters for each bin
Loop on digis for each detector and counts digis in proper bin T0
Ignore pulser hits in T0
Jump hits with time before start of TS after offseting
Stop on first hit with time after end of TS after offseting
Increase count in corresponding bin
STS
Jump hits with time before start of TS after offseting
Stop on first hit with time after end of TS after offseting
Increase count in corresponding bin
MUCH
Jump hits with time before start of TS after offseting
Stop on first hit with time after end of TS after offseting
Increase count in corresponding bin
TOF
Ignore pulser hits in TOF
Jump hits with time before start of TS after offseting
Stop on first hit with time after end of TS after offseting
Increase count in corresponding bin
RICH
Jump hits with time before start of TS after offseting
Stop on first hit with time after end of TS after offseting
Increase count in corresponding bin
Fill the histograms for each bin
2D & Profiles
Definition at line 477 of file CbmCheckDigisNbCorr.cxx.
References fdBinWidthNs, fDigiMan, fdMuchOffset, fdRichOffset, fdStsOffset, fdTofOffset, fdTsLengthNs, fiBinNb, fMuchRichCorr, fMuchRichCorrProf, fMuchTofCorr, fMuchTofCorrProf, fNrTs, fStsMuchCorr, fStsMuchCorrProf, fStsMuchDpbCorr, fStsMuchDpbCorrProf, fStsRichCorr, fStsRichCorrProf, fStsRichDpbCorr, fStsRichDpbCorrProf, fStsTofCorr, fStsTofCorrProf, fStsTofDpbCorr, fStsTofDpbCorrProf, fT0DigiArr, fT0DigiVec, fT0MuchCorr, fT0MuchCorrProf, fT0RichCorr, fT0RichCorrProf, fT0StsCorr, fT0StsCorrProf, fT0StsDpbCorr, fT0StsDpbCorrProf, fT0TofCorr, fT0TofCorrProf, fTofRichCorr, fTofRichCorrProf, fTsMetaData, fuMaxTotPulserT0, fvuNbDigisPerBinMuch, fvuNbDigisPerBinRich, fvuNbDigisPerBinSts, fvuNbDigisPerBinStsDpb, fvuNbDigisPerBinT0, fvuNbDigisPerBinTof, CbmDigiManager::Get(), CbmStsDigi::GetAddress(), CbmTofDigi::GetCharge(), CbmDigiManager::GetNofDigis(), CbmRichDigi::GetTime(), CbmMuchDigi::GetTime(), CbmStsDigi::GetTime(), CbmTofDigi::GetTime(), kMuch, kRich, kSts, kTof, and kuMaxNbStsDpbs.
|
virtual |
Finish task called at the end of the run
Definition at line 698 of file CbmCheckDigisNbCorr.cxx.
References WriteHistos().
|
virtual |
Initiliazation of task at the beginning of a run
Definition at line 58 of file CbmCheckDigisNbCorr.cxx.
References CreateHistos(), fDigiMan, fT0DigiArr, fT0DigiVec, fTsMetaData, CbmDigiManager::Init(), CbmDigiManager::Instance(), CbmDigiManager::IsPresent(), kMuch, kRich, kSts, and kTof.
|
delete |
|
virtual |
ReInitiliazation of task when the runID changes
Definition at line 474 of file CbmCheckDigisNbCorr.cxx.
|
inline |
Definition at line 57 of file CbmCheckDigisNbCorr.h.
References fdMuchOffset.
|
inline |
Definition at line 73 of file CbmCheckDigisNbCorr.h.
References fOutFileName.
|
virtual |
Load the parameter container from the runtime database
Definition at line 46 of file CbmCheckDigisNbCorr.cxx.
|
inline |
Definition at line 61 of file CbmCheckDigisNbCorr.h.
References fdRichOffset.
|
inline |
Definition at line 55 of file CbmCheckDigisNbCorr.h.
References fdStsOffset.
|
inline |
Definition at line 68 of file CbmCheckDigisNbCorr.h.
References fuMaxTotPulserT0, and fuMinTotPulserT0.
|
inline |
Definition at line 63 of file CbmCheckDigisNbCorr.h.
References fdBinWidthNs, and fdTsLengthNs.
|
inline |
Definition at line 59 of file CbmCheckDigisNbCorr.h.
References fdTofOffset.
|
private |
2D
Profiles
Definition at line 700 of file CbmCheckDigisNbCorr.cxx.
References fMuchRichCorr, fMuchRichCorrProf, fMuchTofCorr, fMuchTofCorrProf, fOutFileName, fStsMuchCorr, fStsMuchCorrProf, fStsMuchDpbCorr, fStsMuchDpbCorrProf, fStsRichCorr, fStsRichCorrProf, fStsRichDpbCorr, fStsRichDpbCorrProf, fStsTofCorr, fStsTofCorrProf, fStsTofDpbCorr, fStsTofDpbCorrProf, fT0MuchCorr, fT0MuchCorrProf, fT0RichCorr, fT0RichCorrProf, fT0StsCorr, fT0StsCorrProf, fT0StsDpbCorr, fT0StsDpbCorrProf, fT0TofCorr, fT0TofCorrProf, fTofRichCorr, fTofRichCorrProf, and kuMaxNbStsDpbs.
Referenced by Finish().
|
private |
Definition at line 112 of file CbmCheckDigisNbCorr.h.
Referenced by CalcNrBins(), CreateHistos(), Exec(), and SetTimeInterval().
|
private |
Definition at line 83 of file CbmCheckDigisNbCorr.h.
|
private |
Definition at line 107 of file CbmCheckDigisNbCorr.h.
Referenced by Exec(), and SetMuchOffset().
|
private |
Definition at line 109 of file CbmCheckDigisNbCorr.h.
Referenced by Exec(), and SetRichOffset().
|
private |
Definition at line 106 of file CbmCheckDigisNbCorr.h.
Referenced by Exec(), and SetStsOffset().
|
private |
Definition at line 108 of file CbmCheckDigisNbCorr.h.
Referenced by Exec(), and SetTofOffset().
|
private |
Definition at line 111 of file CbmCheckDigisNbCorr.h.
Referenced by CalcNrBins(), Exec(), and SetTimeInterval().
|
private |
Definition at line 114 of file CbmCheckDigisNbCorr.h.
|
private |
Definition at line 113 of file CbmCheckDigisNbCorr.h.
Referenced by CalcNrBins(), CreateHistos(), and Exec().
|
private |
Definition at line 132 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 146 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 131 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 145 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 100 of file CbmCheckDigisNbCorr.h.
|
private |
Definition at line 99 of file CbmCheckDigisNbCorr.h.
|
private |
Definition at line 104 of file CbmCheckDigisNbCorr.h.
|
private |
Definition at line 103 of file CbmCheckDigisNbCorr.h.
|
private |
Definition at line 98 of file CbmCheckDigisNbCorr.h.
|
private |
Definition at line 97 of file CbmCheckDigisNbCorr.h.
|
private |
Definition at line 96 of file CbmCheckDigisNbCorr.h.
|
private |
Definition at line 95 of file CbmCheckDigisNbCorr.h.
|
private |
Definition at line 102 of file CbmCheckDigisNbCorr.h.
|
private |
Definition at line 101 of file CbmCheckDigisNbCorr.h.
|
private |
Definition at line 93 of file CbmCheckDigisNbCorr.h.
Referenced by Exec().
|
private |
Definition at line 165 of file CbmCheckDigisNbCorr.h.
Referenced by SetOutFilename(), and WriteHistos().
|
private |
Definition at line 127 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 141 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 153 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 157 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 129 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 143 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 155 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 159 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 128 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 142 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 154 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 158 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 86 of file CbmCheckDigisNbCorr.h.
|
private |
Interface to digi data.
T0 is not included in CbmDigiManager, so add it explicitly here
Definition at line 85 of file CbmCheckDigisNbCorr.h.
|
private |
Definition at line 123 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 137 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 125 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 139 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 122 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 136 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 152 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 156 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 124 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 138 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 134 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Definition at line 148 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().
|
private |
Input array from previous already existing data level
Definition at line 82 of file CbmCheckDigisNbCorr.h.
|
private |
Definition at line 90 of file CbmCheckDigisNbCorr.h.
Referenced by Exec(), and SetT0PulserTotLimits().
|
private |
User settings: Data correction parameters.
Definition at line 89 of file CbmCheckDigisNbCorr.h.
Referenced by SetT0PulserTotLimits().
|
private |
Definition at line 118 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), and Exec().
|
private |
Definition at line 120 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), and Exec().
|
private |
Definition at line 117 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), and Exec().
|
private |
Definition at line 151 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), and Exec().
|
private |
Definition at line 116 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), and Exec().
|
private |
Definition at line 119 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), and Exec().
|
staticprivate |
Definition at line 150 of file CbmCheckDigisNbCorr.h.
Referenced by CreateHistos(), Exec(), and WriteHistos().