CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkCircleRep.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: TrkCircleRep.h,v 1.1.1.1 2017/12/15 12:01:44 huangzhen Exp $
4//
5// Description:
6// Implementation class for TrkRep using a circle
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 TRKCIRCLEREP_HH
17#define TRKCIRCLEREP_HH
18
21
22class TrkCircleRep : public TrkSimpleRep {
23public:
24 //******************************************
25 // Constructors and such (see protected fcns for copy ctor)
26 //******************************************
27 // Can contain hits:
28 TrkCircleRep(const TrkExchangePar& inPar, TrkRecoTrk* myTrack, PdtPid::PidType hypo, const TrkHotList* = 0);
29 // No hits:
30 TrkCircleRep(const TrkExchangePar& inPar, TrkRecoTrk* myTrack,
31 PdtPid::PidType hypo, int nActive, int nSvt, int nDch, double chi2,
32 double startFoundRange, double endFoundRange);
33 virtual ~TrkCircleRep();
34 // specific clone operation for this class
35 virtual TrkCircleRep* clone(TrkRecoTrk* newTrack) const;
37
38 //******************************************
39 // Global quantities:
40 //******************************************
41 virtual TrkDifTraj& traj();
42 virtual const TrkDifTraj& traj() const;
43
44 //******************************************
45 // Information about track at a given position
46 //******************************************
47 virtual TrkExchangePar helix(double fltLen) const;
48
49 //******************************************
50 // Printing
51 //******************************************
52 virtual void printAll(std::ostream& ostr) const;
53 virtual void print(std::ostream& ostr) const;
54
55protected:
56// copy constructor -- invoked by clone
58 virtual TrkSimpTraj& simpTraj();
59 virtual const TrkSimpTraj& simpTraj() const;
60
61private:
62 TrkCircleRep& operator=(const TrkCircleRep &right); // could be implemented
63 TrkCircleTraj _traj;
64};
65#endif
PidType
Definition PdtPid.h:11
virtual void print(std::ostream &ostr) const
virtual void printAll(std::ostream &ostr) const
virtual TrkCircleRep * clone(TrkRecoTrk *newTrack) const
virtual TrkDifTraj & traj()
virtual ~TrkCircleRep()
virtual TrkCircleRep * cloneNewHypo(PdtPid::PidType hypo)
virtual TrkSimpTraj & simpTraj()
virtual TrkExchangePar helix(double fltLen) const
TrkCircleRep(const TrkExchangePar &inPar, TrkRecoTrk *myTrack, PdtPid::PidType hypo, const TrkHotList *=0)
virtual int nSvt() const
Definition TrkRep.cxx:336
virtual int nActive() const
Definition TrkRep.cxx:330
virtual double endFoundRange() const
Definition TrkRep.cxx:302
virtual double startFoundRange() const
Definition TrkRep.cxx:296