5#ifndef CBM_RICH_RECO_QA
6#define CBM_RICH_RECO_QA
47 virtual void Exec(Option_t* option);
67 void DrawFromFile(
const std::string& fileName,
const std::string& outputDir);
Access to a MC data branch for time-based analysis.
Container class for MC events with number, file and start time.
TClonesArray * fRichProjections
bool WasRichProjectionMatched(int stsTrackId)
void RingTrackMismatchSource()
Fill histograms related to study of the source of ring-track mismatch.
virtual ~CbmRichRecoQa()
Standard destructor.
TClonesArray * fGlobalTracks
virtual InitStatus Init()
Inherited from FairTask.
void DrawRingTrackDist(const std::string &opt)
Draw histograms related to ring-track distance for pions or electrons (+/-).
virtual void Exec(Option_t *option)
Inherited from FairTask.
CbmMCDataArray * fMcTracks
void FillRingTrackDistance()
Fill histogramms related to ring track distance.
void InitHistograms()
Initialize histograms.
string GetMeanRmsOverflowString(TH1 *h, Bool_t withOverflow=true)
Return string with mean, RMS and overflow percent for input TH1.
void DrawMismatchSrc()
Draw MismatchSrc histogram and canvas.
TClonesArray * fRichRings
bool HasRichProjection(Int_t stsTrackId)
bool WasRingMatched(Int_t mcTrackId)
std::map< CbmLink, int > fNofHitsInRingMap
TClonesArray * fRichRingMatches
void DrawFromFile(const std::string &fileName, const std::string &outputDir)
Draw histogram from file.
void SetOutputDir(const std::string &dir)
Set output directory where you want to write results (figures and json).
TClonesArray * fStsTracks
CbmDigiManager * fDigiMan
TClonesArray * fStsTrackMatches
CbmMCEventList * fEventList
virtual void Finish()
Inherited from FairTask.
CbmRichRecoQa(const CbmRichRecoQa &)
Copy constructor.
bool WasRingFound(Int_t mcTrackId)
static bool IsMcPrimaryElectron(const CbmMCTrack *mctrack)
TClonesArray * fRichPoints
void DrawHist()
Draw histograms.
CbmRichRecoQa()
Standard constructor.
static bool IsMcPion(const CbmMCTrack *mctrack)
void FillRichRingNofHits()
Fill map mcTrackId -> nof RICH hits.
CbmRichRecoQa & operator=(const CbmRichRecoQa &)
Assignment operator.
Data class with information on a STS local track.