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

A class to represent a track object in TRGCDC. More...

#include <TrackBase.h>

Inheritance diagram for TRGCDCTrackBase:
Collaboration diagram for TRGCDCTrackBase:

Public Member Functions

 TRGCDCTrackBase (const TRGCDCTrackBase &)
 Copy constructor.
 
 TRGCDCTrackBase (const std::string &name, double charge)
 Constructor.
 
virtual ~TRGCDCTrackBase ()
 Destructor.
 
TRGCDCTrackBaseoperator= (TRGCDCTrackBase &)=delete
 Assignment operator, deleted.
 
std::string name (void) const
 returns name.
 
int status (void) const
 returns status.
 
double charge (void) const
 returns charge.
 
virtual const CLHEP::Hep3Vector & p (void) const
 returns momentum vector.
 
virtual double pt (void) const
 returns Pt.
 
virtual const CLHEP::Hep3Vector & x (void) const
 returns position vector.
 
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 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.
 
std::string name (const std::string &newName)
 sets and returns name.
 
void append (TRGCDCLink *)
 appends a link.
 
void append (const std::vector< TRGCDCLink * > &links)
 appends links.
 
double charge (double c)
 sets and returns charge.
 
virtual int fit (void)
 fits itself by a default fitter. Error was happened if return value is not zero.
 
const TRGCDCFitterfitter (const TRGCDCFitter *)
 sets a default fitter.
 
virtual int approach2D (TRGCDCLink &) const
 calculate closest approach. Error was happened if return value is not zero.
 

Private Attributes

std::string _name
 Name.
 
int _status
 Status.
 
double _charge
 Charge.
 
CLHEP::Hep3Vector _p
 Momentum.
 
CLHEP::Hep3Vector _x
 Position.
 
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.
 

Friends

class TRGCDCFitter
 
class TRGCDCCircleFitter
 
class TRGCDCHelixFitter
 
class TRGCDCCircle
 
class TRGCDCTrack
 

Detailed Description

A class to represent a track object in TRGCDC.

Definition at line 40 of file TrackBase.h.


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