BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/TrkFitter/TrkFitter-00-01-11/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 "TrkFitter/TrkSimpleRep.h"
20#include "TrkBase/HelixTraj.h"
21
22class TrkHelixRep : public TrkSimpleRep {
23public:
24 //******************************************
25 // Constructors and such (copy ctor is protected)
26 //******************************************
27 // Construct from scratch
28 TrkHelixRep(const TrkExchangePar& inPar, TrkRecoTrk* myTrack, PdtPid::PidType hypo, const TrkHotList* = 0);
30 PdtPid::PidType hypo, int nact, int nsv, int ndc,
31 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,
50 double& residual, double& residErr,
51 bool exclude) const;
52 //******************************************
53 // Printing
54 //******************************************
55 virtual void printAll(std::ostream& ostr) const;
56 virtual void print(std::ostream& ostr) const;
57
59 virtual const TrkSimpTraj& simpTraj() const;
60
61protected:
62// copy constructor -- invoked by clone
64
65private:
66 TrkHelixRep& operator=(const TrkHelixRep &right);
67 HelixTraj _traj;
68};
69#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:302
virtual double startFoundRange() const
Definition: TrkRep.cxx:296