// ------------------------------------------------------------------------- // ----- 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, Int_t sensorId, TVector3& pos, TVector3& dpos, Double_t thetaC, Double_t errThetaC, Int_t index); /** Copy constructor **/ //PndDrcHit(const PndDrcHit& hit) { *this = hit; }; // not needed /** 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;} Int_t GetSensorId() {return fSensorId;} TVector3 GetPosition() const { return TVector3(fX, fY, fZ); } protected: Int_t fSensorId; Double_t fThetaC, fErrThetaC; ClassDef(PndDrcHit,1) }; #endif //PNDDRCHIT_H