5#ifndef MCBM_RICH_QA_RICH_ONLY
6#define MCBM_RICH_QA_RICH_ONLY
44 virtual InitStatus
Init();
49 virtual void Exec(Option_t* option);
66 void DrawFromFile(
const string& fileName,
const string& outputDir);
193 void save_ICD(std::array<Double_t, 2304>& offsets,
unsigned int iteration);
195 void read_ICD(std::array<Double_t, 2304>& offsets,
unsigned int iteration);
Ring finder implementation based on Hough Transform method.
friend fscal max(fscal x, fscal y)
friend fscal min(fscal x, fscal y)
Class characterising one event by a collection of links (indices) to data objects,...
TClonesArray * fRichRings
virtual void Exec(Option_t *option)
Inherited from FairTask.
CbmRichMCbmQaRichOnly()
Standard constructor.
void SetIcdGeneration(bool val=true)
CbmDigiManager * fDigiMan
CbmRichMCbmSEDisplay * fSeDisplay
void DoRestrictToFullAcc(bool val=true)
bool doToT(CbmRichHit *hit)
std::array< Double_t, 2304 > ICD_offset
void SetMaxNofDrawnEvents(Int_t val=100)
void InitHistograms()
Initialize histograms.
void DrawRing(CbmRichRing *ring)
std::array< Double_t, 2304 > ICD_offset_read
void XOffsetHistos(Double_t val=0.)
void DrawFromFile(const string &fileName, const string &outputDir)
Draw histogram from file.
void read_ICD(std::array< Double_t, 2304 > &offsets, unsigned int iteration)
virtual void Finish()
Inherited from FairTask.
virtual InitStatus Init()
Inherited from FairTask.
void DoWriteHistToFile(bool val=true)
void save_ICD(std::array< Double_t, 2304 > &offsets, unsigned int iteration)
void analyseRing(CbmRichRing *ring, CbmEvent *ev)
void SetTriggerRichHits(Int_t val=0)
void SetOutputDir(const string &dir)
Set output directory where you want to write results (figures and json).
CbmRichMCbmQaRichOnly & operator=(const CbmRichMCbmQaRichOnly &)
Assignment operator.
void DrawEvent(CbmEvent *ev, std::vector< int > &ringIndx, bool full)
virtual ~CbmRichMCbmQaRichOnly()
Standard destructor.
void SetTotRich(Double_t min, Double_t max)
std::array< uint32_t, 2304 > ICD_offset_cnt
void DoDrawCanvas(bool val=true)
Bool_t cutRadius(CbmRichRing *ring)
CbmRichMCbmQaRichOnly(const CbmRichMCbmQaRichOnly &)
Copy constructor.
void DrawHist()
Draw histograms.
Provides information on attaching a TofHit to a TofTrack.