CbmRoot
Loading...
Searching...
No Matches
CbmMcbm2019CheckDtInDet Class Reference

#include <CbmMcbm2019CheckDtInDet.h>

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

Public Member Functions

 CbmMcbm2019CheckDtInDet ()
 
 CbmMcbm2019CheckDtInDet (const CbmMcbm2019CheckDtInDet &)=delete
 
CbmMcbm2019CheckDtInDet operator= (const CbmMcbm2019CheckDtInDet &)=delete
 
 ~CbmMcbm2019CheckDtInDet ()
 
virtual InitStatus Init ()
 
virtual InitStatus ReInit ()
 
virtual void Exec (Option_t *)
 
virtual void SetParContainers ()
 
virtual void Finish ()
 
void SetNbChanBmon (Int_t val=8)
 
void SetNbChanSts (Int_t val=5120)
 
void SetNbChanMuch (Int_t val=1000)
 
void SetNbChanTrd (Int_t val=1000)
 
void SetNbChanTof (Int_t val=1000)
 
void SetNbChanRich (Int_t val=1000)
 
void SetNbChanPsd (Int_t val=1000)
 
void SetOutFilename (TString sNameIn)
 

Private Member Functions

template<class Digi >
void FillHistosPerDet (TH1 *histoSameTime, TH1 *histoDt, TH1 *histoDtLog, TH2 *histoDtPerChan, ECbmModuleId iDetId=ECbmModuleId::kLastModule)
 
void CreateHistos ()
 
void WriteHistos ()
 
 ClassDef (CbmMcbm2019CheckDtInDet, 1)
 

Private Attributes

CbmDigiManagerfDigiMan = nullptr
 
const std::vector< CbmTofDigi > * fBmonDigiVector = nullptr
 
TClonesArray * fBmonDigiArray = nullptr
 
TClonesArray * fTimeSliceMetaDataArray = nullptr
 
const TimesliceMetaDatapTsMetaData = nullptr
 
Double_t fPrevTimeBmon = 0.
 Variables to store the previous digi time.
 
Double_t fPrevTimeSts = 0.
 
Double_t fPrevTimeMuch = 0.
 
Double_t fPrevTimeTrd = 0.
 
Double_t fPrevTimeTof = 0.
 
Double_t fPrevTimeRich = 0.
 
Double_t fPrevTimePsd = 0.
 
UInt_t fuNbChanBmon = 8
 User settings: Data correction parameters.
 
UInt_t fuNbChanSts = 5120
 
UInt_t fuNbChanMuch = 5120
 
UInt_t fuNbChanTrd = 5120
 
UInt_t fuNbChanTof = 5120
 
UInt_t fuNbChanRich = 5120
 
UInt_t fuNbChanPsd = 5120
 
Int_t fNrTs = 0
 
TH1 * fBmonBmonSameTime = nullptr
 
TH1 * fStsStsSameTime = nullptr
 
TH1 * fMuchMuchSameTime = nullptr
 
TH1 * fTrdTrdSameTime = nullptr
 
TH1 * fTofTofSameTime = nullptr
 
TH1 * fRichRichSameTime = nullptr
 
TH1 * fPsdPsdSameTime = nullptr
 
TH1 * fBmonBmonDiff = nullptr
 
TH1 * fStsStsDiff = nullptr
 
TH1 * fMuchMuchDiff = nullptr
 
TH1 * fTrdTrdDiff = nullptr
 
TH1 * fTofTofDiff = nullptr
 
TH1 * fRichRichDiff = nullptr
 
TH1 * fPsdPsdDiff = nullptr
 
TH1 * fBmonBmonDiffLog = nullptr
 
TH1 * fStsStsDiffLog = nullptr
 
TH1 * fMuchMuchDiffLog = nullptr
 
TH1 * fTrdTrdDiffLog = nullptr
 
TH1 * fTofTofDiffLog = nullptr
 
TH1 * fRichRichDiffLog = nullptr
 
TH1 * fPsdPsdDiffLog = nullptr
 
TH2 * fBmonBmonDiffPerChan = nullptr
 
TH2 * fStsStsDiffPerChan = nullptr
 
