CbmRoot
CbmTofTests Class Reference

#include <CbmTofTests.h>

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

Public Member Functions

 CbmTofTests ()
 
 CbmTofTests (const char *name, Int_t verbose=1)
 
virtual ~CbmTofTests ()
 
virtual InitStatus Init ()
 
virtual void Exec (Option_t *option)
 
virtual void Finish ()
 
virtual void SetParContainers ()
 Inherited from FairTask. More...
 
Bool_t RegisterInputs ()
 
Bool_t InitParameters ()
 

Private Member Functions

Bool_t CreateHistos ()
 
Bool_t FillHistos ()
 
Bool_t WriteHistos ()
 
Bool_t DeleteHistos ()
 
Bool_t LoadGeometry ()
 Load the geometry: for now just resizing the Digis temporary vectors. More...
 
 CbmTofTests (const CbmTofTests &)
 
CbmTofTests operator= (const CbmTofTests &)
 
 ClassDef (CbmTofTests, 1)
 

Private Attributes

Int_t fEvents
 
FairMCEventHeader * fMCEventHeader
 
CbmTofGeoHandlerfGeoHandler
 
CbmTofDetectorIdfTofId
 
CbmTofCellfChannelInfo
 
Int_t iNbSmTot
 
std::vector< Int_t > fvTypeSmOffs
 
Int_t iNbRpcTot
 
std::vector< std::vector< Int_t > > fvSmRpcOffs
 
Int_t iNbChTot
 
std::vector< std::vector< std::vector< Int_t > > > fvRpcChOffs
 
CbmTofDigiParfDigiPar
 
CbmTofDigiBdfParfDigiBdfPar
 
TClonesArray * fTofPointsColl
 
TClonesArray * fMcTracksColl
 
TClonesArray * fTofDigisColl
 
TClonesArray * fTofHitsColl
 
TClonesArray * fTofHitMatchColl
 
TH1 * fhTestingTime
 
TH2 * fhPointMapXY
 
TH2 * fhPointMapXZ
 
TH2 * fhPointMapYZ
 
TH2 * fhPointMapAng
 
TH2 * fhPointMapSph
 
TH2 * fhDigiMapXY
 
TH2 * fhDigiMapXZ
 
TH2 * fhDigiMapYZ
 
TH2 * fhDigiMapAng
 
TH2 * fhDigiMapSph
 
TH2 * fhHitMapXY
 
TH2 * fhHitMapXZ
 
TH2 * fhHitMapYZ
 
TH2 * fhHitMapAng
 
TH2 * fhHitMapSph
 
TH2 * fhFluxMap
 
TH2 * fhDigiFluxMap
 
TH2 * fhHitFluxMap
 
TH1 * fhDigiRateCh
 
TH1 * fhDataRateCh
 
TH1 * fhDataRateRpc
 
TH1 * fhDataRateSm
 
TH1 * fhDataRateType
 
TH1 * fhTofDataPerEvt
 
TH1 * fhTofDataRedEvt
 
TH1 * fhOptLnkRpc
 
TH1 * fhOptLnkSm
 
TH1 * fhOptLnkType
 
TH1 * fhTofRes
 
TH1 * fhTofResSing
 
TH2 * fhTofPosDifX
 
TH2 * fhTofPosDifY
 
TH2 * fhTofPosDifZ
 
TH2 * fhTofPosDifSingXX
 
TH2 * fhTofPosDifSingXY
 
TH2 * fhTofPosDifSingXZ
 
TH2 * fhTofPosDifSingY
 
TH2 * fhTofPosDifSingZ
 
TH2 * fhTofPosDifXZSing
 
TH2 * fhTofBadXPosSing
 
TH2 * fhTofBadYPosSing
 
TH2 * fhTofBadZPosSing
 
TH1 * fhTofEff
 
TH1 * fhTofMixing
 
TTimeStamp fStart
 
TTimeStamp fStop
 

Detailed Description

Definition at line 27 of file CbmTofTests.h.

Constructor & Destructor Documentation

◆ CbmTofTests() [1/3]

CbmTofTests::CbmTofTests ( )

Definition at line 59 of file CbmTofTests.cxx.

