13#ifndef TRGCDCTrack_FLAG_
14#define TRGCDCTrack_FLAG_
16#include "trg/cdc/TrackBase.h"
17#include "trg/cdc/Helix.h"
19#ifdef TRGCDC_SHORT_NAMES
20#define TCTrack TRGCDCTrack
24#define TCTrack_2DTrack 1
25#define TCTrack_2DTrackFitted 2
26#define TCTrack_3DTrack 4
27#define TCTrack_3DTrackFitted 8
45 any = fit2D | find3D | fit3D
50 static std::vector<const TRGCDCTrack*>
list(
void);
71 virtual const CLHEP::Hep3Vector&
p(
void)
const override;
74 virtual double pt(
void)
const override;
77 virtual const CLHEP::Hep3Vector&
x(
void)
const override;
105 static std::vector<const TRGCDCTrack*>
_list;
113 mutable CLHEP::Hep3Vector
_p;
116 mutable CLHEP::Hep3Vector
_x;
156 const CLHEP::Hep3Vector&
172 const CLHEP::Hep3Vector&
A class to represent a circle.
TRGCDCHelix parameter class.
A class to relate TRGCDCCellHit and TRGCDCTrack objects.
A class to represent a track object in TRGCDC.
A class to represent a reconstructed charged track in TRGCDC.
int m_debugValue
Debugging variable.
double m_2DFitChi2
2D fit chi2
CLHEP::Hep3Vector _p
Momentum.
TRGCDCHelix _helix
Helix parameter.
CLHEP::Hep3Vector _x
Position.
double m_3DFitChi2
3D fit chi2
EDebugValueType
Enum for returnValue types.
const TRGCDCHelix & helix(void) const
returns helix parameter.
HepGeom::Point3D< double > x(double dPhi=0.) const
returns position after rotating angle dPhi in phi direction.
TRGCDCTrack()
Constructor.
int approach(TRGCDCLink &, bool sagCorrection=false) const
calculates the closest approach to a wire in real space. Results are stored in TLink....
virtual const CLHEP::Hep3Vector & p(void) const override
returns momentum vector.
void set2DFitChi2(double)
Set 2D fit chi2.
static std::vector< const TRGCDCTrack * > _list
a vector to keep all TRGCDCTrack objects.
std::vector< HepGeom::Point3D< double > > perfectPosition(void) const
returns perfect position from GEANT.
int getDebugValue(EDebugValueType const &moduleName) const
Get debug value.
double get2DFitChi2(void) const
Returns 2D fit chi2.
virtual const CLHEP::Hep3Vector & x(void) const override
returns position vector.
double get3DFitChi2(void) const
Returns 3D fit chi2.
void set3DFitChi2(double)
Set 3D fit chi2.
void setHelix(const TRGCDCHelix &helix)
Set helix parameter.
void setDebugValue(EDebugValueType const &moduleName, bool flag)
Set debug value.
virtual double pt(void) const override
returns Pt.
static std::vector< const TRGCDCTrack * > list(void)
returns a list of TRGCDCTrack's.
virtual ~TRGCDCTrack()
Destructor.
CLHEP::Hep3Vector momentum(double dPhi=0.) const
returns momentum vector after rotating angle dPhi in phi direction.
Abstract base class for different kinds of events.