5#ifndef CBM_RICH_RECO_TB_QA
6#define CBM_RICH_RECO_TB_QA
39 virtual InitStatus
Init();
44 virtual void Exec(Option_t* option);
61 void DrawFromFile(
const string& fileName,
const string& outputDir);
91 void DrawTimeLog(
const string& hMainName, Int_t nofLogEvents,
bool withNoise =
false);
Access to a MC data branch for time-based analysis.
Container class for MC events with number, file and start time.
Bool_t IsCherenkovPhotonFromPrimaryElectron(const CbmRichPoint *point, Int_t fileId, Int_t eventId)
void RingRecoEfficiency()
virtual ~CbmRichRecoTbQa()
Standard destructor.
void SetOutputDir(const string &dir)
Set output directory where you want to write results (figures and json).
Bool_t IsMcPrimaryElectron(const CbmMCTrack *mctrack)
CbmRichRecoTbQa(const CbmRichRecoTbQa &)
Copy constructor.
TClonesArray * fRichRings
TClonesArray * fRichRingMatches
CbmMCDataArray * fStsPoints
void InitHistograms()
Initialize histograms.
virtual InitStatus Init()
Inherited from FairTask.
CbmRichRecoTbQa & operator=(const CbmRichRecoTbQa &)
Assignment operator.
CbmMCDataArray * fRichPoints
void DrawTimeLog(const string &hMainName, Int_t nofLogEvents, bool withNoise=false)
Int_t GetNofPrimaryMcTracks(Int_t iEv)
Bool_t IsCherenkovPhoton(const CbmRichPoint *point, Int_t fileId, Int_t eventId)
CbmRichRecoTbQa()
Standard constructor.
virtual void Exec(Option_t *option)
Inherited from FairTask.
Bool_t IsCherenkovPhotonFromPion(const CbmRichPoint *point, Int_t fileId, Int_t eventId)
CbmDigiManager * fDigiMan
CbmMCDataArray * fMCTracks
vector< CbmLink > fRecRings
Bool_t IsCherenkovPhotonFromSecondaryElectron(const CbmRichPoint *point, Int_t fileId, Int_t eventId)
CbmMCEventList * fEventList
Bool_t IsMcPion(const CbmMCTrack *mctrack)
virtual void Finish()
Inherited from FairTask.
void DrawFromFile(const string &fileName, const string &outputDir)
Draw histogram from file.