◆ CbmTofTests() [2/3]

CbmTofTests::CbmTofTests ( const char *  name,
Int_t  verbose = 1 
)

Definition at line 131 of file CbmTofTests.cxx.

◆ ~CbmTofTests()

CbmTofTests::~CbmTofTests ( )
virtual

Definition at line 201 of file CbmTofTests.cxx.

References fGeoHandler.

◆ CbmTofTests() [3/3]

CbmTofTests::CbmTofTests ( const CbmTofTests )
private

Member Function Documentation

◆ ClassDef()

CbmTofTests::ClassDef ( CbmTofTests  ,
 
)
private

◆ CreateHistos()

◆ DeleteHistos()

◆ Exec()

void CbmTofTests::Exec ( Option_t *  option)
virtual

Definition at line 254 of file CbmTofTests.cxx.

References fEvents, fhTestingTime, FillHistos(), fStart, and fStop.

◆ FillHistos()

◆ Finish()

◆ Init()

InitStatus CbmTofTests::Init ( )
virtual

Definition at line 208 of file CbmTofTests.cxx.

References CreateHistos(), InitParameters(), LoadGeometry(), and RegisterInputs().

◆ InitParameters()

Bool_t CbmTofTests::InitParameters ( )

Definition at line 220 of file CbmTofTests.cxx.

References fGeoHandler, fTofId, CbmTofGeoHandler::Init(), k12b, and k14a.

Referenced by Init().

◆ LoadGeometry()

Bool_t CbmTofTests::LoadGeometry ( )
private

Load the geometry: for now just resizing the Digis temporary vectors.

Definition at line 414 of file CbmTofTests.cxx.

References fDigiBdfPar, fvRpcChOffs, fvSmRpcOffs, fvTypeSmOffs, CbmTofDigiBdfPar::GetNbChan(), CbmTofDigiBdfPar::GetNbRpc(), CbmTofDigiBdfPar::GetNbSm(), CbmTofDigiBdfPar::GetNbSmTypes(), iNbChTot, iNbRpcTot, and iNbSmTot.

Referenced by Init().

◆ operator=()

CbmTofTests CbmTofTests::operator= ( const CbmTofTests )
private

◆ RegisterInputs()

Bool_t CbmTofTests::RegisterInputs ( )

Definition at line 314 of file CbmTofTests.cxx.

References fMcTracksColl, fTofDigisColl, fTofHitMatchColl, fTofHitsColl, and fTofPointsColl.

Referenced by Init().

◆ SetParContainers()

void CbmTofTests::SetParContainers ( )
virtual

Inherited from FairTask.

Definition at line 242 of file CbmTofTests.cxx.

References fDigiBdfPar, and fDigiPar.

◆ WriteHistos()

Member Data Documentation

◆ fChannelInfo

CbmTofCell* CbmTofTests::fChannelInfo
private

Definition at line 66 of file CbmTofTests.h.

Referenced by FillHistos().

◆ fDigiBdfPar

CbmTofDigiBdfPar* CbmTofTests::fDigiBdfPar
private

Definition at line 79 of file CbmTofTests.h.

Referenced by CreateHistos(), FillHistos(), LoadGeometry(), and SetParContainers().

◆ fDigiPar

CbmTofDigiPar* CbmTofTests::fDigiPar
private

Definition at line 78 of file CbmTofTests.h.

Referenced by FillHistos(), and SetParContainers().

◆ fEvents

Int_t CbmTofTests::fEvents
private

Definition at line 60 of file CbmTofTests.h.

Referenced by Exec(), and Finish().

◆ fGeoHandler

CbmTofGeoHandler* CbmTofTests::fGeoHandler
private

Definition at line 64 of file CbmTofTests.h.

Referenced by FillHistos(), InitParameters(), and ~CbmTofTests().

◆ fhDataRateCh

TH1* CbmTofTests::fhDataRateCh
private

Definition at line 122 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), Finish(), and WriteHistos().

◆ fhDataRateRpc

TH1* CbmTofTests::fhDataRateRpc
private

Definition at line 123 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), Finish(), and WriteHistos().

◆ fhDataRateSm

