CbmRoot
CbmEventBuilderQA Class Reference

#include <CbmEventBuilderQA.h>

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

Classes

struct  SortEvents
 

Public Member Functions

 CbmEventBuilderQA (const char *name="CbmEventBuilderQA", Int_t iVerbose=0, TString outFileName="CbmEventBuilderQA.root")
 
const CbmEventBuilderQAoperator= (const CbmEventBuilderQA &)=delete
 
 CbmEventBuilderQA (const CbmEventBuilderQA &)=delete
 
 ~CbmEventBuilderQA ()
 
void SetStsTrackBranchName (const TString &name)
 
void SetGlobalTrackBranchName (const TString &name)
 
void SetTofBranchName (const TString &name)
 
void SetMCTrackBranchName (const TString &name)
 
void SetTrackMatchBranchName (const TString &name)
 
void SetMuchTrackMatchBranchName (const TString &name)
 
void SetTrdBranchName (const TString &name)
 
void SetRichBranchName (const TString &name)
 
void SetMuchTrackBranchName (const TString &name)
 
virtual InitStatus Init ()
 
virtual void Exec (Option_t *opt)
 
virtual void Finish ()
 

Private Member Functions

bool CalculateIsReconstructable (const int iMCFile, const int iMCEvent, const int iMCTrack)
 
void WriteHistosCurFile (TObject *obj)
 
 ClassDef (CbmEventBuilderQA, 1)
 

Static Private Member Functions

static bool CompareTrackTime (const SortEvents &a, const SortEvents &b)
 

Private Attributes

std::vector< std::vector< std::vector< int > > > fPointsInTracks
 
TString fStsTrackBranchName
 
TString fGlobalTrackBranchName
 
TString fRichBranchName
 
TString fTrdBranchName
 
TString fTofBranchName
 
TString fMuchTrackBranchName
 
TString fMCTracksBranchName
 
TString fStsTrackMatchBranchName
 
TString fRichRingMatchBranchName
 
TString fTrdTrackMatchBranchName
 
TString fTofHitMatchBranchName
 
TString fMuchTrackMatchBranchName
 
TH1F * fTimeHisto [fNTimeHistos]
 
TClonesArray * fStsDigis
 Input array (class CbmStsDigi) More...
 
TClonesArray * fStsTracks
 Input array (class CbmStsDigi) More...
 
CbmMCDataArrayfMCTracks
 Input array (class CbmStsDigi) More...
 
TClonesArray * fStsHits
 Input array (class CbmStsDigi) More...
 
CbmMCDataArrayfMvdPoints
 Input array (class CbmStsDigi) More...
 
CbmMCDataArrayfStsPoints
 Input array (class CbmStsDigi) More...
 
TClonesArray * fEvents
 Output array (class CbmEvent) More...
 
TClonesArray * fStsTrackMatchArray
 
TClonesArray * fStsHitMatch
 
CbmMCEventListfEventList
 
TString fOutFileName
 
TFile * fOutFile
 
TDirectory * fHistoDir
 
TH1F * hStsHisto [8][NStsHisto]
 
TH1F * hStsFitHisto [8][10]
 
TH1F * hMuchHisto [3][NMuchHisto]
 
TH2F * hRichRingHisto2D [10][NRichRingHisto2D]
 

Static Private Attributes

static const int fNTimeHistos = 27
 
static const int NStsHisto = 3
 
static const int NMuchHisto = 5
 
static const int NRichRingHisto2D = 3
 

Detailed Description

Definition at line 29 of file CbmEventBuilderQA.h.

Constructor & Destructor Documentation

◆ CbmEventBuilderQA() [1/2]

CbmEventBuilderQA::CbmEventBuilderQA ( const char *  name = "CbmEventBuilderQA",
Int_t  iVerbose = 0,
TString  outFileName = "CbmEventBuilderQA.root" 
)

◆ CbmEventBuilderQA() [2/2]

CbmEventBuilderQA::CbmEventBuilderQA ( const CbmEventBuilderQA )
delete

◆ ~CbmEventBuilderQA()

CbmEventBuilderQA::~CbmEventBuilderQA ( )

Definition at line 215 of file CbmEventBuilderQA.cxx.

Member Function Documentation

◆ CalculateIsReconstructable()

bool CbmEventBuilderQA::CalculateIsReconstructable ( const int  iMCFile,
const int  iMCEvent,
const int  iMCTrack 
)
private

◆ ClassDef()

CbmEventBuilderQA::ClassDef ( CbmEventBuilderQA  ,
 
)
private

◆ CompareTrackTime()

static bool CbmEventBuilderQA::CompareTrackTime ( const SortEvents a,
const SortEvents b 
)
inlinestaticprivate

Definition at line 74 of file CbmEventBuilderQA.h.

References CbmTrack::GetTime(), and CbmEventBuilderQA::SortEvents::track.

Referenced by Exec().

◆ Exec()

