/** last revision December, 2012 **/ #include "PndFtsHit.h" #include "PndDetectorList.h" #include #include "TMath.h" /** Default constructor **/ PndFtsHit::PndFtsHit() { 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) { fTubeID = tubeID; fChamberID = chamberID; fLayerID = layerID; fSkewed = skew; fPulse = p; fIsochrone = isochrone; fIsochroneError = isochroneError; fDepCharge = chDep; 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)