CbmRoot
CbmKFTrackQA Class Reference

#include <CbmKFTrackQA.h>

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

Public Member Functions

 CbmKFTrackQA (const char *name="CbmKFTrackQA", Int_t iVerbose=0, TString outFileName="CbmKFTrackQA.root")
 
 ~CbmKFTrackQA ()
 
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 SetTrdHitBranchName (const TString &name)
 
void SetRichBranchName (const TString &name)
 
void SetMuchTrackBranchName (const TString &name)
 
Int_t GetZtoNStation (Double_t getZ)
 
virtual InitStatus Init ()
 
virtual void Exec (Option_t *opt)
 
virtual void Finish ()
 

Private Member Functions

const CbmKFTrackQAoperator= (const CbmKFTrackQA &)
 
 CbmKFTrackQA (const CbmKFTrackQA &)
 
void WriteHistosCurFile (TObject *obj)
 
int GetHistoIndex (int pdg)
 
 ClassDef (CbmKFTrackQA, 1)
 

Private Attributes

TString fStsTrackBranchName
 
TString fGlobalTrackBranchName
 
TString fRichBranchName
 
TString fTrdBranchName
 
TString fTrdHitBranchName
 
TString fTofBranchName
 
TString fMuchTrackBranchName
 
TString fMCTracksBranchName
 
TString fStsTrackMatchBranchName
 
TString fRichRingMatchBranchName
 
TString fTrdTrackMatchBranchName
 
TString fTofHitMatchBranchName
 
TString fMuchTrackMatchBranchName
 
TClonesArray * fStsTrackArray
 
TClonesArray * fGlobalTrackArray
 
TClonesArray * fRichRingArray
 
TClonesArray * fTrdTrackArray
 
TClonesArray * fTrdHitArray
 
TClonesArray * fTofHitArray
 
TClonesArray * fMuchTrackArray
 
TClonesArray * fMCTrackArray
 
TClonesArray * fStsTrackMatchArray
 
TClonesArray * fRichRingMatchArray
 
TClonesArray * fTrdTrackMatchArray
 
TClonesArray * fTofHitMatchArray
 
TClonesArray * fMuchTrackMatchArray
 
CbmMCDataArrayfTofPoints
 
TString fOutFileName
 
TFile * fOutFile
 
TDirectory * fHistoDir
 
Int_t fNEvents
 
std::map< int, int > fPDGtoIndexMap
 
TH1F * hStsHisto [8][NStsHisto]
 
TH1F * hStsFitHisto [8][10]
 
TH1F * hMuchHisto [3][NMuchHisto]
 
TH2F * hRichRingHisto2D [10][NRichRingHisto2D]
 
TH1F * hTrdHisto [14][NTrdHisto]
 
TH2F * hTrdHisto2D [14][NTrdHisto2D]
 
TH2F * hTofHisto2D [14][NTofHisto2D]
 

Static Private Attributes

static const int NStsHisto = 3
 
static const int NMuchHisto = 5
 
static const int NRichRingHisto2D = 3
 
static const int NTrdHisto = 2
 
static const int NTrdHisto2D = 1
 
static const int NTofHisto2D = 2
 

Detailed Description

Definition at line 24 of file CbmKFTrackQA.h.

Constructor & Destructor Documentation

◆ CbmKFTrackQA() [1/2]

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

◆ ~CbmKFTrackQA()

CbmKFTrackQA::~CbmKFTrackQA ( )

Definition at line 323 of file CbmKFTrackQA.cxx.

◆ CbmKFTrackQA() [2/2]

CbmKFTrackQA::CbmKFTrackQA ( const CbmKFTrackQA )
private

Member Function Documentation

◆ ClassDef()

CbmKFTrackQA::ClassDef ( CbmKFTrackQA  ,
 
)
private

◆ Exec()

void CbmKFTrackQA::Exec ( Option_t *  opt)
virtual

Definition at line 423 of file CbmKFTrackQA.cxx.

