// ------------------------------------------------------------------------- // ----- CbmRichLightSpot header file ----- // ----- Created 15/09/04 Y.Kharlov@gsi.de ----- // ------------------------------------------------------------------------- /** CbmRichLightSpot.h *@author Yuri Kharlov ** ** Light spot in Rich Photodetector **/ #ifndef CBMRICHLIGHTSPOT_H #define CBMRICHLIGHTSPOT_H #include "CbmRichRing.h" class TArrayI; class CbmRichLightSpot : public CbmRichRing { public: CbmRichLightSpot(); CbmRichLightSpot ( const Double_t & x, const Double_t & y, const Double_t & r ); virtual ~CbmRichLightSpot(); void AddHitIndex(Int_t &hit); Int_t GetHitIndex (Int_t i); Int_t GetNhits() {return fNhits;} virtual void Print(const Option_t *opt="") const; void RingFit(); void RingFitCOP(); void RingRobustFitCOP(); void RingFitTAU(); virtual const Int_t GetTrackID(); virtual void SetRecFlag ( Int_t iflag ); virtual const Int_t GetRecFlag(); protected: Int_t fNhits; // Number of hits in this light spot TArrayI *fHitIndex; // indices of hits giving this light spot Int_t fIflag; // flag to indicate quality/ reconstruction status of ring: // -1 default value // 1 ring/spot correctly reconstructed // 2 additional quality criteria (number of STS and RICH hits) ok // 5 fake ring with 3-radius and required RICH hits (looks like "good" e-ring ClassDef(CbmRichLightSpot,1) }; #endif // CBMRICHLIGHTSPOT_H