1 #ifndef MCBM_RICH_QA_REAL
2 #define MCBM_RICH_QA_REAL
41 virtual InitStatus Init();
46 virtual void Exec(Option_t* option);
51 virtual void Finish();
63 void DrawFromFile(
const string& fileName,
const string& outputDir);
120 if (val < 10.)
return true;
129 const std::vector<CbmTofDigi>* fT0Digis =
nullptr;
163 Int_t fTracksinRich = 0;
165 Int_t fRingsWithTrack[6] =
168 Int_t fTracksinRichWithRichHits[4] = {0, 0, 0, 0};
173 bool fRestrictToAcc =
false;
174 bool fRestrictToFullAcc =
false;
176 bool fDoWriteHistToFile =
true;
177 bool fDoDrawCanvas =
true;
179 bool fDigiHitsInitialized =
false;
182 bool RestrictToFullAcc(TVector3&
pos);
183 bool RestrictToFullAcc(Double_t
x, Double_t
y);
185 Double_t fCbmEventStartTime = 0.;
199 void InitHistograms();
213 DrawRing(ring, track,
false);
217 DrawRing(
CbmRichRing* ring, std::vector<CbmTofTracklet*> track,
bool full);
219 void DrawRichTofEv(
const std::vector<int> richHitIndx,
220 const std::vector<int> tofTrackIndx);
222 std::pair<int, double>
224 const std::vector<CbmTofTracklet*> track);
227 std::vector<int>& ringIndx);
231 template<
typename T = CbmRichHit>
233 if ((hit->GetToT() > fTotRichMin) && (hit->GetToT() < fTotRichMax))
246 Bool_t cutDistance(std::pair<int, double>& clTrack);