References fabs(), fGlobalTrackArray, PairAnalysisStyler::Fill, CbmL1PFFitter::Fit(), fMCTrackArray, fMuchTrackArray, fMuchTrackMatchArray, fNEvents, fRichRingArray, fRichRingMatchArray, fStsTrackArray, fStsTrackMatchArray, fTofHitArray, fTofHitMatchArray, fTofPoints, fTrdHitArray, fTrdTrackArray, fTrdTrackMatchArray, CbmMCDataArray::Get(), CbmRichRing::GetAaxis(), CbmRichRing::GetBaxis(), CbmTrack::GetChiSq(), CbmL1PFFitter::GetChiToVertex(), CbmTrdHit::GetELoss(), CbmLink::GetEntry(), GetHistoIndex(), CbmTrack::GetHitIndex(), CbmLink::GetIndex(), CbmGlobalTrack::GetLength(), CbmMatch::GetLink(), CbmMatch::GetMatchedLink(), CbmMCTrack::GetMotherId(), CbmGlobalTrack::GetMuchTrackIndex(), CbmTrack::GetNDF(), CbmTrack::GetNofHits(), CbmStsTrack::GetNofHits(), CbmMatch::GetNofLinks(), CbmMCTrack::GetP(), CbmTrack::GetParamFirst(), CbmTrack::GetParamLast(), CbmMCTrack::GetPdgCode(), CbmTrdTrack::GetPidANN(), CbmTrdTrack::GetPidWkn(), CbmMCTrack::GetPx(), CbmMCTrack::GetPy(), CbmMCTrack::GetPz(), CbmRichRing::GetRadius(), CbmGlobalTrack::GetRichRingIndex(), CbmMCTrack::GetStartX(), CbmMCTrack::GetStartY(), CbmMCTrack::GetStartZ(), CbmGlobalTrack::GetStsTrackIndex(), CbmHit::GetTime(), CbmGlobalTrack::GetTofHitIndex(), CbmGlobalTrack::GetTrdTrackIndex(), CbmLink::GetWeight(), GetZtoNStation(), hMuchHisto, hRichRingHisto2D, hStsFitHisto, hStsHisto, hTofHisto2D, hTrdHisto, hTrdHisto2D, mcTracks, nMCTracks, NMuchHisto, NStsHisto, NTrdHisto, and sqrt().

◆ Finish()

void CbmKFTrackQA::Finish ( )
virtual

Definition at line 847 of file CbmKFTrackQA.cxx.

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

◆ GetHistoIndex()

int CbmKFTrackQA::GetHistoIndex ( int  pdg)
private

Definition at line 883 of file CbmKFTrackQA.cxx.

References fPDGtoIndexMap.

Referenced by Exec().

◆ GetZtoNStation()

Int_t CbmKFTrackQA::GetZtoNStation ( Double_t  getZ)

Definition at line 892 of file CbmKFTrackQA.cxx.

Referenced by Exec().

◆ Init()

◆ operator=()

const CbmKFTrackQA& CbmKFTrackQA::operator= ( const CbmKFTrackQA )
private

◆ SetGlobalTrackBranchName()

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

Definition at line 35 of file CbmKFTrackQA.h.

References fGlobalTrackBranchName.

◆ SetMCTrackBranchName()

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

Definition at line 39 of file CbmKFTrackQA.h.

References fMCTracksBranchName.

◆ SetMuchTrackBranchName()

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

Definition at line 49 of file CbmKFTrackQA.h.

References fMuchTrackBranchName.

◆ SetMuchTrackMatchBranchName()

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

Definition at line 43 of file CbmKFTrackQA.h.

References fMuchTrackMatchBranchName.

◆ SetRichBranchName()

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

Definition at line 48 of file CbmKFTrackQA.h.

References fRichBranchName.

◆ SetStsTrackBranchName()

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

Definition at line 32 of file CbmKFTrackQA.h.

References fStsTrackBranchName.

◆ SetTofBranchName()

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

Definition at line 38 of file CbmKFTrackQA.h.

References fTofBranchName.

◆ SetTrackMatchBranchName()

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

Definition at line 40 of file CbmKFTrackQA.h.

References fStsTrackMatchBranchName.

◆ SetTrdBranchName()

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

Definition at line 46 of file CbmKFTrackQA.h.

References fTrdBranchName.

◆ SetTrdHitBranchName()

void CbmKFTrackQA::SetTrdHitBranchName ( const TString &  name)
inline

Definition at line 47 of file CbmKFTrackQA.h.

References fTrdHitBranchName.

◆ WriteHistosCurFile()

void CbmKFTrackQA::WriteHistosCurFile ( TObject *  obj)
private

Definition at line 862 of file CbmKFTrackQA.cxx.

Referenced by Finish().

Member Data Documentation

◆ fGlobalTrackArray

TClonesArray* CbmKFTrackQA::fGlobalTrackArray
private

Definition at line 82 of file CbmKFTrackQA.h.

Referenced by Exec(), and Init().

◆ fGlobalTrackBranchName

TString CbmKFTrackQA::fGlobalTrackBranchName
private

