/** CbmMuchDigiMatch.h **@author M.Ryzhinskiy **@since 23.03.07 **@version 1.0 ** ** Data class for matching CbmMuchDigi with CbmMuchPoint. Up to three ** matches are possible. ** The indices of CbmMuchDigi and CbmMuchDigiMatch correspond to that ** in their respective arrays. ** The class holds the indices of all MuchPoints corresponding to ** the MuchDigi. **/ #ifndef CBMMUCHDIGIMATCH_H #define CBMMUCHDIGIMATCH_H 1 #include "TObject.h" class CbmMuchDigiMatch : public TObject { public: /** Default constructor **/ CbmMuchDigiMatch(); /** Standard constructor **/ CbmMuchDigiMatch(Int_t iPoint); /** Destructor **/ virtual ~CbmMuchDigiMatch(); /** Add a MuchPoint index *@value Number of indices present **/ Int_t AddPoint(Int_t iPoint); /** Accessor to MuchPoint indices **/ Int_t GetRefIndex(Int_t i = 0) const; private: Int_t fRefIndex[3]; ClassDef(CbmMuchDigiMatch,1); }; #endif