// ------------------------------------------------------------------------- // ----- CbmRichLightSpotMC header file ----- // ----- Created 09/02/05 Boris.Polichtchouk@cern.ch ----- // ------------------------------------------------------------------------- /** CbmRichLightSpotMC.h *@author Boris Polichtchouk ** ** Light spot in RICH photodetector that holds MCPoints instead of hits. **/ #ifndef CBMRICHLIGHTSPOTMC_H #define CBMRICHLIGHTSPOTMC_H #include "CbmRichRing.h" class TArrayI; class CbmRichLightSpotMC : public CbmRichRing { public: CbmRichLightSpotMC(); virtual ~CbmRichLightSpotMC() {} void AddMCPointIndex(Int_t &mcpoint); Int_t GetNPoints() {return fNpoints;} virtual void Print(const Option_t *opt="") const; void RingFit(); protected: Int_t fNpoints; // Number of MC points in this light spot TArrayI *fMCPointIndex; // indices of MC points giving this light spot ClassDef(CbmRichLightSpotMC,1) }; #endif // CBMRICHLIGHTSPOTMC_H