TH2 * fMuchMuchDiffPerChan = nullptr
 
TH2 * fTrdTrdDiffPerChan = nullptr
 
TH2 * fTofTofDiffPerChan = nullptr
 
TH2 * fRichRichDiffPerChan = nullptr
 
TH2 * fPsdPsdDiffPerChan = nullptr
 
TString fOutFileName {"data/HistosDtInDet.root"}
 

Static Private Attributes

static const UInt_t kuNbChanSMX = 128
 Constants.
 
static const UInt_t kuMaxNbStsDpbs = 2
 
static const UInt_t kuMaxNbMuchDpbs = 6
 
static const UInt_t kuMaxNbMuchAsics = 36
 
static const UInt_t kuDefaultAddress = 0xFFFFFFFF
 
static const UInt_t kuMaxChannelSts = 3000
 

Detailed Description

Definition at line 29 of file CbmMcbm2019CheckDtInDet.h.

Constructor & Destructor Documentation

◆ CbmMcbm2019CheckDtInDet() [1/2]

CbmMcbm2019CheckDtInDet::CbmMcbm2019CheckDtInDet ( )

Definition at line 35 of file CbmMcbm2019CheckDtInDet.cxx.

◆ CbmMcbm2019CheckDtInDet() [2/2]

CbmMcbm2019CheckDtInDet::CbmMcbm2019CheckDtInDet ( const CbmMcbm2019CheckDtInDet & )
delete

◆ ~CbmMcbm2019CheckDtInDet()

CbmMcbm2019CheckDtInDet::~CbmMcbm2019CheckDtInDet ( )

Constructor with parameters (Optional) Destructor

Definition at line 38 of file CbmMcbm2019CheckDtInDet.cxx.

Member Function Documentation

◆ ClassDef()

CbmMcbm2019CheckDtInDet::ClassDef ( CbmMcbm2019CheckDtInDet ,
1  )
private

◆ CreateHistos()

void CbmMcbm2019CheckDtInDet::CreateHistos ( )
private

◆ Exec()

◆ FillHistosPerDet()

template<class Digi >
void CbmMcbm2019CheckDtInDet::FillHistosPerDet ( TH1 * histoSameTime,
TH1 * histoDt,
TH1 * histoDtLog,
TH2 * histoDtPerChan,
ECbmModuleId iDetId = ECbmModuleId::kLastModule )
private

Definition at line 286 of file CbmMcbm2019CheckDtInDet.cxx.

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

Referenced by Exec().

◆ Finish()

void CbmMcbm2019CheckDtInDet::Finish ( )
virtual

Finish task called at the end of the run

Definition at line 375 of file CbmMcbm2019CheckDtInDet.cxx.

References WriteHistos().

◆ Init()

InitStatus CbmMcbm2019CheckDtInDet::Init ( )
virtual

Initiliazation of task at the beginning of a run

The TRD digi time is relative to the TS start, so we need the metadata to offset it

Definition at line 54 of file CbmMcbm2019CheckDtInDet.cxx.

References CreateHistos(), fBmonDigiArray, fBmonDigiVector, fDigiMan, fTimeSliceMetaDataArray, CbmDigiManager::Init(), CbmDigiManager::Instance(), CbmDigiManager::IsPresent(), kMuch, kPsd, kRich, kSts, kTof, kTrd, and CbmDigiManager::UseMuchBeamTimeDigi().

◆ operator=()

CbmMcbm2019CheckDtInDet CbmMcbm2019CheckDtInDet::operator= ( const CbmMcbm2019CheckDtInDet & )
delete

◆ ReInit()

InitStatus CbmMcbm2019CheckDtInDet::ReInit ( )
virtual

ReInitiliazation of task when the runID changes

Definition at line 214 of file CbmMcbm2019CheckDtInDet.cxx.

◆ SetNbChanBmon()

void CbmMcbm2019CheckDtInDet::SetNbChanBmon ( Int_t val = 8)
inline

Definition at line 60 of file CbmMcbm2019CheckDtInDet.h.

References fuNbChanBmon.

◆ SetNbChanMuch()

void CbmMcbm2019CheckDtInDet::SetNbChanMuch ( Int_t val = 1000)
inline

