// ------------------------------------------------------------------------- // ----- PndDrcHit header file ----- // ----- Created 11/10/06 by Annalisa Cecchi ----- // ----- ----- // ------------------------------------------------------------------------- #ifndef PNDDRCHIT_H #define PNDDRCHIT_H #include "FairHit.h" class PndDrcHit : public FairHit { public: /** Default constructor **/ PndDrcHit(); PndDrcHit(Int_t detID, TVector3 pos, TVector3 dpos, Double_t thetaC, Double_t errThetaC, Int_t index); /** Copy constructor **/ PndDrcHit(const PndDrcHit& hit) { *this = hit; }; /** Destructor **/ virtual ~PndDrcHit(); /** Output to screen **/ virtual void Print(const Option_t* opt ="") const; /** Modifiers **/ /** Accessors **/ virtual Double_t GetThetaC() {return fThetaC;} virtual Double_t GetErrThetaC() {return fErrThetaC;} virtual Int_t GetRefIndex() {return fRefIndex;} TVector3 GetPosition() const { return TVector3(fX, fY, fZ); } protected: // TVector3 fmom; Double_t fThetaC, fErrThetaC; Int_t fRefIndex; ClassDef(PndDrcHit,1) }; #endif //PNDDRCHIT_H