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

#include <CbmKFParticleFinderQa.h>

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

Public Member Functions

 CbmKFParticleFinderQa (const char *name="CbmKFParticleFinderQa", Int_t iVerbose=0, const KFParticleTopoReconstructor *tr=nullptr, TString outFileName="CbmKFParticleFinderQa.root")
 
 ~CbmKFParticleFinderQa ()
 
void SetEffFileName (const TString &name)
 
virtual InitStatus Init ()
 
virtual void Exec (Option_t *opt)
 
virtual void Finish ()
 
void SetPrintEffFrequency (Int_t n)
 
void SaveParticles (Bool_t b=1)
 
void SaveMCParticles (Bool_t b=1)
 
void SetSuperEventAnalysis ()
 
void SetCheckDecayQA ()
 
void SetReferenceResults (TString t)
 
void SetDecayToAnalyse (int iDecay)
 
bool IsTestPassed ()
 

Private Member Functions

const CbmKFParticleFinderQaoperator= (const CbmKFParticleFinderQa &)
 
 CbmKFParticleFinderQa (const CbmKFParticleFinderQa &)
 
void WriteHistosCurFile (TObject *obj)
 
void FitDecayQAHistograms (float sigma[14], const bool saveReferenceResults=false) const
 
void CheckDecayQA ()
 
 ClassDef (CbmKFParticleFinderQa, 1)
 

Private Attributes

bool fIsInitialized {false}
 
bool fIsMcData {false}
 
TClonesArray * fRecoEvents {nullptr}
 
CbmMCDataArrayfMCTrackArray {nullptr}
 Array of CbmEvent objects.
 
TClonesArray * fMCTrackArrayEvent {nullptr}
 
CbmMCEventListfMcEventList {nullptr}
 
TClonesArray * fTrackMatchArray {nullptr}
 
TClonesArray * fRecParticles {nullptr}
 
TClonesArray * fMCParticles {nullptr}
 
TClonesArray * fMatchParticles {nullptr}
 
Bool_t fSaveParticles {false}
 
Bool_t fSaveMCParticles {false}
 
bool fLegacyEventMode {false}
 
TString fOutFileName {"CbmKFParticleFinderQa.root"}
 
TFile * fOutFile {nullptr}
 
TString fEfffileName {"Efficiency.txt"}
 
KFTopoPerformance * fTopoPerformance {nullptr}
 
Int_t fPrintFrequency {100}
 
Int_t fNTimeSlices {0}
 
Double_t fTime [5]
 
bool fSuperEventAnalysis {false}
 
TString fReferenceResults {"./"}
 
int fDecayToAnalyse {-1}
 
bool fCheckDecayQA {false}
 
bool fTestOk {false}
 

Detailed Description

Definition at line 24 of file CbmKFParticleFinderQa.h.

Constructor & Destructor Documentation

◆ CbmKFParticleFinderQa() [1/2]

CbmKFParticleFinderQa::CbmKFParticleFinderQa ( const char * name = "CbmKFParticleFinderQa",
Int_t iVerbose = 0,
const KFParticleTopoReconstructor * tr = nullptr,
TString outFileName = "CbmKFParticleFinderQa.root" )

Definition at line 43 of file CbmKFParticleFinderQa.cxx.

References fOutFile, fOutFileName, fTime, and fTopoPerformance.

◆ ~CbmKFParticleFinderQa()

CbmKFParticleFinderQa::~CbmKFParticleFinderQa ( )

◆ CbmKFParticleFinderQa() [2/2]

CbmKFParticleFinderQa::CbmKFParticleFinderQa ( const CbmKFParticleFinderQa & )
private

Member Function Documentation

◆ CheckDecayQA()

void CbmKFParticleFinderQa::CheckDecayQA ( )
private

◆ ClassDef()

CbmKFParticleFinderQa::ClassDef ( CbmKFParticleFinderQa ,
1  )
private

◆ Exec()

◆ Finish()

void CbmKFParticleFinderQa::Finish ( )
virtual

◆ FitDecayQAHistograms()

void CbmKFParticleFinderQa::FitDecayQAHistograms ( float sigma[14],
const bool saveReferenceResults = false ) const
private