Definition at line 64 of file CbmMcbm2019CheckDtInDet.h.

References fuNbChanMuch.

◆ SetNbChanPsd()

void CbmMcbm2019CheckDtInDet::SetNbChanPsd ( Int_t val = 1000)
inline

Definition at line 72 of file CbmMcbm2019CheckDtInDet.h.

References fuNbChanPsd.

◆ SetNbChanRich()

void CbmMcbm2019CheckDtInDet::SetNbChanRich ( Int_t val = 1000)
inline

Definition at line 70 of file CbmMcbm2019CheckDtInDet.h.

References fuNbChanRich.

◆ SetNbChanSts()

void CbmMcbm2019CheckDtInDet::SetNbChanSts ( Int_t val = 5120)
inline

Definition at line 62 of file CbmMcbm2019CheckDtInDet.h.

References fuNbChanSts.

◆ SetNbChanTof()

void CbmMcbm2019CheckDtInDet::SetNbChanTof ( Int_t val = 1000)
inline

Definition at line 68 of file CbmMcbm2019CheckDtInDet.h.

References fuNbChanTof.

◆ SetNbChanTrd()

void CbmMcbm2019CheckDtInDet::SetNbChanTrd ( Int_t val = 1000)
inline

Definition at line 66 of file CbmMcbm2019CheckDtInDet.h.

References fuNbChanTrd.

◆ SetOutFilename()

void CbmMcbm2019CheckDtInDet::SetOutFilename ( TString sNameIn)
inline

Definition at line 74 of file CbmMcbm2019CheckDtInDet.h.

References fOutFileName.

◆ SetParContainers()

void CbmMcbm2019CheckDtInDet::SetParContainers ( )
virtual

Load the parameter container from the runtime database

Definition at line 41 of file CbmMcbm2019CheckDtInDet.cxx.

◆ WriteHistos()

Member Data Documentation

◆ fBmonBmonDiff

TH1* CbmMcbm2019CheckDtInDet::fBmonBmonDiff = nullptr
private

Definition at line 127 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fBmonBmonDiffLog

TH1* CbmMcbm2019CheckDtInDet::fBmonBmonDiffLog = nullptr
private

Definition at line 135 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fBmonBmonDiffPerChan

TH2* CbmMcbm2019CheckDtInDet::fBmonBmonDiffPerChan = nullptr
private

Definition at line 144 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), and WriteHistos().

◆ fBmonBmonSameTime

TH1* CbmMcbm2019CheckDtInDet::fBmonBmonSameTime = nullptr
private

Definition at line 119 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fBmonDigiArray

TClonesArray* CbmMcbm2019CheckDtInDet::fBmonDigiArray = nullptr
private

Definition at line 87 of file CbmMcbm2019CheckDtInDet.h.

Referenced by Exec(), and Init().

◆ fBmonDigiVector

const std::vector<CbmTofDigi>* CbmMcbm2019CheckDtInDet::fBmonDigiVector = nullptr
private

Definition at line 86 of file CbmMcbm2019CheckDtInDet.h.

Referenced by Exec(), and Init().

◆ fDigiMan

CbmDigiManager* CbmMcbm2019CheckDtInDet::fDigiMan = nullptr
private

Digi data

Definition at line 85 of file CbmMcbm2019CheckDtInDet.h.

Referenced by FillHistosPerDet(), and Init().

◆ fMuchMuchDiff

TH1* CbmMcbm2019CheckDtInDet::fMuchMuchDiff = nullptr
private

Definition at line 129 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fMuchMuchDiffLog

TH1* CbmMcbm2019CheckDtInDet::fMuchMuchDiffLog = nullptr
private

Definition at line 137 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fMuchMuchDiffPerChan

TH2* CbmMcbm2019CheckDtInDet::fMuchMuchDiffPerChan = nullptr
private

Definition at line 146 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fMuchMuchSameTime

TH1* CbmMcbm2019CheckDtInDet::fMuchMuchSameTime = nullptr
private

Definition at line 121 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fNrTs

Int_t CbmMcbm2019CheckDtInDet::fNrTs = 0
private

Definition at line 117 of file CbmMcbm2019CheckDtInDet.h.

