Go to the documentation of this file.
2 #ifndef CBM_RICH_RECO_QA
3 #define CBM_RICH_RECO_QA
43 virtual void Exec(Option_t* option);
63 void DrawFromFile(
const string& fileName,
const string& outputDir);
139 TClonesArray* fMCTracks;
140 TClonesArray* fRichPoints;
141 TClonesArray* fRichHits;
142 TClonesArray* fRichRings;
143 TClonesArray* fRichRingMatches;
144 TClonesArray* fGlobalTracks;
145 TClonesArray* fStsTracks;
146 TClonesArray* fStsTrackMatches;
147 TClonesArray* fRichProjections;
151 std::map<Int_t, Int_t> fNofHitsInRingMap;
153 vector<TCanvas*> fCanvas;
bool WasRingMatched(Int_t mcTrackId)
Generates beam ions for transport simulation.
virtual InitStatus Init()
Inherited from FairTask.
bool WasRichProjectionMatched(Int_t stsTrackId)
CbmRichRecoQa & operator=(const CbmRichRecoQa &)
Assignment operator.
virtual ~CbmRichRecoQa()
Standard destructor.
void FillRichRingNofHits()
Fill map mcTrackId -> nof RICH hits.
CbmRichRecoQa(const CbmRichRecoQa &)
Copy constructor.
void DrawFromFile(const string &fileName, const string &outputDir)
Draw histogram from file.
virtual void Exec(Option_t *option)
Inherited from FairTask.
bool WasRingFound(Int_t mcTrackId)
void SetOutputDir(const string &dir)
Set output directory where you want to write results (figures and json).
virtual void Finish()
Inherited from FairTask.
string GetMeanRmsOverflowString(TH1 *h, Bool_t withOverflow=true)
Return string with mean, RMS and overflow percent for input TH1.
void DrawHist()
Draw histograms.
CbmRichRecoQa()
Standard constructor.
void InitHistograms()
Initialize histograms.
void FillRingTrackDistance()
Fill histogramms related to ring track distance.
void RingTrackMismatchSource()
Fill histograms related to study of the source of ring-track mismatch.
void DrawRingTrackDistHistWithSuffix(const string &suffix)
Draw histograms related to ring-track distance for pions or electrons (+/-).
CbmDigiManager * fDigiMan
static Bool_t IsMcPion(const CbmMCTrack *mctrack)
static Bool_t IsMcPrimaryElectron(const CbmMCTrack *mctrack)
bool HasRichProjection(Int_t stsTrackId)