CbmRoot
Loading...
Searching...
No Matches
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)
 
TClonesArray * fStsTracks
 Input array (class CbmStsDigi)
 
CbmMCDataArrayfMCTracks
 Input array (class CbmStsDigi)
 
TClonesArray * fStsHits
 Input array (class CbmStsDigi)
 
CbmMCDataArrayfMvdPoints
 Input array (class CbmStsDigi)
 
CbmMCDataArrayfStsPoints
 Input array (class CbmStsDigi)
 
TClonesArray * fEvents
 Output array (class CbmEvent)
 
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 32 of file CbmEventBuilderQa.h.

Constructor & Destructor Documentation

◆ CbmEventBuilderQa() [1/2]

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

Definition at line 60 of file CbmEventBuilderQa.cxx.

References fHistoDir, fNTimeHistos, fOutFile, fOutFileName, and fTimeHisto.

◆ CbmEventBuilderQa() [2/2]

CbmEventBuilderQa::CbmEventBuilderQa ( const CbmEventBuilderQa & )
delete

◆ ~CbmEventBuilderQa()

CbmEventBuilderQa::~CbmEventBuilderQa ( )

Definition at line 173 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 ,
1  )
private

◆ CompareTrackTime()

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

Definition at line 66 of file CbmEventBuilderQa.h.

References CbmTrack::GetStartTime(), and CbmEventBuilderQa::SortEvents::track.

Referenced by Exec().

◆ Exec()

◆ Finish()

void CbmEventBuilderQa::Finish ( )
virtual

Definition at line 739 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 44 of file CbmEventBuilderQa.h.

References fMCTracksBranchName.

◆ SetMuchTrackBranchName()

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

Definition at line 49 of file CbmEventBuilderQa.h.

References fMuchTrackBranchName.

◆ SetMuchTrackMatchBranchName()

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

Definition at line 46 of file CbmEventBuilderQa.h.

References fMuchTrackMatchBranchName.

◆ SetRichBranchName()

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

Definition at line 48 of file CbmEventBuilderQa.h.

References fRichBranchName.

◆ SetStsTrackBranchName()

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

Definition at line 41 of file CbmEventBuilderQa.h.

References fStsTrackBranchName.

◆ SetTofBranchName()

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

Definition at line 43 of file CbmEventBuilderQa.h.

References fTofBranchName.

◆ SetTrackMatchBranchName()

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

Definition at line 45 of file CbmEventBuilderQa.h.

References fStsTrackMatchBranchName.

◆ SetTrdBranchName()

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

Definition at line 47 of file CbmEventBuilderQa.h.

References fTrdBranchName.

◆ WriteHistosCurFile()

void CbmEventBuilderQa::WriteHistosCurFile ( TObject * obj)
private

Definition at line 755 of file CbmEventBuilderQa.cxx.

References WriteHistosCurFile().

Referenced by Finish(), and WriteHistosCurFile().

Member Data Documentation

◆ fEventList

CbmMCEventList* CbmEventBuilderQa::fEventList
private

Definition at line 104 of file CbmEventBuilderQa.h.

Referenced by Exec(), and Init().

◆ fEvents

TClonesArray* CbmEventBuilderQa::fEvents
private

Output array (class CbmEvent)

Definition at line 100 of file CbmEventBuilderQa.h.

Referenced by Exec(), and Init().

◆ fGlobalTrackBranchName

TString CbmEventBuilderQa::fGlobalTrackBranchName
private

Definition at line 78 of file CbmEventBuilderQa.h.

Referenced by SetGlobalTrackBranchName().

◆ fHistoDir

TDirectory* CbmEventBuilderQa::fHistoDir
private

Definition at line 109 of file CbmEventBuilderQa.h.

Referenced by CbmEventBuilderQa(), and Finish().

◆ fMCTracks

CbmMCDataArray* CbmEventBuilderQa::fMCTracks
private

Input array (class CbmStsDigi)

Definition at line 96 of file CbmEventBuilderQa.h.

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

◆ fMCTracksBranchName

TString CbmEventBuilderQa::fMCTracksBranchName
private

Definition at line 83 of file CbmEventBuilderQa.h.

Referenced by SetMCTrackBranchName().

◆ fMuchTrackBranchName

TString CbmEventBuilderQa::fMuchTrackBranchName
private

Definition at line 82 of file CbmEventBuilderQa.h.

Referenced by SetMuchTrackBranchName().

◆ fMuchTrackMatchBranchName

TString CbmEventBuilderQa::fMuchTrackMatchBranchName
private

Definition at line 88 of file CbmEventBuilderQa.h.

Referenced by SetMuchTrackMatchBranchName().

◆ fMvdPoints

CbmMCDataArray* CbmEventBuilderQa::fMvdPoints
private

Input array (class CbmStsDigi)

Definition at line 98 of file CbmEventBuilderQa.h.

