CbmRoot
Loading...
Searching...
No Matches
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 GetTimeDiffBmon (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 > * 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
 

Detailed Description

Definition at line 25 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 ,
1  )
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 203 of file CbmCheckEvents.cxx.

References fBmonDeltaT, fBmonInEvent, fEventLength, fEventSize, fEventsPerTS, fEventsvsTS, fLengthvsTS, fMuchDeltaT, fMuchInEvent, fStsDeltaT, fStsInEvent, fTofDeltaT, and fTofInEvent.

◆ GetTimeDiff()

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

Definition at line 165 of file CbmCheckEvents.cxx.

References fDigiMan, CbmDigiManager::Get(), and size().

Referenced by AnalyseEvent().

◆ GetTimeDiffBmon()

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

Definition at line 182 of file CbmCheckEvents.cxx.

References fBmonDigiArr, fBmonDigiVec, CbmTofDigi::GetTime(), kBmonDigi, and size().

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 96 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

◆ fBmonDeltaT

TH1* CbmCheckEvents::fBmonDeltaT = nullptr
private

Definition at line 87 of file CbmCheckEvents.h.

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

◆ fBmonDigiArr

TClonesArray* CbmCheckEvents::fBmonDigiArr {nullptr}
private

Definition at line 69 of file CbmCheckEvents.h.

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

◆ fBmonDigiVec

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

◆ fBmonInEvent

TH1* CbmCheckEvents::fBmonInEvent = nullptr
private

Definition at line 82 of file CbmCheckEvents.h.

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

◆ fDigiMan

CbmDigiManager* CbmCheckEvents::fDigiMan = nullptr
private

Definition at line 66 of file CbmCheckEvents.h.

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

◆ fEventLength

TH1* CbmCheckEvents::fEventLength = nullptr
private

Definition at line 80 of file CbmCheckEvents.h.

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

◆ fEvents

TClonesArray* CbmCheckEvents::fEvents {nullptr}
private

Definition at line 70 of file CbmCheckEvents.h.

Referenced by Exec(), and Init().

◆ fEventSize

TH1* CbmCheckEvents::fEventSize = nullptr
private

Definition at line 79 of file CbmCheckEvents.h.

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

◆ fEventsPerTS

TH1* CbmCheckEvents::fEventsPerTS = nullptr
private

Definition at line 81 of file CbmCheckEvents.h.

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

◆ fEventsvsTS

TH2* CbmCheckEvents::fEventsvsTS = nullptr
private

Definition at line 92 of file CbmCheckEvents.h.

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

◆ fLengthvsTS

TProfile* CbmCheckEvents::fLengthvsTS = nullptr
private

Definition at line 93 of file CbmCheckEvents.h.

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

◆ fMuchDeltaT

TH1* CbmCheckEvents::fMuchDeltaT = nullptr
private

Definition at line 89 of file CbmCheckEvents.h.

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

◆ fMuchInEvent

TH1* CbmCheckEvents::fMuchInEvent = nullptr
private

Definition at line 84 of file CbmCheckEvents.h.

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

◆ fNrTs

Int_t CbmCheckEvents::fNrTs {0}
private

Definition at line 76 of file CbmCheckEvents.h.

Referenced by Exec().

◆ fPrevEventTime

Double_t CbmCheckEvents::fPrevEventTime {0.}
private

Definition at line 73 of file CbmCheckEvents.h.

◆ fStsDeltaT

TH1* CbmCheckEvents::fStsDeltaT = nullptr
private

Definition at line 88 of file CbmCheckEvents.h.

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

◆ fStsInEvent

TH1* CbmCheckEvents::fStsInEvent = nullptr
private

Definition at line 83 of file CbmCheckEvents.h.

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

◆ fTofDeltaT

TH1* CbmCheckEvents::fTofDeltaT = nullptr
private

Definition at line 90 of file CbmCheckEvents.h.

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

◆ fTofInEvent

TH1* CbmCheckEvents::fTofInEvent = nullptr
private

Definition at line 85 of file CbmCheckEvents.h.

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


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