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

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 // File and Version Information:
00003 //      $Id: TrkHelixRep.h,v 1.1.1.1 2005/04/21 06:26:56 maqm Exp $
00004 //
00005 // Description:
00006 //      Implementation class for TrkRep using a single helix
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 TRKHELIXREP_HH
00017 #define TRKHELIXREP_HH
00018 
00019 #include "TrkFitter/TrkSimpleRep.h"
00020 #include "TrkBase/HelixTraj.h"
00021 
00022 class TrkHelixRep : public TrkSimpleRep {
00023 public:
00024   //******************************************
00025   // Constructors and such (copy ctor is protected)
00026   //******************************************
00027   // Construct from scratch
00028   TrkHelixRep(const TrkExchangePar& inPar, TrkRecoTrk* myTrack, PdtPid::PidType hypo, const TrkHotList* = 0);
00029   TrkHelixRep(const TrkExchangePar& inPar, TrkRecoTrk* trk,
00030               PdtPid::PidType hypo, int nact, int nsv, int ndc,
00031               double chi2, double startFoundRange, double endFoundRange);
00032   virtual ~TrkHelixRep();
00033   // specific clone operation for this class
00034   virtual TrkHelixRep* clone(TrkRecoTrk* newTrack) const;
00035   virtual TrkHelixRep* cloneNewHypo(PdtPid::PidType hypo);
00036 
00037   //******************************************
00038   // Global quantities:
00039   //******************************************
00040   virtual TrkDifTraj& traj();
00041   virtual const TrkDifTraj& traj() const;
00042   const IfdKey& myKey() const;
00043 
00044   //******************************************
00045   // Information about track at a given position
00046   //******************************************
00047   virtual TrkExchangePar helix(double fltLen) const;
00048 
00049   virtual bool resid(const TrkHitOnTrk *h,
00050                      double& residual, double& residErr,
00051                      bool exclude) const;
00052   //******************************************
00053   // Printing
00054   //******************************************
00055   virtual void printAll(std::ostream& ostr) const;
00056   virtual void print(std::ostream& ostr) const;
00057 
00058   virtual TrkSimpTraj& simpTraj();
00059   virtual const TrkSimpTraj& simpTraj() const;
00060 
00061 protected:
00062 // copy constructor -- invoked by clone
00063   TrkHelixRep(const TrkHelixRep& right, TrkRecoTrk* trk, PdtPid::PidType);
00064 
00065 private:
00066   TrkHelixRep& operator=(const TrkHelixRep &right);
00067   HelixTraj _traj;
00068 };
00069 #endif

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