Referenced by Init().

◆ fNTimeHistos

const int CbmEventBuilderQa::fNTimeHistos = 27
staticprivate

Definition at line 90 of file CbmEventBuilderQa.h.

Referenced by CbmEventBuilderQa().

◆ fOutFile

TFile* CbmEventBuilderQa::fOutFile
private

Definition at line 108 of file CbmEventBuilderQa.h.

Referenced by CbmEventBuilderQa(), and Finish().

◆ fOutFileName

TString CbmEventBuilderQa::fOutFileName
private

Definition at line 107 of file CbmEventBuilderQa.h.

Referenced by CbmEventBuilderQa(), and Finish().

◆ fPointsInTracks

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

Definition at line 56 of file CbmEventBuilderQa.h.

Referenced by CalculateIsReconstructable(), and Exec().

◆ fRichBranchName

TString CbmEventBuilderQa::fRichBranchName
private

Definition at line 79 of file CbmEventBuilderQa.h.

Referenced by SetRichBranchName().

◆ fRichRingMatchBranchName

TString CbmEventBuilderQa::fRichRingMatchBranchName
private

Definition at line 85 of file CbmEventBuilderQa.h.

◆ fStsDigis

TClonesArray* CbmEventBuilderQa::fStsDigis
private

Input array (class CbmStsDigi)

Definition at line 94 of file CbmEventBuilderQa.h.

◆ fStsHitMatch

TClonesArray* CbmEventBuilderQa::fStsHitMatch
private

Definition at line 102 of file CbmEventBuilderQa.h.

Referenced by Exec(), and Init().

◆ fStsHits

TClonesArray* CbmEventBuilderQa::fStsHits
private

Input array (class CbmStsDigi)

Definition at line 97 of file CbmEventBuilderQa.h.

Referenced by Exec(), and Init().

◆ fStsPoints

CbmMCDataArray* CbmEventBuilderQa::fStsPoints
private

Input array (class CbmStsDigi)

Definition at line 99 of file CbmEventBuilderQa.h.

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

◆ fStsTrackBranchName

TString CbmEventBuilderQa::fStsTrackBranchName
private

Definition at line 77 of file CbmEventBuilderQa.h.

Referenced by SetStsTrackBranchName().

◆ fStsTrackMatchArray

TClonesArray* CbmEventBuilderQa::fStsTrackMatchArray
private

Definition at line 101 of file CbmEventBuilderQa.h.

Referenced by Exec(), and Init().

◆ fStsTrackMatchBranchName

TString CbmEventBuilderQa::fStsTrackMatchBranchName
private

Definition at line 84 of file CbmEventBuilderQa.h.

Referenced by SetTrackMatchBranchName().

◆ fStsTracks

TClonesArray* CbmEventBuilderQa::fStsTracks
private

Input array (class CbmStsDigi)

Definition at line 95 of file CbmEventBuilderQa.h.

Referenced by Exec(), and Init().

◆ fTimeHisto

TH1F* CbmEventBuilderQa::fTimeHisto[fNTimeHistos]
private

Definition at line 91 of file CbmEventBuilderQa.h.

Referenced by CbmEventBuilderQa(), and Exec().

◆ fTofBranchName

TString CbmEventBuilderQa::fTofBranchName
private

Definition at line 81 of file CbmEventBuilderQa.h.

Referenced by SetTofBranchName().

◆ fTofHitMatchBranchName

TString CbmEventBuilderQa::fTofHitMatchBranchName
private

Definition at line 87 of file CbmEventBuilderQa.h.

◆ fTrdBranchName

TString CbmEventBuilderQa::fTrdBranchName
private

Definition at line 80 of file CbmEventBuilderQa.h.

Referenced by SetTrdBranchName().

◆ fTrdTrackMatchBranchName

TString CbmEventBuilderQa::fTrdTrackMatchBranchName
private

Definition at line 86 of file CbmEventBuilderQa.h.

◆ hMuchHisto

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

Definition at line 118 of file CbmEventBuilderQa.h.

◆ hRichRingHisto2D

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

Definition at line 121 of file CbmEventBuilderQa.h.

◆ hStsFitHisto

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

Definition at line 115 of file CbmEventBuilderQa.h.

◆ hStsHisto

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

Definition at line 114 of file CbmEventBuilderQa.h.

◆ NMuchHisto

const int CbmEventBuilderQa::NMuchHisto = 5
staticprivate

Definition at line 117 of file CbmEventBuilderQa.h.

◆ NRichRingHisto2D

const int CbmEventBuilderQa::NRichRingHisto2D = 3
staticprivate

Definition at line 120 of file CbmEventBuilderQa.h.

◆ NStsHisto

const int CbmEventBuilderQa::NStsHisto = 3
staticprivate

Definition at line 113 of file CbmEventBuilderQa.h.


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