62 virtual InitStatus
Init();
67 virtual void Exec(Option_t* option);
83 void DrawFromFile(
const std::string& fileName,
const std::string& outputDir);
165 void DrawH2MeanRms(TH2* hist,
const std::string& canvasName);
172 void DrawPmtPoint(
const std::string& coordOpt,
const std::vector<int>& ids,
bool isDrawPixel);
Access to a MC data branch for time-based analysis.
Container class for MC events with number, file and start time.
RICH geometry checking and testing.
CbmDigiManager * fDigiMan
virtual ~CbmRichGeoTest()
Standard destructor.
CbmMCEventList * fEventList
TH1D * CreateAccVsMinNofHitsHist()
Create histogram: RICH detector acceptance vs. minimum required number of hits in ring.
void FillMcVsHitFitCircle(CbmRichRingLight *ring, CbmRichRingLight *ringMc)
Calculate difference between circle parameters for two fittings using hits and MC points for fit and ...
void RingParameters()
Loop over all rings in array and fill ring parameters histograms.
CbmMCDataArray * fMcTracks
CbmMCDataArray * fRichPoints
std::string CalcEfficiency(TH1 *histRec, TH1 *histAcc)
Calculate efficiency.
void InitHistograms()
Initialize histograms.
void SetOutputDir(const std::string &dir)
Set output directory where you want to write results (figures and json).
virtual void Finish()
Inherited from FairTask.
void ProcessHits()
Calculate residuals between hits and MC points and fill histograms.
CbmRichGeoTest()
Standard constructor.
void FillMcVsHitFitEllipse(CbmRichRingLight *ring, CbmRichRingLight *ringMc)
Calculate difference between ellipse parameters for two fitting using hits and MC points for fit and ...
CbmRichGeoTest(const CbmRichGeoTest &)
Copy constructor.
TClonesArray * fRichRings
void ProcessMc()
Fill MC histogram for detector acceptance calculation.
void FitAndFillHistCircle(int histIndex, CbmRichRingLight *ring, double momentum)
Fit ring using circle fitter and fill histograms.
void DrawPmtPoint(const std::string &coordOpt, const std::vector< int > &ids, bool isDrawPixel)
TClonesArray * fRichRingMatches
CbmRichRingFitterEllipseTau * fTauFit
void DrawH2MeanRms(TH2 *hist, const std::string &canvasName)
virtual InitStatus Init()
Inherited from FairTask.
void DrawHist()
Draw histograms.
virtual void Exec(Option_t *option)
Inherited from FairTask.
void SetDrawEventDisplay(bool draw)
void FitAndFillHistEllipse(int histIndex, CbmRichRingLight *ring, double momentum)
Fit ring using ellipse fitter and fill histograms.
CbmRichGeoTest & operator=(const CbmRichGeoTest &)
Assignment operator.
CbmRichRingFitterCOP * fCopFit
CbmRichRingLight CreateRingLightWithPoints(int fileId, int mcEventId, int mcTrackId)
void DrawRing(CbmRichRingLight *ringHit, CbmRichRingLight *ringPoint)
Draw ring in separate TCanvas.
void DrawFromFile(const std::string &fileName, const std::string &outputDir)
Draw histogram from file.
CbmMCDataArray * fRichRefPlanePoints
void SetDrawPmts(bool draw)
Here the ring is fitted with the COP algorithm from A. Ayriyan/G. Ososkov.
Here the ring is fitted with Taubin algorithm from A. Ayriyan, G. Ososkov, N. Chernov.