Referenced by Exec().

◆ fOutFileName

TString CbmMcbm2019CheckDtInDet::fOutFileName {"data/HistosDtInDet.root"}
private

Definition at line 153 of file CbmMcbm2019CheckDtInDet.h.

Referenced by SetOutFilename(), and WriteHistos().

◆ fPrevTimeBmon

Double_t CbmMcbm2019CheckDtInDet::fPrevTimeBmon = 0.
private

Variables to store the previous digi time.

Definition at line 100 of file CbmMcbm2019CheckDtInDet.h.

Referenced by Exec().

◆ fPrevTimeMuch

Double_t CbmMcbm2019CheckDtInDet::fPrevTimeMuch = 0.
private

Definition at line 102 of file CbmMcbm2019CheckDtInDet.h.

◆ fPrevTimePsd

Double_t CbmMcbm2019CheckDtInDet::fPrevTimePsd = 0.
private

Definition at line 106 of file CbmMcbm2019CheckDtInDet.h.

◆ fPrevTimeRich

Double_t CbmMcbm2019CheckDtInDet::fPrevTimeRich = 0.
private

Definition at line 105 of file CbmMcbm2019CheckDtInDet.h.

◆ fPrevTimeSts

Double_t CbmMcbm2019CheckDtInDet::fPrevTimeSts = 0.
private

Definition at line 101 of file CbmMcbm2019CheckDtInDet.h.

◆ fPrevTimeTof

Double_t CbmMcbm2019CheckDtInDet::fPrevTimeTof = 0.
private

Definition at line 104 of file CbmMcbm2019CheckDtInDet.h.

◆ fPrevTimeTrd

Double_t CbmMcbm2019CheckDtInDet::fPrevTimeTrd = 0.
private

Definition at line 103 of file CbmMcbm2019CheckDtInDet.h.

◆ fPsdPsdDiff

TH1* CbmMcbm2019CheckDtInDet::fPsdPsdDiff = nullptr
private

Definition at line 133 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fPsdPsdDiffLog

TH1* CbmMcbm2019CheckDtInDet::fPsdPsdDiffLog = nullptr
private

Definition at line 141 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fPsdPsdDiffPerChan

TH2* CbmMcbm2019CheckDtInDet::fPsdPsdDiffPerChan = nullptr
private

Definition at line 150 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fPsdPsdSameTime

TH1* CbmMcbm2019CheckDtInDet::fPsdPsdSameTime = nullptr
private

Definition at line 125 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fRichRichDiff

TH1* CbmMcbm2019CheckDtInDet::fRichRichDiff = nullptr
private

Definition at line 132 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fRichRichDiffLog

TH1* CbmMcbm2019CheckDtInDet::fRichRichDiffLog = nullptr
private

Definition at line 140 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fRichRichDiffPerChan

TH2* CbmMcbm2019CheckDtInDet::fRichRichDiffPerChan = nullptr
private

Definition at line 149 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fRichRichSameTime

TH1* CbmMcbm2019CheckDtInDet::fRichRichSameTime = nullptr
private

Definition at line 124 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fStsStsDiff

TH1* CbmMcbm2019CheckDtInDet::fStsStsDiff = nullptr
private

Definition at line 128 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fStsStsDiffLog

TH1* CbmMcbm2019CheckDtInDet::fStsStsDiffLog = nullptr
private

Definition at line 136 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fStsStsDiffPerChan

TH2* CbmMcbm2019CheckDtInDet::fStsStsDiffPerChan = nullptr
private

Definition at line 145 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fStsStsSameTime

TH1* CbmMcbm2019CheckDtInDet::fStsStsSameTime = nullptr
private

Definition at line 120 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fTimeSliceMetaDataArray

TClonesArray* CbmMcbm2019CheckDtInDet::fTimeSliceMetaDataArray = nullptr
private

Definition at line 88 of file CbmMcbm2019CheckDtInDet.h.

Referenced by Init().

◆ fTofTofDiff

TH1* CbmMcbm2019CheckDtInDet::fTofTofDiff = nullptr
private

Definition at line 131 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fTofTofDiffLog