Definition at line 490 of file CbmKFParticleFinderQa.cxx.

References fDecayToAnalyse, and fTopoPerformance.

Referenced by CheckDecayQA().

◆ Init()

◆ IsTestPassed()

bool CbmKFParticleFinderQa::IsTestPassed ( )
inline

Definition at line 50 of file CbmKFParticleFinderQa.h.

References fTestOk.

◆ operator=()

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

◆ SaveMCParticles()

void CbmKFParticleFinderQa::SaveMCParticles ( Bool_t b = 1)
inline

Definition at line 41 of file CbmKFParticleFinderQa.h.

References fSaveMCParticles.

◆ SaveParticles()

void CbmKFParticleFinderQa::SaveParticles ( Bool_t b = 1)
inline

Definition at line 40 of file CbmKFParticleFinderQa.h.

References fSaveParticles.

◆ SetCheckDecayQA()

void CbmKFParticleFinderQa::SetCheckDecayQA ( )
inline

Definition at line 47 of file CbmKFParticleFinderQa.h.

References fCheckDecayQA.

◆ SetDecayToAnalyse()

void CbmKFParticleFinderQa::SetDecayToAnalyse ( int iDecay)
inline

Definition at line 49 of file CbmKFParticleFinderQa.h.

References fDecayToAnalyse.

◆ SetEffFileName()

void CbmKFParticleFinderQa::SetEffFileName ( const TString & name)
inline

Definition at line 32 of file CbmKFParticleFinderQa.h.

References fEfffileName.

◆ SetPrintEffFrequency()

void CbmKFParticleFinderQa::SetPrintEffFrequency ( Int_t n)

Definition at line 484 of file CbmKFParticleFinderQa.cxx.

References fPrintFrequency, and fTopoPerformance.

◆ SetReferenceResults()

void CbmKFParticleFinderQa::SetReferenceResults ( TString t)
inline

Definition at line 48 of file CbmKFParticleFinderQa.h.

References fReferenceResults.

◆ SetSuperEventAnalysis()

void CbmKFParticleFinderQa::SetSuperEventAnalysis ( )
inline

Definition at line 44 of file CbmKFParticleFinderQa.h.

References fSuperEventAnalysis.

◆ WriteHistosCurFile()

void CbmKFParticleFinderQa::WriteHistosCurFile ( TObject * obj)
private

Definition at line 463 of file CbmKFParticleFinderQa.cxx.

References WriteHistosCurFile().

Referenced by Finish(), and WriteHistosCurFile().

Member Data Documentation

◆ fCheckDecayQA

bool CbmKFParticleFinderQa::fCheckDecayQA {false}
private

Definition at line 101 of file CbmKFParticleFinderQa.h.

Referenced by Finish(), and SetCheckDecayQA().

◆ fDecayToAnalyse

int CbmKFParticleFinderQa::fDecayToAnalyse {-1}
private

◆ fEfffileName

TString CbmKFParticleFinderQa::fEfffileName {"Efficiency.txt"}
private

Definition at line 86 of file CbmKFParticleFinderQa.h.

Referenced by Finish(), and SetEffFileName().

◆ fIsInitialized

bool CbmKFParticleFinderQa::fIsInitialized {false}
private

Definition at line 63 of file CbmKFParticleFinderQa.h.

Referenced by Exec(), and Init().

◆ fIsMcData

bool CbmKFParticleFinderQa::fIsMcData {false}
private

Definition at line 64 of file CbmKFParticleFinderQa.h.

Referenced by Exec(), and Init().

◆ fLegacyEventMode

bool CbmKFParticleFinderQa::fLegacyEventMode {false}
private

Definition at line 81 of file CbmKFParticleFinderQa.h.

◆ fMatchParticles

TClonesArray* CbmKFParticleFinderQa::fMatchParticles {nullptr}
private

Definition at line 76 of file CbmKFParticleFinderQa.h.

Referenced by Exec(), Init(), and ~CbmKFParticleFinderQa().

◆ fMcEventList

CbmMCEventList* CbmKFParticleFinderQa::fMcEventList {nullptr}
private

Definition at line 70 of file CbmKFParticleFinderQa.h.

