// ------------------------------------------------------------------------- // PndDchHit header // class for reconstructed hits on DCH // ------------------------------------------------------------------------- #ifndef PNDDCHHIT_H #define PNDDCHHIT_H #include "TVector3.h" #include "CbmHit.h" class PndDchHit : public CbmHit { public: /** Default constructor **/ PndDchHit(); /** Standard constructor **/ PndDchHit(Int_t trackID, Int_t detID, TVector3 pos, TVector3 dpos, Int_t index); /** Destructor **/ virtual ~PndDchHit(); /** Modifiers **/ void SetTrackID(Int_t id){fTrackID = id;}; /** Accessors **/ Int_t GetTrackID(){return fTrackID;}; TVector3 GetPosition() const { return TVector3(fX, fY, fZ); } /** Screen output **/ virtual void Print(const Option_t* opt = 0) const; private: Int_t fTrackID; ClassDef(PndDchHit,1); }; #endif