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 | GetTimeDiffBmon (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 > * | fBmonDigiVec = nullptr |
Interface to digi data. | |
TClonesArray * | fBmonDigiArr {nullptr} |
TClonesArray * | fEvents {nullptr} |
Double_t | fPrevEventTime {0.} |
Int_t | fNrTs {0} |
TH1 * | fEventSize = nullptr |
TH1 * | fEventLength = nullptr |
TH1 * | fEventsPerTS = nullptr |
TH1 * | fBmonInEvent = nullptr |
TH1 * | fStsInEvent = nullptr |
TH1 * | fMuchInEvent = nullptr |
TH1 * | fTofInEvent = nullptr |
TH1 * | fBmonDeltaT = nullptr |
TH1 * | fStsDeltaT = nullptr |
TH1 * | fMuchDeltaT = nullptr |
TH1 * | fTofDeltaT = nullptr |
TH2 * | fEventsvsTS = nullptr |
TProfile * | fLengthvsTS = nullptr |
Definition at line 25 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 154 of file CbmCheckEvents.cxx.
References fBmonDeltaT, fBmonInEvent, fMuchDeltaT, fMuchInEvent, fStsDeltaT, fStsInEvent, fTofDeltaT, fTofInEvent, GetTimeDiff(), GetTimeDiffBmon(), kMuchDigi, kStsDigi, and kTofDigi.
Referenced by Exec().
|
private |
|
private |
Definition at line 98 of file CbmCheckEvents.cxx.
References fBmonDeltaT, fBmonInEvent, fEventLength, fEventSize, fEventsPerTS, fEventsvsTS, fLengthvsTS, fMuchDeltaT, fMuchInEvent, fStsDeltaT, fStsInEvent, fTofDeltaT, and fTofInEvent.
Referenced by Init().
|
virtual |
Executed for each event.
Definition at line 118 of file CbmCheckEvents.cxx.
References AnalyseEvent(), fBmonDigiArr, fBmonDigiVec, fDigiMan, fEventLength, fEvents, fEventSize, fEventsPerTS, fEventsvsTS, fLengthvsTS, fNrTs, CbmDigiManager::GetNofDigis(), kMuch, kSts, and kTof.
|
virtual |
Finish task called at the end of the run
Definition at line 203 of file CbmCheckEvents.cxx.
References fBmonDeltaT, fBmonInEvent, fEventLength, fEventSize, fEventsPerTS, fEventsvsTS, fLengthvsTS, fMuchDeltaT, fMuchInEvent, fStsDeltaT, fStsInEvent, fTofDeltaT, and fTofInEvent.
|
private |
Definition at line 165 of file CbmCheckEvents.cxx.
References fDigiMan, CbmDigiManager::Get(), and size().
Referenced by AnalyseEvent().
|
private |
Definition at line 182 of file CbmCheckEvents.cxx.
References fBmonDigiArr, fBmonDigiVec, CbmTofDigi::GetTime(), kBmonDigi, and size().
Referenced by AnalyseEvent().
|
virtual |
Initialization of task at the beginning of a run
Definition at line 53 of file CbmCheckEvents.cxx.
References CreateHistos(), fBmonDigiArr, fBmonDigiVec, fDigiMan, fEvents, CbmDigiManager::Init(), CbmDigiManager::Instance(), CbmDigiManager::IsPresent(), kMuch, kSts, kTof, and CbmDigiManager::UseMuchBeamTimeDigi().
|
delete |
|
virtual |
ReInitiliazation of task when the runID changes
Definition at line 96 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 87 of file CbmCheckEvents.h.
Referenced by AnalyseEvent(), CreateHistos(), and Finish().
|
private |
Definition at line 69 of file CbmCheckEvents.h.
Referenced by Exec(), GetTimeDiffBmon(), and Init().
|
private |
Interface to digi data.
Bmon is not included in CbmDigiManager, so add it explicitly here
Definition at line 68 of file CbmCheckEvents.h.
Referenced by Exec(), GetTimeDiffBmon(), and Init().
|
private |
Definition at line 82 of file CbmCheckEvents.h.
Referenced by AnalyseEvent(), CreateHistos(), and Finish().
|
private |
Definition at line 66 of file CbmCheckEvents.h.
Referenced by Exec(), GetTimeDiff(), and Init().
|
private |
Definition at line 80 of file CbmCheckEvents.h.
Referenced by CreateHistos(), Exec(), and Finish().
|
private |
Definition at line 70 of file CbmCheckEvents.h.
|
private |
Definition at line 79 of file CbmCheckEvents.h.
Referenced by CreateHistos(), Exec(), and Finish().
|
private |
Definition at line 81 of file CbmCheckEvents.h.
Referenced by CreateHistos(), Exec(), and Finish().
|
private |
Definition at line 92 of file CbmCheckEvents.h.
Referenced by CreateHistos(), Exec(), and Finish().
|
private |
Definition at line 93 of file CbmCheckEvents.h.
Referenced by CreateHistos(), Exec(), and Finish().
|
private |
Definition at line 89 of file CbmCheckEvents.h.
Referenced by AnalyseEvent(), CreateHistos(), and Finish().
|
private |
Definition at line 84 of file CbmCheckEvents.h.
Referenced by AnalyseEvent(), CreateHistos(), and Finish().
|
private |
Definition at line 76 of file CbmCheckEvents.h.
Referenced by Exec().
|
private |
Definition at line 73 of file CbmCheckEvents.h.
|
private |
Definition at line 88 of file CbmCheckEvents.h.
Referenced by AnalyseEvent(), CreateHistos(), and Finish().
|
private |
Definition at line 83 of file CbmCheckEvents.h.
Referenced by AnalyseEvent(), CreateHistos(), and Finish().
|
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().