TH1* CbmTofTests::fhDataRateSm
private

Definition at line 124 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), Finish(), and WriteHistos().

◆ fhDataRateType

TH1* CbmTofTests::fhDataRateType
private

Definition at line 125 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), Finish(), and WriteHistos().

◆ fhDigiFluxMap

TH2* CbmTofTests::fhDigiFluxMap
private

Definition at line 119 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), Finish(), and WriteHistos().

◆ fhDigiMapAng

TH2* CbmTofTests::fhDigiMapAng
private

Definition at line 109 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhDigiMapSph

TH2* CbmTofTests::fhDigiMapSph
private

Definition at line 110 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhDigiMapXY

TH2* CbmTofTests::fhDigiMapXY
private

Definition at line 106 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhDigiMapXZ

TH2* CbmTofTests::fhDigiMapXZ
private

Definition at line 107 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhDigiMapYZ

TH2* CbmTofTests::fhDigiMapYZ
private

Definition at line 108 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhDigiRateCh

TH1* CbmTofTests::fhDigiRateCh
private

Definition at line 121 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), Finish(), and WriteHistos().

◆ fhFluxMap

TH2* CbmTofTests::fhFluxMap
private

Definition at line 118 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), Finish(), and WriteHistos().

◆ fhHitFluxMap

TH2* CbmTofTests::fhHitFluxMap
private

Definition at line 120 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), Finish(), and WriteHistos().

◆ fhHitMapAng

TH2* CbmTofTests::fhHitMapAng
private

Definition at line 114 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhHitMapSph

TH2* CbmTofTests::fhHitMapSph
private

Definition at line 115 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhHitMapXY

TH2* CbmTofTests::fhHitMapXY
private

Definition at line 111 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhHitMapXZ

TH2* CbmTofTests::fhHitMapXZ
private

Definition at line 112 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhHitMapYZ

TH2* CbmTofTests::fhHitMapYZ
private

Definition at line 113 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhOptLnkRpc

TH1* CbmTofTests::fhOptLnkRpc
private

Definition at line 129 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), Finish(), and WriteHistos().

◆ fhOptLnkSm

TH1* CbmTofTests::fhOptLnkSm
private

Definition at line 130 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), Finish(), and WriteHistos().

◆ fhOptLnkType

TH1* CbmTofTests::fhOptLnkType
private

Definition at line 131 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), Finish(), and WriteHistos().

◆ fhPointMapAng

TH2* CbmTofTests::fhPointMapAng
private

Definition at line 104 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhPointMapSph

TH2* CbmTofTests::fhPointMapSph
private

Definition at line 105 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhPointMapXY

TH2* CbmTofTests::fhPointMapXY
private

Definition at line 101 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhPointMapXZ

TH2* CbmTofTests::fhPointMapXZ
private

Definition at line 102 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhPointMapYZ

TH2* CbmTofTests::fhPointMapYZ
private

Definition at line 103 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhTestingTime

TH1* CbmTofTests::fhTestingTime
private

Definition at line 99 of file CbmTofTests.h.

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

◆ fhTofBadXPosSing

TH2* CbmTofTests::fhTofBadXPosSing
private

Definition at line 145 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhTofBadYPosSing

TH2* CbmTofTests::fhTofBadYPosSing
private

Definition at line 146 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhTofBadZPosSing

TH2* CbmTofTests::fhTofBadZPosSing
private

Definition at line 147 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhTofDataPerEvt

TH1* CbmTofTests::fhTofDataPerEvt
private

Definition at line 126 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), Finish(), and WriteHistos().

◆ fhTofDataRedEvt

TH1* CbmTofTests::fhTofDataRedEvt
private

Definition at line 127 of file CbmTofTests.h.

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

◆ fhTofEff

TH1* CbmTofTests::fhTofEff
private

Definition at line 148 of file CbmTofTests.h.

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

◆ fhTofMixing

TH1* CbmTofTests::fhTofMixing
private

Definition at line 149 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhTofPosDifSingXX

TH2* CbmTofTests::fhTofPosDifSingXX
private

Definition at line 139 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhTofPosDifSingXY

TH2* CbmTofTests::fhTofPosDifSingXY
private

