Go to the documentation of this file.
2 #ifndef CBM_RICH_RECO_TB_QA
3 #define CBM_RICH_RECO_TB_QA
35 virtual InitStatus Init();
40 virtual void Exec(Option_t* option);
45 virtual void Finish();
57 void DrawFromFile(
const string& fileName,
const string& outputDir);
63 void InitHistograms();
71 void RingRecoEfficiency();
73 Int_t GetNofPrimaryMcTracks(Int_t iEv);
76 IsCherenkovPhoton(
const CbmRichPoint* point, Int_t fileId, Int_t eventId);
78 Bool_t IsCherenkovPhotonFromPrimaryElectron(
const CbmRichPoint* point,
82 Bool_t IsCherenkovPhotonFromSecondaryElectron(
const CbmRichPoint* point,
86 Bool_t IsMcPrimaryElectron(
const CbmMCTrack* mctrack);
88 Bool_t IsCherenkovPhotonFromPion(
const CbmRichPoint* point,
94 void DrawTimeLog(
const string& hMainName,
96 bool withNoise =
false);
virtual ~CbmRichRecoTbQa()
Standard destructor.
CbmMCDataArray * fMCTracks
Access to a MC data branch for time-based analysis.
void SetOutputDir(const string &dir)
Set output directory where you want to write results (figures and json).
CbmMCEventList * fEventList
CbmRichRecoTbQa(const CbmRichRecoTbQa &)
Copy constructor.
Container class for MC events with number, file and start time.
TClonesArray * fRichRings
CbmMCDataArray * fStsPoints
CbmDigiManager * fDigiMan
CbmRichRecoTbQa & operator=(const CbmRichRecoTbQa &)
Assignment operator.
vector< pair< Int_t, Int_t > > fRecRings
TClonesArray * fRichRingMatches
CbmMCDataArray * fRichPoints
void DrawFromFile(const string &fileName, const string &outputDir)
Draw histogram from file.