//---------------------------------------------------------- // // Description: // Storage class for Digis in the DCH // //---------------------------------------------------------- #ifndef PNDDCHDIGI_HH #define PNDDCHDIGI_HH #include "TObject.h" class PndDchPoint; class PndDchDigi : public TObject { public: PndDchDigi(); PndDchDigi(Double_t timeStamp, Int_t plane, Int_t chamber, Int_t wire, Double_t driftTime,Int_t refIndex); ~PndDchDigi(); Double_t GetTimeStamp() const {return fTimeStamp;} Int_t GetPlane() const {return fPlane;} Int_t GetChamber() const {return fChamber;} Int_t GetWire() const {return fWire;} Double_t GetDriftTime() const {return fDriftTime;} Int_t GetRefIndex() const { return fRefIndex;} // Output to screen virtual void Print(const Option_t*) const; private: Double_t fTimeStamp; Int_t fPlane; Int_t fChamber; Int_t fWire; Double_t fDriftTime; Int_t fRefIndex; // Index of CbmMCPoint for this hit ClassDef(PndDchDigi,1); }; #endif