// -*- mode: c++ -*- // // $Id: BrTrackResidual.h,v 1.1 2001/11/02 13:32:51 pchristi Exp $ // $Author: pchristi $ // $Date: 2001/11/02 13:32:51 $ // $Copyright: (C) 2001 BRAHMS Collaboration // #ifndef BRAT_BrTrackResidual #define BRAT_BrTrackResidual #ifndef ROOT_TObject #include "TObject.h" #endif class BrTrackResidual : public TObject { private: Float_t fDx; Float_t fDy; Short_t fRow; UShort_t fAdcSum; public: BrTrackResidual(); virtual Float_t GetDx() {return fDx;} virtual Float_t GetDy() {return fDy;} virtual Int_t GetRow() {return Int_t(fRow);} virtual UShort_t GetAdcSum() {return fAdcSum;} virtual void Print(Option_t* option = "") const; //*MENU* virtual void SetDx(Float_t value) {fDx = value;} virtual void SetDy(Float_t value) {fDy = value;} virtual void SetRow(Int_t value) {fRow = Short_t(value);} virtual void SetAdcSum(UShort_t value) {fAdcSum = value;} ClassDef(BrTrackResidual,1) // Track residuals in local tracking }; #endif //____________________________________________________________________ // // $Log: BrTrackResidual.h,v $ // Revision 1.1 2001/11/02 13:32:51 pchristi // Added new class BrTrackResidual. This class deals with storing track // residuals for good tracks. // Removed adc calculations and informations from BrTpcTrackCandidate since // this was done in a useless way. The adcsum information is now stored with // the residual for each hit and it makes it possible to later make a // truncated mean if one wishes stored in the track residual // //