/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/MdcPatRec/TrkFitter/TrkFitter-00-01-11/TrkFitter/TrkLineRep.h

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 // File and Version Information:
00003 //      $Id: TrkLineRep.h,v 1.2 2007/12/07 07:06:34 zhangy Exp $
00004 //
00005 // Description:
00006 //      Implementation class for TrkRep using a 3-d straight line
00007 //
00008 // Environment:
00009 //      Software developed for the BaBar Detector at the SLAC B-Factory.
00010 //
00011 // Author List:
00012 //      Steve Schaffner
00013 //
00014 //------------------------------------------------------------------------
00015 
00016 #ifndef TRKLINEREP_HH
00017 #define TRKLINEREP_HH
00018 
00019 #include "TrkFitter/TrkSimpleRep.h"
00020 #include "TrkFitter/TrkDifLineTraj.h"
00021 
00022 class TrkLineRep : public TrkSimpleRep {
00023 public:
00024   //******************************************
00025   // Constructors and such (see protected fcns for copy ctor)
00026   //******************************************
00027   // Create from scratch
00028   TrkLineRep(const TrkExchangePar& inPar, TrkRecoTrk* myTrack, PdtPid::PidType hypo, const TrkHotList* =0);
00029   // No hits
00030   TrkLineRep(const TrkExchangePar& inPar, TrkRecoTrk* myTrack,
00031              PdtPid::PidType hypo, int nAct, int nSvt, int nDch, double chi2,
00032              double startFoundRange, double endFoundRange);
00033   virtual ~TrkLineRep();
00034   // specific clone operation for this class
00035   virtual TrkLineRep* clone(TrkRecoTrk* newTrack) const;
00036   virtual TrkLineRep* cloneNewHypo(PdtPid::PidType hypo);
00037 
00038   //******************************************
00039   // Global quantities:
00040   //******************************************
00041   virtual TrkDifTraj& traj();
00042   virtual const TrkDifTraj& traj() const;
00043 
00044   //******************************************
00045   // Information about track at a given position
00046   //******************************************
00047   virtual TrkExchangePar helix(double fltLen) const;
00048   
00049   double arrivalTime(double fltLen) const;
00050   //******************************************
00051   // Printing
00052   //******************************************
00053   virtual void printAll(std::ostream& ostr) const;
00054   virtual void print(std::ostream& ostr) const;
00055 
00056 protected:
00057 // copy constructor -- invoked by clone
00058   TrkLineRep(const TrkLineRep& right, TrkRecoTrk* trk, PdtPid::PidType);
00059   virtual TrkSimpTraj& simpTraj();
00060   virtual const TrkSimpTraj& simpTraj() const;
00061 
00062 private:
00063   TrkLineRep& operator=(const TrkLineRep &right);
00064   TrkDifLineTraj _traj;
00065 };
00066 #endif

Generated on Tue Nov 29 23:13:44 2016 for BOSS_7.0.2 by  doxygen 1.4.7