CbmRoot
CbmCheckEvents Class Reference

#include <CbmCheckEvents.h>

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

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

CbmDigiManagerfDigiMan = 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
 

Detailed Description

Definition at line 27 of file CbmCheckEvents.h.

Constructor & Destructor Documentation

◆ CbmCheckEvents() [1/2]

CbmCheckEvents::CbmCheckEvents ( )

Default constructor

Definition at line 34 of file CbmCheckEvents.cxx.

◆ CbmCheckEvents() [2/2]

CbmCheckEvents::CbmCheckEvents ( const CbmCheckEvents )
delete

◆ ~CbmCheckEvents()

CbmCheckEvents::~CbmCheckEvents ( )

Constructor with parameters (Optional) Destructor

Definition at line 37 of file CbmCheckEvents.cxx.

Member Function Documentation

◆ AnalyseEvent()

void CbmCheckEvents::AnalyseEvent ( CbmEvent event)
private

◆ ClassDef()

CbmCheckEvents::ClassDef ( CbmCheckEvents  ,
 
)
private

◆ CreateHistos()

void CbmCheckEvents::CreateHistos ( )
private

◆ Exec()

void CbmCheckEvents::Exec ( Option_t *  )
virtual

◆ Finish()

void CbmCheckEvents::Finish ( )
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.

◆ GetTimeDiff()

template<class Digi >
void CbmCheckEvents::GetTimeDiff ( CbmEvent event,
TH1 *  deltaT,
TH1 *  size,
ECbmDataType  type 
)
private

Definition at line 214 of file CbmCheckEvents.cxx.

References fDigiMan, and CbmDigiManager::Get().

◆ GetTimeDiffT0()

void CbmCheckEvents::GetTimeDiffT0 ( CbmEvent event,
TH1 *  deltaT,
TH1 *  size 
)
private

Definition at line 233 of file CbmCheckEvents.cxx.

References fT0DigiArr, fT0DigiVec, CbmTofDigi::GetTime(), and kT0Digi.

Referenced by AnalyseEvent().

◆ Init()

InitStatus CbmCheckEvents::Init ( )
virtual

◆ operator=()

CbmCheckEvents CbmCheckEvents::operator= ( const CbmCheckEvents )
delete

◆ ReInit()

InitStatus CbmCheckEvents::ReInit ( )
virtual

ReInitiliazation of task when the runID changes

Definition at line 91 of file CbmCheckEvents.cxx.

◆ SetParContainers()

void CbmCheckEvents::SetParContainers ( )
virtual

Load the parameter container from the runtime database

Definition at line 40 of file CbmCheckEvents.cxx.

Member Data Documentation

◆ fDigiMan

CbmDigiManager* CbmCheckEvents::fDigiMan = nullptr
private

Definition at line 68 of file CbmCheckEvents.h.

Referenced by Exec(), GetTimeDiff(), and Init().

◆ fEventLength

TH1* CbmCheckEvents::fEventLength = nullptr
private

Definition at line 82 of file CbmCheckEvents.h.

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

◆ fEvents

TClonesArray* CbmCheckEvents::fEvents {nullptr}
private

Definition at line 72 of file CbmCheckEvents.h.

Referenced by Exec(), and Init().

◆ fEventSize

TH1* CbmCheckEvents::fEventSize = nullptr
private

Definition at line 81 of file CbmCheckEvents.h.

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

◆ fEventsPerTS

TH1* CbmCheckEvents::fEventsPerTS = nullptr
private

Definition at line 83 of file CbmCheckEvents.h.

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

◆ fEventsvsTS

TH2* CbmCheckEvents::fEventsvsTS = nullptr
private

Definition at line 94 of file CbmCheckEvents.h.

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

◆ fLengthvsTS

TProfile* CbmCheckEvents::fLengthvsTS = nullptr
private

Definition at line 95 of file CbmCheckEvents.h.

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

◆ fMuchDeltaT

TH1* CbmCheckEvents::fMuchDeltaT = nullptr
private

Definition at line 91 of file CbmCheckEvents.h.

Referenced by AnalyseEvent(), CreateHistos(), and Finish().

◆ fMuchInEvent

TH1* CbmCheckEvents::fMuchInEvent = nullptr
private

Definition at line 86 of file CbmCheckEvents.h.

Referenced by AnalyseEvent(), CreateHistos(), and Finish().

◆ fNrTs

Int_t CbmCheckEvents::fNrTs {0}
private

Definition at line 78 of file CbmCheckEvents.h.

Referenced by Exec().

◆ fPrevEventTime

Double_t CbmCheckEvents::fPrevEventTime {0.}
private

Definition at line 75 of file CbmCheckEvents.h.

◆ fStsDeltaT

TH1* CbmCheckEvents::fStsDeltaT = nullptr
private

Definition at line 90 of file CbmCheckEvents.h.

Referenced by AnalyseEvent(), CreateHistos(), and Finish().

◆ fStsInEvent

TH1* CbmCheckEvents::fStsInEvent = nullptr
private

Definition at line 85 of file CbmCheckEvents.h.

Referenced by AnalyseEvent(), CreateHistos(), and Finish().

◆ fT0DeltaT

TH1* CbmCheckEvents::fT0DeltaT = nullptr
private

Definition at line 89 of file CbmCheckEvents.h.

Referenced by AnalyseEvent(), CreateHistos(), and Finish().

◆ fT0DigiArr

TClonesArray* CbmCheckEvents::fT0DigiArr {nullptr}
private

Definition at line 71 of file CbmCheckEvents.h.

Referenced by Exec(), GetTimeDiffT0(), and Init().

◆ fT0DigiVec

const std::vector<CbmTofDigi>* CbmCheckEvents::fT0DigiVec = nullptr
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().

◆ fT0InEvent

TH1* CbmCheckEvents::fT0InEvent = nullptr
private

Definition at line 84 of file CbmCheckEvents.h.

Referenced by AnalyseEvent(), CreateHistos(), and Finish().

◆ fTofDeltaT

TH1* CbmCheckEvents::fTofDeltaT = nullptr
private

Definition at line 92 of file CbmCheckEvents.h.

Referenced by AnalyseEvent(), CreateHistos(), and Finish().

◆ fTofInEvent

TH1* CbmCheckEvents::fTofInEvent = nullptr
private

Definition at line 87 of file CbmCheckEvents.h.

Referenced by AnalyseEvent(), CreateHistos(), and Finish().


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