◆ Finish()

void CbmEventBuilderQA::Finish ( )
virtual

Definition at line 809 of file CbmEventBuilderQA.cxx.

References fHistoDir, fOutFile, fOutFileName, and WriteHistosCurFile().

◆ Init()

◆ operator=()

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

◆ SetGlobalTrackBranchName()

void CbmEventBuilderQA::SetGlobalTrackBranchName ( const TString &  name)
inline

Definition at line 42 of file CbmEventBuilderQA.h.

References fGlobalTrackBranchName.

◆ SetMCTrackBranchName()

void CbmEventBuilderQA::SetMCTrackBranchName ( const TString &  name)
inline

Definition at line 46 of file CbmEventBuilderQA.h.

References fMCTracksBranchName.

◆ SetMuchTrackBranchName()

void CbmEventBuilderQA::SetMuchTrackBranchName ( const TString &  name)
inline

Definition at line 55 of file CbmEventBuilderQA.h.

References fMuchTrackBranchName.

◆ SetMuchTrackMatchBranchName()

void CbmEventBuilderQA::SetMuchTrackMatchBranchName ( const TString &  name)
inline

Definition at line 50 of file CbmEventBuilderQA.h.

References fMuchTrackMatchBranchName.

◆ SetRichBranchName()

void CbmEventBuilderQA::SetRichBranchName ( const TString &  name)
inline

Definition at line 54 of file CbmEventBuilderQA.h.

References fRichBranchName.

◆ SetStsTrackBranchName()

void CbmEventBuilderQA::SetStsTrackBranchName ( const TString &  name)
inline

Definition at line 39 of file CbmEventBuilderQA.h.

References fStsTrackBranchName.

◆ SetTofBranchName()

void CbmEventBuilderQA::SetTofBranchName ( const TString &  name)
inline

Definition at line 45 of file CbmEventBuilderQA.h.

References fTofBranchName.

◆ SetTrackMatchBranchName()

void CbmEventBuilderQA::SetTrackMatchBranchName ( const TString &  name)
inline

Definition at line 47 of file CbmEventBuilderQA.h.

References fStsTrackMatchBranchName.

◆ SetTrdBranchName()

void CbmEventBuilderQA::SetTrdBranchName ( const TString &  name)
inline

Definition at line 53 of file CbmEventBuilderQA.h.

References fTrdBranchName.

◆ WriteHistosCurFile()

void CbmEventBuilderQA::WriteHistosCurFile ( TObject *  obj)
private

Definition at line 824 of file CbmEventBuilderQA.cxx.

Referenced by Finish().

Member Data Documentation

◆ fEventList

CbmMCEventList* CbmEventBuilderQA::fEventList
private

Definition at line 113 of file CbmEventBuilderQA.h.

Referenced by Exec(), and Init().

◆ fEvents

TClonesArray* CbmEventBuilderQA::fEvents
private

Output array (class CbmEvent)

Definition at line 109 of file CbmEventBuilderQA.h.

Referenced by Exec(), and Init().

◆ fGlobalTrackBranchName

TString CbmEventBuilderQA::fGlobalTrackBranchName
private

Definition at line 87 of file CbmEventBuilderQA.h.

Referenced by SetGlobalTrackBranchName().

◆ fHistoDir

TDirectory* CbmEventBuilderQA::fHistoDir
private

Definition at line 118 of file CbmEventBuilderQA.h.

Referenced by CbmEventBuilderQA(), and Finish().

◆ fMCTracks

CbmMCDataArray* CbmEventBuilderQA::fMCTracks
private

Input array (class CbmStsDigi)

Definition at line 105 of file CbmEventBuilderQA.h.

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

◆ fMCTracksBranchName

TString CbmEventBuilderQA::fMCTracksBranchName
private

Definition at line 92 of file CbmEventBuilderQA.h.

Referenced by SetMCTrackBranchName().

◆ fMuchTrackBranchName

TString CbmEventBuilderQA::fMuchTrackBranchName
private

Definition at line 91 of file CbmEventBuilderQA.h.

Referenced by SetMuchTrackBranchName().

◆ fMuchTrackMatchBranchName

TString CbmEventBuilderQA::fMuchTrackMatchBranchName
private

Definition at line 97 of file CbmEventBuilderQA.h.

Referenced by SetMuchTrackMatchBranchName().

◆ fMvdPoints

CbmMCDataArray* CbmEventBuilderQA::fMvdPoints
private

Input array (class CbmStsDigi)

Definition at line 107 of file CbmEventBuilderQA.h.

Referenced by Init().

◆ fNTimeHistos

const int CbmEventBuilderQA::fNTimeHistos = 27
staticprivate

Definition at line 99 of file CbmEventBuilderQA.h.

Referenced by CbmEventBuilderQA().

◆ fOutFile

TFile* CbmEventBuilderQA::fOutFile
private

Definition at line 117 of file CbmEventBuilderQA.h.