Definition at line 67 of file CbmKFTrackQA.h.

Referenced by Init(), and SetGlobalTrackBranchName().

◆ fHistoDir

TDirectory* CbmKFTrackQA::fHistoDir
private

Definition at line 100 of file CbmKFTrackQA.h.

Referenced by CbmKFTrackQA(), and Finish().

◆ fMCTrackArray

TClonesArray* CbmKFTrackQA::fMCTrackArray
private

Definition at line 88 of file CbmKFTrackQA.h.

Referenced by Exec(), and Init().

◆ fMCTracksBranchName

TString CbmKFTrackQA::fMCTracksBranchName
private

Definition at line 73 of file CbmKFTrackQA.h.

Referenced by Init(), and SetMCTrackBranchName().

◆ fMuchTrackArray

TClonesArray* CbmKFTrackQA::fMuchTrackArray
private

Definition at line 87 of file CbmKFTrackQA.h.

Referenced by Exec(), and Init().

◆ fMuchTrackBranchName

TString CbmKFTrackQA::fMuchTrackBranchName
private

Definition at line 72 of file CbmKFTrackQA.h.

Referenced by Init(), and SetMuchTrackBranchName().

◆ fMuchTrackMatchArray

TClonesArray* CbmKFTrackQA::fMuchTrackMatchArray
private

Definition at line 93 of file CbmKFTrackQA.h.

Referenced by Exec(), and Init().

◆ fMuchTrackMatchBranchName

TString CbmKFTrackQA::fMuchTrackMatchBranchName
private

Definition at line 78 of file CbmKFTrackQA.h.

Referenced by Init(), and SetMuchTrackMatchBranchName().

◆ fNEvents

Int_t CbmKFTrackQA::fNEvents
private

Definition at line 102 of file CbmKFTrackQA.h.

Referenced by Exec().

◆ fOutFile

TFile* CbmKFTrackQA::fOutFile
private

Definition at line 99 of file CbmKFTrackQA.h.

Referenced by CbmKFTrackQA(), and Finish().

◆ fOutFileName

TString CbmKFTrackQA::fOutFileName
private

Definition at line 98 of file CbmKFTrackQA.h.

Referenced by CbmKFTrackQA(), and Finish().

◆ fPDGtoIndexMap

std::map<int, int> CbmKFTrackQA::fPDGtoIndexMap
private

Definition at line 103 of file CbmKFTrackQA.h.

Referenced by CbmKFTrackQA(), and GetHistoIndex().

◆ fRichBranchName

TString CbmKFTrackQA::fRichBranchName
private

Definition at line 68 of file CbmKFTrackQA.h.

Referenced by Init(), and SetRichBranchName().

◆ fRichRingArray

TClonesArray* CbmKFTrackQA::fRichRingArray
private

Definition at line 83 of file CbmKFTrackQA.h.

Referenced by Exec(), and Init().

◆ fRichRingMatchArray

TClonesArray* CbmKFTrackQA::fRichRingMatchArray
private

Definition at line 90 of file CbmKFTrackQA.h.

Referenced by Exec(), and Init().

◆ fRichRingMatchBranchName

TString CbmKFTrackQA::fRichRingMatchBranchName
private

Definition at line 75 of file CbmKFTrackQA.h.

Referenced by Init().

◆ fStsTrackArray

TClonesArray* CbmKFTrackQA::fStsTrackArray
private

Definition at line 81 of file CbmKFTrackQA.h.

Referenced by Exec(), and Init().

◆ fStsTrackBranchName

TString CbmKFTrackQA::fStsTrackBranchName
private

Definition at line 66 of file CbmKFTrackQA.h.

Referenced by Init(), and SetStsTrackBranchName().

◆ fStsTrackMatchArray

TClonesArray* CbmKFTrackQA::fStsTrackMatchArray
private

Definition at line 89 of file CbmKFTrackQA.h.

Referenced by Exec(), and Init().

◆ fStsTrackMatchBranchName

TString CbmKFTrackQA::fStsTrackMatchBranchName
private

Definition at line 74 of file CbmKFTrackQA.h.

Referenced by Init(), and SetTrackMatchBranchName().

◆ fTofBranchName

TString CbmKFTrackQA::fTofBranchName
private

Definition at line 71 of file CbmKFTrackQA.h.

Referenced by Init(), and SetTofBranchName().

◆ fTofHitArray

TClonesArray* CbmKFTrackQA::fTofHitArray
private

Definition at line 86 of file CbmKFTrackQA.h.

