Belle II Software  release-08-01-10
TRGCDCTrack Class Reference

A class to represent a reconstructed charged track in TRGCDC. More...

#include <TRGCDCTrack.h>

Inheritance diagram for TRGCDCTrack:
Collaboration diagram for TRGCDCTrack:

Public Types

enum  EDebugValueType {
  fit2D = 1 << 3 ,
  find3D = 1 << 4 ,
  fit3D = 1 << 5 ,
  any = fit2D | find3D | fit3D
}
 Enum for returnValue types.
 

Public Member Functions

 TRGCDCTrack ()
 Constructor.
 
 TRGCDCTrack (const TRGCDCCircle &)
 Constructor from a Circle.
 
virtual ~TRGCDCTrack ()
 Destructor.
 
const TRGCDCHelixhelix (void) const
 returns helix parameter.
 
void setHelix (const TRGCDCHelix &helix)
 Set helix parameter.
 
int approach (TRGCDCLink &, bool sagCorrection=false) const
 calculates the closest approach to a wire in real space. Results are stored in TLink. Return value is negative if error happened.
 
virtual const CLHEP::Hep3Vector & p (void) const override
 returns momentum vector.
 
virtual double pt (void) const override
 returns Pt.
 
virtual const CLHEP::Hep3Vector & x (void) const override
 returns position vector.
 
void set2DFitChi2 (double)
 Set 2D fit chi2.
 
double get2DFitChi2 (void) const
 Returns 2D fit chi2.
 
void set3DFitChi2 (double)
 Set 3D fit chi2.
 
double get3DFitChi2 (void) const
 Returns 3D fit chi2.
 
void setDebugValue (EDebugValueType const &moduleName, bool flag)
 Set debug value.
 
int getDebugValue (EDebugValueType const &moduleName) const
 Get debug value.
 
std::vector< HepGeom::Point3D< double > > perfectPosition (void) const
 returns perfect position from GEANT.
 
std::string name (void) const
 returns name.
 
std::string name (const std::string &newName)
 sets and returns name.
 
int status (void) const
 returns status.
 
double charge (void) const
 returns charge.
 
double charge (double c)
 sets and returns charge.
 
virtual void dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
 dumps debug information.
 
const std::vector< TRGCDCLink * > & links (void) const
 returns a vector to track segments.
 
const std::vector< TRGCDCLink * > & links (unsigned layerId) const
 returns a vector to track segments.
 
bool fitted (void) const
 returns true if fitted.
 
void setFitted (bool fitted)
 set fit status
 
void setTrackID (int trackID)
 set track ID.
 
int getTrackID ()
 get track ID.
 
virtual unsigned objectType (void) const
 returns object type.
 
const TRGCDCFitterfitter (void) const
 returns a pointer to a default fitter.
 
const TRGCDCFitterfitter (const TRGCDCFitter *)
 sets a default fitter.
 
const TRGCDCRelation relation (void) const
 returns MC information. More...
 
const TRGCDCRelation relation2D (void) const
 returns MC information for only axial layers.
 
const TRGCDCRelation relation3D (void) const
 returns MC information for only stereo layers.
 
void append (TRGCDCLink *)
 appends a link.
 
void append (const std::vector< TRGCDCLink * > &links)
 appends links.
 
virtual int fit (void)
 fits itself by a default fitter. Error was happened if return value is not zero.
 
virtual int approach2D (TRGCDCLink &) const
 calculate closest approach. Error was happened if return value is not zero.
 

Static Public Member Functions

static std::vector< const TRGCDCTrack * > list (void)
 returns a list of TRGCDCTrack's.
 

Private Attributes

TRGCDCHelix _helix
 Helix parameter.
 
CLHEP::Hep3Vector _p
 Momentum.
 
CLHEP::Hep3Vector _x
 Position.
 
double m_2DFitChi2
 2D fit chi2
 
double m_3DFitChi2
 3D fit chi2
 
int m_debugValue
 Debugging variable.
 
std::string _name
 Name.
 
int _status
 Status.
 
double _charge
 Charge.
 
std::vector< TRGCDCLink * > * _ts
 Links for each super layer.
 
std::vector< TRGCDCLink * > _tsAll
 Links for all super layers.
 
const unsigned _nTs
 Size of _ts.
 
const TRGCDCFitter_fitter
 Fitter.
 
bool _fitted
 Fitting status.
 
int m_trackID
 ID of tracks.
 

Static Private Attributes

static std::vector< const TRGCDCTrack * > _list = vector<const TRGCDCTrack*>()
 a vector to keep all TRGCDCTrack objects.
 

Detailed Description

A class to represent a reconstructed charged track in TRGCDC.

Definition at line 38 of file TRGCDCTrack.h.


The documentation for this class was generated from the following files: