/** last revision December, 2012 **/ #include "PndFtsHit.h" #include "PndDetectorList.h" #include #include "TMath.h" /** Default constructor **/ PndFtsHit::PndFtsHit() : fIsochrone(0.), fIsochroneError(0.), fPulse(0.), fDepCharge(0.), fTubeID(0), fChamberID(0), fLayerID(0), fSkewed(0) { //Clear(); } PndFtsHit::PndFtsHit(Int_t detID, Int_t tubeID, Int_t chamberID, Int_t layerID, Int_t skew, Int_t mcindex, TVector3& pos, TVector3& dpos, Double_t p, Double_t isochrone, Double_t isochroneError, Double_t chDep) : FairHit(detID, pos, dpos, mcindex) , fIsochrone(isochrone), fIsochroneError(isochroneError), fPulse(p), fDepCharge(chDep), fTubeID(tubeID), fChamberID(chamberID), fLayerID(layerID), fSkewed(skew) { SetLink(FairLink("FTSPoint", mcindex)); } /** Public method Clear **/ void PndFtsHit::Clear() { fTubeID = 0; fChamberID = 0; fLayerID = 0; fSkewed = 0; fPulse = 0; fIsochrone = 0.; fIsochroneError = 0.; fDepCharge = 0.; } /** Destructor **/ PndFtsHit::~PndFtsHit() { } ClassImp(PndFtsHit)