Referenced by Exec(), and Init().

◆ fTofHitMatchArray

TClonesArray* CbmKFTrackQA::fTofHitMatchArray
private

Definition at line 92 of file CbmKFTrackQA.h.

Referenced by Exec(), and Init().

◆ fTofHitMatchBranchName

TString CbmKFTrackQA::fTofHitMatchBranchName
private

Definition at line 77 of file CbmKFTrackQA.h.

Referenced by Init().

◆ fTofPoints

CbmMCDataArray* CbmKFTrackQA::fTofPoints
private

Definition at line 95 of file CbmKFTrackQA.h.

Referenced by Exec(), and Init().

◆ fTrdBranchName

TString CbmKFTrackQA::fTrdBranchName
private

Definition at line 69 of file CbmKFTrackQA.h.

Referenced by Init(), and SetTrdBranchName().

◆ fTrdHitArray

TClonesArray* CbmKFTrackQA::fTrdHitArray
private

Definition at line 85 of file CbmKFTrackQA.h.

Referenced by Exec(), and Init().

◆ fTrdHitBranchName

TString CbmKFTrackQA::fTrdHitBranchName
private

Definition at line 70 of file CbmKFTrackQA.h.

Referenced by Init(), and SetTrdHitBranchName().

◆ fTrdTrackArray

TClonesArray* CbmKFTrackQA::fTrdTrackArray
private

Definition at line 84 of file CbmKFTrackQA.h.

Referenced by Exec(), and Init().

◆ fTrdTrackMatchArray

TClonesArray* CbmKFTrackQA::fTrdTrackMatchArray
private

Definition at line 91 of file CbmKFTrackQA.h.

Referenced by Exec(), and Init().

◆ fTrdTrackMatchBranchName

TString CbmKFTrackQA::fTrdTrackMatchBranchName
private

Definition at line 76 of file CbmKFTrackQA.h.

Referenced by Init().

◆ hMuchHisto

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

Definition at line 114 of file CbmKFTrackQA.h.

Referenced by CbmKFTrackQA(), and Exec().

◆ hRichRingHisto2D

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

Definition at line 117 of file CbmKFTrackQA.h.

Referenced by CbmKFTrackQA(), and Exec().

◆ hStsFitHisto

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

Definition at line 111 of file CbmKFTrackQA.h.

Referenced by CbmKFTrackQA(), and Exec().

◆ hStsHisto

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

Definition at line 108 of file CbmKFTrackQA.h.

Referenced by CbmKFTrackQA(), and Exec().

◆ hTofHisto2D

TH2F* CbmKFTrackQA::hTofHisto2D[14][NTofHisto2D]
private

Definition at line 129 of file CbmKFTrackQA.h.

Referenced by CbmKFTrackQA(), and Exec().

◆ hTrdHisto

TH1F* CbmKFTrackQA::hTrdHisto[14][NTrdHisto]
private

Definition at line 122 of file CbmKFTrackQA.h.

Referenced by CbmKFTrackQA(), and Exec().

◆ hTrdHisto2D

TH2F* CbmKFTrackQA::hTrdHisto2D[14][NTrdHisto2D]
private

Definition at line 126 of file CbmKFTrackQA.h.

Referenced by CbmKFTrackQA(), and Exec().

◆ NMuchHisto

const int CbmKFTrackQA::NMuchHisto = 5
staticprivate

Definition at line 113 of file CbmKFTrackQA.h.

Referenced by CbmKFTrackQA(), and Exec().

◆ NRichRingHisto2D

const int CbmKFTrackQA::NRichRingHisto2D = 3
staticprivate

Definition at line 116 of file CbmKFTrackQA.h.

Referenced by CbmKFTrackQA().

◆ NStsHisto

const int CbmKFTrackQA::NStsHisto = 3
staticprivate

Definition at line 107 of file CbmKFTrackQA.h.

Referenced by CbmKFTrackQA(), and Exec().

◆ NTofHisto2D

const int CbmKFTrackQA::NTofHisto2D = 2
staticprivate

Definition at line 128 of file CbmKFTrackQA.h.

Referenced by CbmKFTrackQA().

◆ NTrdHisto

const int CbmKFTrackQA::NTrdHisto = 2
staticprivate

Definition at line 121 of file CbmKFTrackQA.h.

Referenced by CbmKFTrackQA(), and Exec().

◆ NTrdHisto2D

const int CbmKFTrackQA::NTrdHisto2D = 1
staticprivate

Definition at line 125 of file CbmKFTrackQA.h.


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