Referenced by CbmEventBuilderQA(), and Finish().

◆ fOutFileName

TString CbmEventBuilderQA::fOutFileName
private

Definition at line 116 of file CbmEventBuilderQA.h.

Referenced by CbmEventBuilderQA(), and Finish().

◆ fPointsInTracks

std::vector<std::vector<std::vector<int> > > CbmEventBuilderQA::fPointsInTracks
private

Definition at line 64 of file CbmEventBuilderQA.h.

Referenced by CalculateIsReconstructable(), and Exec().

◆ fRichBranchName

TString CbmEventBuilderQA::fRichBranchName
private

Definition at line 88 of file CbmEventBuilderQA.h.

Referenced by SetRichBranchName().

◆ fRichRingMatchBranchName

TString CbmEventBuilderQA::fRichRingMatchBranchName
private

Definition at line 94 of file CbmEventBuilderQA.h.

◆ fStsDigis

TClonesArray* CbmEventBuilderQA::fStsDigis
private

Input array (class CbmStsDigi)

Definition at line 103 of file CbmEventBuilderQA.h.

◆ fStsHitMatch

TClonesArray* CbmEventBuilderQA::fStsHitMatch
private

Definition at line 111 of file CbmEventBuilderQA.h.

Referenced by Exec(), and Init().

◆ fStsHits

TClonesArray* CbmEventBuilderQA::fStsHits
private

Input array (class CbmStsDigi)

Definition at line 106 of file CbmEventBuilderQA.h.

Referenced by Exec(), and Init().

◆ fStsPoints

CbmMCDataArray* CbmEventBuilderQA::fStsPoints
private

Input array (class CbmStsDigi)

Definition at line 108 of file CbmEventBuilderQA.h.

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

◆ fStsTrackBranchName

TString CbmEventBuilderQA::fStsTrackBranchName
private

Definition at line 86 of file CbmEventBuilderQA.h.

Referenced by SetStsTrackBranchName().

◆ fStsTrackMatchArray

TClonesArray* CbmEventBuilderQA::fStsTrackMatchArray
private

Definition at line 110 of file CbmEventBuilderQA.h.

Referenced by Exec(), and Init().

◆ fStsTrackMatchBranchName

TString CbmEventBuilderQA::fStsTrackMatchBranchName
private

Definition at line 93 of file CbmEventBuilderQA.h.

Referenced by SetTrackMatchBranchName().

◆ fStsTracks

TClonesArray* CbmEventBuilderQA::fStsTracks
private

Input array (class CbmStsDigi)

Definition at line 104 of file CbmEventBuilderQA.h.

Referenced by Exec(), and Init().

◆ fTimeHisto

TH1F* CbmEventBuilderQA::fTimeHisto[fNTimeHistos]
private

Definition at line 100 of file CbmEventBuilderQA.h.

Referenced by CbmEventBuilderQA(), and Exec().

◆ fTofBranchName

TString CbmEventBuilderQA::fTofBranchName
private

Definition at line 90 of file CbmEventBuilderQA.h.

Referenced by SetTofBranchName().

◆ fTofHitMatchBranchName

TString CbmEventBuilderQA::fTofHitMatchBranchName
private

Definition at line 96 of file CbmEventBuilderQA.h.

◆ fTrdBranchName

TString CbmEventBuilderQA::fTrdBranchName
private

Definition at line 89 of file CbmEventBuilderQA.h.

Referenced by SetTrdBranchName().

◆ fTrdTrackMatchBranchName

TString CbmEventBuilderQA::fTrdTrackMatchBranchName
private

Definition at line 95 of file CbmEventBuilderQA.h.

◆ hMuchHisto

TH1F* CbmEventBuilderQA::hMuchHisto[3][NMuchHisto]
private

Definition at line 129 of file CbmEventBuilderQA.h.

◆ hRichRingHisto2D

TH2F* CbmEventBuilderQA::hRichRingHisto2D[10][NRichRingHisto2D]
private

Definition at line 132 of file CbmEventBuilderQA.h.

◆ hStsFitHisto

TH1F* CbmEventBuilderQA::hStsFitHisto[8][10]
private

Definition at line 126 of file CbmEventBuilderQA.h.

◆ hStsHisto

TH1F* CbmEventBuilderQA::hStsHisto[8][NStsHisto]
private

Definition at line 123 of file CbmEventBuilderQA.h.

◆ NMuchHisto

const int CbmEventBuilderQA::NMuchHisto = 5
staticprivate

Definition at line 128 of file CbmEventBuilderQA.h.

◆ NRichRingHisto2D

const int CbmEventBuilderQA::NRichRingHisto2D = 3
staticprivate

Definition at line 131 of file CbmEventBuilderQA.h.

◆ NStsHisto

const int CbmEventBuilderQA::NStsHisto = 3
staticprivate

Definition at line 122 of file CbmEventBuilderQA.h.


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