#ifndef PNDMVDCLUSTER_HH #define PNDMVDCLUSTER_HH #include #include #include "TVector3.h" #include "CbmHit.h" // #include "DetPlane.h" //class PndMvdCluster : public TObject{ class PndMvdCluster : public CbmHit{ public: PndMvdCluster(); PndMvdCluster(const PndMvdCluster& c); PndMvdCluster(unsigned int frontend, unsigned int wafer, unsigned int size, Double_t totalde, Double_t meanTime, std::string detPart, Int_t mcid); PndMvdCluster(std::string detPart, Int_t detID, TVector3& pos, TVector3& dpos, Int_t index); PndMvdCluster(std::string detPart, Int_t detID, TVector3& pos, TVector3& dpos, Int_t index, const TVector3& o, const TVector3& u, const TVector3& v); ~PndMvdCluster(); const unsigned int getFrontend() const {return fFrontend;}; const unsigned int getWafer() const {return fWafer;}; const unsigned int getClusterSize() const {return fClusterSize;}; const Double_t getTotaldE() const {return fTotaldE;}; const Double_t getMeanTime() const {return fMeanTime;}; const std::string getDetectorPart() const {return fDetPart;}; const unsigned int getMcTrackId() const {return fMcid;}; // void setDetPlane(const TVector3& o, const TVector3& u, const TVector3& v); // const DetPlane getDetPlane() const {return fDetPlane;} void Print( std::ostream&) const; /** Vitual methodPrint from CbmHit **/ virtual void Print(const Option_t* opt = 0)const; private: unsigned int fFrontend; unsigned int fWafer; unsigned int fClusterSize; Double_t fTotaldE; Double_t fMeanTime; std::string fDetPart; Int_t fMcid; // DetPlane fDetPlane; ClassDef(PndMvdCluster,2); }; #endif