//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Tpc Residual Object // // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Felix Boehmer (original author) // Physik Department E18, TUM // //----------------------------------------------------------- #include "TpcResidual.h" #include TpcResidual::TpcResidual() : fHitIndex(-1), fRes(0.,0.,0.), fRes2D(0.,0.), fRefPos(0.,0.,0.), fHitPos(0.,0.,0.), fHitCov(3,3), fTrackCov(5,5), fTrackLength(0), fTrackDir(0,0,0), fCharge(1), fRefCylPos(0,0,0), fRefCylMom(0,0,0), AbsResidual() { ; } TpcResidual::~TpcResidual() {;} TVector3 TpcResidual::getRefCylPos() const { return fRefCylPos; } void TpcResidual::setRefCylPos(const TVector3 &value) { fRefCylPos = value; } TVector3 TpcResidual::getRefCylMom() const { return fRefCylMom; } void TpcResidual::setRefCylMom(const TVector3 &value) { fRefCylMom = value; } double TpcResidual::getPhiDiff() const { return TMath::RadToDeg()*(fHitPos.Phi()-fRefPos.Phi()); } ClassImp(TpcResidual)