CbmRoot
|
#include <CbmCheckEvents.h>
Public Member Functions | |
CbmCheckEvents () | |
CbmCheckEvents (const CbmCheckEvents &)=delete | |
CbmCheckEvents | operator= (const CbmCheckEvents &)=delete |
~CbmCheckEvents () | |
virtual InitStatus | Init () |
virtual InitStatus | ReInit () |
virtual void | Exec (Option_t *) |
virtual void | SetParContainers () |
virtual void | Finish () |
Private Member Functions | |
void | CreateHistos () |
void | AnalyseEvent (CbmEvent *event) |
void | GetTimeDiffT0 (CbmEvent *, TH1 *, TH1 *) |
template<class Digi > | |
void | GetTimeDiff (CbmEvent *event, TH1 *, TH1 *, ECbmDataType type) |
ClassDef (CbmCheckEvents, 1) | |
Private Attributes | |
CbmDigiManager * | fDigiMan = nullptr |
const std::vector< CbmTofDigi > * | fT0DigiVec = nullptr |
Interface to digi data. More... | |
TClonesArray * | fT0DigiArr {nullptr} |
TClonesArray * | fEvents {nullptr} |
Double_t | fPrevEventTime {0.} |
Int_t | fNrTs {0} |
TH1 * | fEventSize = nullptr |
TH1 * | fEventLength = nullptr |
TH1 * | fEventsPerTS = nullptr |
TH1 * | fT0InEvent = nullptr |
TH1 * | fStsInEvent = nullptr |
TH1 * | fMuchInEvent = nullptr |
TH1 * | fTofInEvent = nullptr |
TH1 * | fT0DeltaT = nullptr |
TH1 * | fStsDeltaT = nullptr |
TH1 * | fMuchDeltaT = nullptr |
TH1 * | fTofDeltaT = nullptr |
TH2 * | fEventsvsTS = nullptr |
TProfile * | fLengthvsTS = nullptr |
Definition at line 27 of file CbmCheckEvents.h.
CbmCheckEvents::CbmCheckEvents | ( | ) |
Default constructor
Definition at line 34 of file CbmCheckEvents.cxx.
|
delete |
CbmCheckEvents::~CbmCheckEvents | ( | ) |
Constructor with parameters (Optional) Destructor
Definition at line 37 of file CbmCheckEvents.cxx.
|
private |
Definition at line 201 of file CbmCheckEvents.cxx.
References fMuchDeltaT, fMuchInEvent, fStsDeltaT, fStsInEvent, fT0DeltaT, fT0InEvent, fTofDeltaT, fTofInEvent, GetTimeDiffT0(), kMuchDigi, kStsDigi, and kTofDigi.
Referenced by Exec().
|
private |
|
private |
Definition at line 93 of file CbmCheckEvents.cxx.
References fEventLength, fEventSize, fEventsPerTS, fEventsvsTS, fLengthvsTS, fMuchDeltaT, fMuchInEvent, fStsDeltaT, fStsInEvent, fT0DeltaT, fT0InEvent, fTofDeltaT, and fTofInEvent.
Referenced by Init().
|
virtual |
Executed for each event.
Definition at line 165 of file CbmCheckEvents.cxx.
References AnalyseEvent(), fDigiMan, fEventLength, fEvents, fEventSize, fEventsPerTS, fEventsvsTS, fLengthvsTS, fNrTs, fT0DigiArr, fT0DigiVec, CbmDigiManager::GetNofDigis(), kMuch, kSts, and kTof.
|
virtual |
Finish task called at the end of the run
Definition at line 254 of file CbmCheckEvents.cxx.
References fEventLength, fEventSize, fEventsPerTS, fEventsvsTS, fLengthvsTS, fMuchDeltaT, fMuchInEvent, fStsDeltaT, fStsInEvent, fT0DeltaT, fT0InEvent, fTofDeltaT, and fTofInEvent.
|
private |
Definition at line 214 of file CbmCheckEvents.cxx.
References fDigiMan, and CbmDigiManager::Get().
|
private |
Definition at line 233 of file CbmCheckEvents.cxx.
References fT0DigiArr, fT0DigiVec, CbmTofDigi::GetTime(), and kT0Digi.
Referenced by AnalyseEvent().
|
virtual |
Initialization of task at the beginning of a run
Definition at line 52 of file CbmCheckEvents.cxx.
References CreateHistos(), fDigiMan, fEvents, fT0DigiArr, fT0DigiVec, CbmDigiManager::Init(), CbmDigiManager::Instance(), CbmDigiManager::IsPresent(), kMuch, kSts, kTof, and CbmDigiManager::UseMuchBeamTimeDigi().
|
delete |
|
virtual |
ReInitiliazation of task when the runID changes
Definition at line 91 of file CbmCheckEvents.cxx.
|
virtual |
Load the parameter container from the runtime database
Definition at line 40 of file CbmCheckEvents.cxx.
|
private |
Definition at line 68 of file CbmCheckEvents.h.
Referenced by Exec(), GetTimeDiff(), and Init().
|
private |
Definition at line 82 of file CbmCheckEvents.h.
Referenced by CreateHistos(), Exec(), and Finish().
|
private |
Definition at line 72 of file CbmCheckEvents.h.
|
private |
Definition at line 81 of file CbmCheckEvents.h.
Referenced by CreateHistos(), Exec(), and Finish().
|
private |
Definition at line 83 of file CbmCheckEvents.h.
Referenced by CreateHistos(), Exec(), and Finish().
|
private |
Definition at line 94 of file CbmCheckEvents.h.
Referenced by CreateHistos(), Exec(), and Finish().
|
private |
Definition at line 95 of file CbmCheckEvents.h.
Referenced by CreateHistos(), Exec(), and Finish().
|
private |
Definition at line 91 of file CbmCheckEvents.h.
Referenced by AnalyseEvent(), CreateHistos(), and Finish().
|
private |
Definition at line 86 of file CbmCheckEvents.h.
Referenced by AnalyseEvent(), CreateHistos(), and Finish().
|
private |
Definition at line 78 of file CbmCheckEvents.h.
Referenced by Exec().
|
private |
Definition at line 75 of file CbmCheckEvents.h.
|
private |
Definition at line 90 of file CbmCheckEvents.h.
Referenced by AnalyseEvent(), CreateHistos(), and Finish().
|
private |
Definition at line 85 of file CbmCheckEvents.h.
Referenced by AnalyseEvent(), CreateHistos(), and Finish().
|
private |
Definition at line 89 of file CbmCheckEvents.h.
Referenced by AnalyseEvent(), CreateHistos(), and Finish().
|
private |
Definition at line 71 of file CbmCheckEvents.h.
Referenced by Exec(), GetTimeDiffT0(), and Init().
|
private |
Interface to digi data.
T0 is not included in CbmDigiManager, so add it explicitly here
Definition at line 70 of file CbmCheckEvents.h.
Referenced by Exec(), GetTimeDiffT0(), and Init().
|
private |
Definition at line 84 of file CbmCheckEvents.h.
Referenced by AnalyseEvent(), CreateHistos(), and Finish().
|
private |
Definition at line 92 of file CbmCheckEvents.h.
Referenced by AnalyseEvent(), CreateHistos(), and Finish().
|
private |
Definition at line 87 of file CbmCheckEvents.h.
Referenced by AnalyseEvent(), CreateHistos(), and Finish().