Referenced by Exec(), and Init().

◆ fMCParticles

TClonesArray* CbmKFParticleFinderQa::fMCParticles {nullptr}
private

Definition at line 75 of file CbmKFParticleFinderQa.h.

Referenced by Exec(), Init(), and ~CbmKFParticleFinderQa().

◆ fMCTrackArray

CbmMCDataArray* CbmKFParticleFinderQa::fMCTrackArray {nullptr}
private

Array of CbmEvent objects.

Definition at line 68 of file CbmKFParticleFinderQa.h.

Referenced by Exec(), and Init().

◆ fMCTrackArrayEvent

TClonesArray* CbmKFParticleFinderQa::fMCTrackArrayEvent {nullptr}
private

Definition at line 69 of file CbmKFParticleFinderQa.h.

◆ fNTimeSlices

Int_t CbmKFParticleFinderQa::fNTimeSlices {0}
private

Definition at line 92 of file CbmKFParticleFinderQa.h.

Referenced by Exec().

◆ fOutFile

TFile* CbmKFParticleFinderQa::fOutFile {nullptr}
private

Definition at line 85 of file CbmKFParticleFinderQa.h.

Referenced by CbmKFParticleFinderQa(), and Finish().

◆ fOutFileName

TString CbmKFParticleFinderQa::fOutFileName {"CbmKFParticleFinderQa.root"}
private

Definition at line 84 of file CbmKFParticleFinderQa.h.

Referenced by CbmKFParticleFinderQa(), and Finish().

◆ fPrintFrequency

Int_t CbmKFParticleFinderQa::fPrintFrequency {100}
private

Definition at line 91 of file CbmKFParticleFinderQa.h.

Referenced by Exec(), and SetPrintEffFrequency().

◆ fRecoEvents

TClonesArray* CbmKFParticleFinderQa::fRecoEvents {nullptr}
private

Definition at line 67 of file CbmKFParticleFinderQa.h.

Referenced by Init().

◆ fRecParticles

TClonesArray* CbmKFParticleFinderQa::fRecParticles {nullptr}
private

Definition at line 74 of file CbmKFParticleFinderQa.h.

Referenced by Exec(), Init(), and ~CbmKFParticleFinderQa().

◆ fReferenceResults

TString CbmKFParticleFinderQa::fReferenceResults {"./"}
private

Definition at line 99 of file CbmKFParticleFinderQa.h.

Referenced by CheckDecayQA(), and SetReferenceResults().

◆ fSaveMCParticles

Bool_t CbmKFParticleFinderQa::fSaveMCParticles {false}
private

Definition at line 79 of file CbmKFParticleFinderQa.h.

Referenced by Exec(), Init(), SaveMCParticles(), and ~CbmKFParticleFinderQa().

◆ fSaveParticles

Bool_t CbmKFParticleFinderQa::fSaveParticles {false}
private

Definition at line 78 of file CbmKFParticleFinderQa.h.

Referenced by Exec(), Init(), SaveParticles(), and ~CbmKFParticleFinderQa().

◆ fSuperEventAnalysis

bool CbmKFParticleFinderQa::fSuperEventAnalysis {false}
private

Definition at line 96 of file CbmKFParticleFinderQa.h.

Referenced by Exec(), Finish(), and SetSuperEventAnalysis().

◆ fTestOk

bool CbmKFParticleFinderQa::fTestOk {false}
private

Definition at line 102 of file CbmKFParticleFinderQa.h.

Referenced by CheckDecayQA(), and IsTestPassed().

◆ fTime

Double_t CbmKFParticleFinderQa::fTime[5]
private

Definition at line 93 of file CbmKFParticleFinderQa.h.

Referenced by CbmKFParticleFinderQa(), Exec(), and Finish().

◆ fTopoPerformance

KFTopoPerformance* CbmKFParticleFinderQa::fTopoPerformance {nullptr}
private

◆ fTrackMatchArray

TClonesArray* CbmKFParticleFinderQa::fTrackMatchArray {nullptr}
private

Definition at line 71 of file CbmKFParticleFinderQa.h.

Referenced by Exec(), and Init().


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