BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/TrkFitter/include/TrkFitter/TrkHelixRep.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: TrkHelixRep.h,v 1.1.1.1 2005/04/21 06:26:56 maqm Exp $
4//
5// Description:
6// Implementation class for TrkRep using a single helix
7//
8// Environment:
9// Software developed for the BaBar Detector at the SLAC B-Factory.
10//
11// Author List:
12// Steve Schaffner
13//
14//------------------------------------------------------------------------
15
16#ifndef TRKHELIXREP_HH
17#define TRKHELIXREP_HH
18
19#include "TrkBase/HelixTraj.h"
20#include "TrkFitter/TrkSimpleRep.h"
21
22class TrkHelixRep : public TrkSimpleRep {
23public:
24 //******************************************
25 // Constructors and such (copy ctor is protected)
26 //******************************************
27 // Construct from scratch
29 const TrkHotList* = 0 );
30 TrkHelixRep( const TrkExchangePar& inPar, TrkRecoTrk* trk, PdtPid::PidType hypo, int nact,
31 int nsv, int ndc, double chi2, double startFoundRange, double endFoundRange );
32 virtual ~TrkHelixRep();
33 // specific clone operation for this class
34 virtual TrkHelixRep* clone( TrkRecoTrk* newTrack ) const;
36
37 //******************************************
38 // Global quantities:
39 //******************************************
40 virtual TrkDifTraj& traj();
41 virtual const TrkDifTraj& traj() const;
42 const IfdKey& myKey() const;
43
44 //******************************************
45 // Information about track at a given position
46 //******************************************
47 virtual TrkExchangePar helix( double fltLen ) const;
48
49 virtual bool resid( const TrkHitOnTrk* h, double& residual, double& residErr,
50 bool exclude ) const;
51 //******************************************
52 // Printing
53 //******************************************
54 virtual void printAll( std::ostream& ostr ) const;
55 virtual void print( std::ostream& ostr ) const;
56
58 virtual const TrkSimpTraj& simpTraj() const;
59
60protected:
61 // copy constructor -- invoked by clone
63
64private:
65 TrkHelixRep& operator=( const TrkHelixRep& right );
66 HelixTraj _traj;
67};
68#endif
virtual void print(std::ostream &ostr) const
TrkHelixRep(const TrkExchangePar &inPar, TrkRecoTrk *trk, PdtPid::PidType hypo, int nact, int nsv, int ndc, double chi2, double startFoundRange, double endFoundRange)
virtual TrkDifTraj & traj()
const IfdKey & myKey() const
virtual const TrkDifTraj & traj() const
virtual bool resid(const TrkHitOnTrk *h, double &residual, double &residErr, bool exclude) const
virtual TrkExchangePar helix(double fltLen) const
virtual TrkHelixRep * clone(TrkRecoTrk *newTrack) const
virtual ~TrkHelixRep()
TrkHelixRep(const TrkHelixRep &right, TrkRecoTrk *trk, PdtPid::PidType)
virtual const TrkSimpTraj & simpTraj() const
virtual TrkHelixRep * cloneNewHypo(PdtPid::PidType hypo)
TrkHelixRep(const TrkExchangePar &inPar, TrkRecoTrk *myTrack, PdtPid::PidType hypo, const TrkHotList *=0)
virtual TrkSimpTraj & simpTraj()
virtual void printAll(std::ostream &ostr) const
virtual double endFoundRange() const
Definition TrkRep.cxx:247
virtual double startFoundRange() const
Definition TrkRep.cxx:245