Definition at line 140 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhTofPosDifSingXZ

TH2* CbmTofTests::fhTofPosDifSingXZ
private

Definition at line 141 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhTofPosDifSingY

TH2* CbmTofTests::fhTofPosDifSingY
private

Definition at line 142 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhTofPosDifSingZ

TH2* CbmTofTests::fhTofPosDifSingZ
private

Definition at line 143 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhTofPosDifX

TH2* CbmTofTests::fhTofPosDifX
private

Definition at line 136 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhTofPosDifXZSing

TH2* CbmTofTests::fhTofPosDifXZSing
private

Definition at line 144 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhTofPosDifY

TH2* CbmTofTests::fhTofPosDifY
private

Definition at line 137 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhTofPosDifZ

TH2* CbmTofTests::fhTofPosDifZ
private

Definition at line 138 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhTofRes

TH1* CbmTofTests::fhTofRes
private

Definition at line 134 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fhTofResSing

TH1* CbmTofTests::fhTofResSing
private

Definition at line 135 of file CbmTofTests.h.

Referenced by CreateHistos(), DeleteHistos(), FillHistos(), and WriteHistos().

◆ fMCEventHeader

FairMCEventHeader* CbmTofTests::fMCEventHeader
private

Definition at line 63 of file CbmTofTests.h.

◆ fMcTracksColl

TClonesArray* CbmTofTests::fMcTracksColl
private

Definition at line 82 of file CbmTofTests.h.

Referenced by FillHistos(), and RegisterInputs().

◆ fStart

TTimeStamp CbmTofTests::fStart
private

Definition at line 152 of file CbmTofTests.h.

Referenced by Exec().

◆ fStop

TTimeStamp CbmTofTests::fStop
private

Definition at line 153 of file CbmTofTests.h.

Referenced by Exec().

◆ fTofDigisColl

TClonesArray* CbmTofTests::fTofDigisColl
private

Definition at line 83 of file CbmTofTests.h.

Referenced by FillHistos(), and RegisterInputs().

◆ fTofHitMatchColl

TClonesArray* CbmTofTests::fTofHitMatchColl
private

Definition at line 86 of file CbmTofTests.h.

Referenced by FillHistos(), and RegisterInputs().

◆ fTofHitsColl

TClonesArray* CbmTofTests::fTofHitsColl
private

Definition at line 84 of file CbmTofTests.h.

Referenced by FillHistos(), and RegisterInputs().

◆ fTofId

CbmTofDetectorId* CbmTofTests::fTofId
private

Definition at line 65 of file CbmTofTests.h.

Referenced by FillHistos(), and InitParameters().

◆ fTofPointsColl

TClonesArray* CbmTofTests::fTofPointsColl
private

Definition at line 81 of file CbmTofTests.h.

Referenced by FillHistos(), and RegisterInputs().

◆ fvRpcChOffs

std::vector<std::vector<std::vector<Int_t> > > CbmTofTests::fvRpcChOffs
private

Definition at line 75 of file CbmTofTests.h.

Referenced by FillHistos(), and LoadGeometry().

◆ fvSmRpcOffs

std::vector<std::vector<Int_t> > CbmTofTests::fvSmRpcOffs
private

Definition at line 72 of file CbmTofTests.h.

Referenced by FillHistos(), and LoadGeometry().

◆ fvTypeSmOffs

std::vector<Int_t> CbmTofTests::fvTypeSmOffs
private

Definition at line 69 of file CbmTofTests.h.

Referenced by FillHistos(), and LoadGeometry().

◆ iNbChTot

Int_t CbmTofTests::iNbChTot
private

Definition at line 73 of file CbmTofTests.h.

Referenced by CreateHistos(), FillHistos(), and LoadGeometry().

◆ iNbRpcTot

Int_t CbmTofTests::iNbRpcTot
private

Definition at line 70 of file CbmTofTests.h.

Referenced by CreateHistos(), and LoadGeometry().

◆ iNbSmTot

Int_t CbmTofTests::iNbSmTot
private

Definition at line 67 of file CbmTofTests.h.

Referenced by CreateHistos(), and LoadGeometry().


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