Belle II Software development
TRGCDCTrackBase Class Reference

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

#include <TrackBase.h>

Inheritance diagram for TRGCDCTrackBase:
TRGCDCCircle TRGCDCTrack

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.
 
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.

Friends And Related Function Documentation

◆ TRGCDCCircle

friend class TRGCDCCircle
friend

Definition at line 177 of file TrackBase.h.

◆ TRGCDCCircleFitter

friend class TRGCDCCircleFitter
friend

Definition at line 175 of file TrackBase.h.

◆ TRGCDCFitter

friend class TRGCDCFitter
friend

Definition at line 174 of file TrackBase.h.

◆ TRGCDCHelixFitter

friend class TRGCDCHelixFitter
friend

Definition at line 176 of file TrackBase.h.

◆ TRGCDCTrack

friend class TRGCDCTrack
friend

Definition at line 178 of file TrackBase.h.

Member Data Documentation

◆ _charge

double _charge
private

Charge.

Definition at line 148 of file TrackBase.h.

◆ _fitted

bool _fitted
mutableprivate

Fitting status.

Definition at line 169 of file TrackBase.h.

◆ _fitter

const TRGCDCFitter* _fitter
private

Fitter.

Definition at line 166 of file TrackBase.h.

◆ _name

std::string _name
private

Name.

Definition at line 142 of file TrackBase.h.

◆ _nTs

const unsigned _nTs
private

Size of _ts.

Definition at line 163 of file TrackBase.h.

◆ _p

CLHEP::Hep3Vector _p
private

Momentum.

Definition at line 151 of file TrackBase.h.

◆ _status

int _status
private

Status.

Definition at line 145 of file TrackBase.h.

◆ _ts

std::vector<TRGCDCLink*>* _ts
private

Links for each super layer.

Definition at line 157 of file TrackBase.h.

◆ _tsAll

std::vector<TRGCDCLink*> _tsAll
private

Links for all super layers.

Definition at line 160 of file TrackBase.h.

◆ _x

CLHEP::Hep3Vector _x
private

Position.

Definition at line 154 of file TrackBase.h.

◆ m_trackID

int m_trackID
private

ID of tracks.

Definition at line 172 of file TrackBase.h.


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