TH1* CbmMcbm2019CheckDtInDet::fTofTofDiffLog = nullptr
private

Definition at line 139 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fTofTofDiffPerChan

TH2* CbmMcbm2019CheckDtInDet::fTofTofDiffPerChan = nullptr
private

Definition at line 148 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fTofTofSameTime

TH1* CbmMcbm2019CheckDtInDet::fTofTofSameTime = nullptr
private

Definition at line 123 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fTrdTrdDiff

TH1* CbmMcbm2019CheckDtInDet::fTrdTrdDiff = nullptr
private

Definition at line 130 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fTrdTrdDiffLog

TH1* CbmMcbm2019CheckDtInDet::fTrdTrdDiffLog = nullptr
private

Definition at line 138 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fTrdTrdDiffPerChan

TH2* CbmMcbm2019CheckDtInDet::fTrdTrdDiffPerChan = nullptr
private

Definition at line 147 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fTrdTrdSameTime

TH1* CbmMcbm2019CheckDtInDet::fTrdTrdSameTime = nullptr
private

Definition at line 122 of file CbmMcbm2019CheckDtInDet.h.

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

◆ fuNbChanBmon

UInt_t CbmMcbm2019CheckDtInDet::fuNbChanBmon = 8
private

User settings: Data correction parameters.

Definition at line 109 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), and SetNbChanBmon().

◆ fuNbChanMuch

UInt_t CbmMcbm2019CheckDtInDet::fuNbChanMuch = 5120
private

Definition at line 111 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), and SetNbChanMuch().

◆ fuNbChanPsd

UInt_t CbmMcbm2019CheckDtInDet::fuNbChanPsd = 5120
private

Definition at line 115 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), and SetNbChanPsd().

◆ fuNbChanRich

UInt_t CbmMcbm2019CheckDtInDet::fuNbChanRich = 5120
private

Definition at line 114 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), and SetNbChanRich().

◆ fuNbChanSts

UInt_t CbmMcbm2019CheckDtInDet::fuNbChanSts = 5120
private

Definition at line 110 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), and SetNbChanSts().

◆ fuNbChanTof

UInt_t CbmMcbm2019CheckDtInDet::fuNbChanTof = 5120
private

Definition at line 113 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), and SetNbChanTof().

◆ fuNbChanTrd

UInt_t CbmMcbm2019CheckDtInDet::fuNbChanTrd = 5120
private

Definition at line 112 of file CbmMcbm2019CheckDtInDet.h.

Referenced by CreateHistos(), and SetNbChanTrd().

◆ kuDefaultAddress

const UInt_t CbmMcbm2019CheckDtInDet::kuDefaultAddress = 0xFFFFFFFF
staticprivate

Definition at line 96 of file CbmMcbm2019CheckDtInDet.h.

◆ kuMaxChannelSts

const UInt_t CbmMcbm2019CheckDtInDet::kuMaxChannelSts = 3000
staticprivate

Definition at line 97 of file CbmMcbm2019CheckDtInDet.h.

◆ kuMaxNbMuchAsics

const UInt_t CbmMcbm2019CheckDtInDet::kuMaxNbMuchAsics = 36
staticprivate

Definition at line 95 of file CbmMcbm2019CheckDtInDet.h.

◆ kuMaxNbMuchDpbs

const UInt_t CbmMcbm2019CheckDtInDet::kuMaxNbMuchDpbs = 6
staticprivate

Definition at line 94 of file CbmMcbm2019CheckDtInDet.h.

◆ kuMaxNbStsDpbs

const UInt_t CbmMcbm2019CheckDtInDet::kuMaxNbStsDpbs = 2
staticprivate

Definition at line 93 of file CbmMcbm2019CheckDtInDet.h.

◆ kuNbChanSMX

const UInt_t CbmMcbm2019CheckDtInDet::kuNbChanSMX = 128
staticprivate

Constants.

Definition at line 92 of file CbmMcbm2019CheckDtInDet.h.

◆ pTsMetaData

const TimesliceMetaData* CbmMcbm2019CheckDtInDet::pTsMetaData = nullptr
private

Definition at line 89 of file CbmMcbm2019CheckDtInDet.h.


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