Belle II Software development
|
A class to represent a reconstructed charged track in TRGCDC. More...
#include <TRGCDCTrack.h>
Public Types | |
enum | EDebugValueType { fit2D = 1 << 3 , find3D = 1 << 4 , fit3D = 1 << 5 , any = fit2D | find3D | fit3D } |
Enum for returnValue types. More... | |
Public Member Functions | |
TRGCDCTrack () | |
Constructor. | |
TRGCDCTrack (const TRGCDCCircle &) | |
Constructor from a Circle. | |
virtual | ~TRGCDCTrack () |
Destructor. | |
const TRGCDCHelix & | helix (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 TRGCDCFitter * | fitter (void) const |
returns a pointer to a default fitter. | |
const TRGCDCFitter * | fitter (const TRGCDCFitter *) |
sets 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. | |
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. | |
A class to represent a reconstructed charged track in TRGCDC.
Definition at line 38 of file TRGCDCTrack.h.
enum EDebugValueType |
Enum for returnValue types.
Definition at line 42 of file TRGCDCTrack.h.
|
privateinherited |
Charge.
Definition at line 148 of file TrackBase.h.
|
mutableprivateinherited |
Fitting status.
Definition at line 169 of file TrackBase.h.
|
privateinherited |
Fitter.
Definition at line 166 of file TrackBase.h.
|
private |
Helix parameter.
Definition at line 110 of file TRGCDCTrack.h.
|
privateinherited |
Name.
Definition at line 142 of file TrackBase.h.
|
privateinherited |
Size of _ts.
Definition at line 163 of file TrackBase.h.
|
mutableprivate |
Momentum.
Definition at line 113 of file TRGCDCTrack.h.
|
privateinherited |
Status.
Definition at line 145 of file TrackBase.h.
|
privateinherited |
Links for each super layer.
Definition at line 157 of file TrackBase.h.
|
privateinherited |
Links for all super layers.
Definition at line 160 of file TrackBase.h.
|
mutableprivate |
Position.
Definition at line 116 of file TRGCDCTrack.h.
|
private |
2D fit chi2
Definition at line 119 of file TRGCDCTrack.h.
|
private |
3D fit chi2
Definition at line 122 of file TRGCDCTrack.h.
|
private |
Debugging variable.
Definition at line 125 of file TRGCDCTrack.h.
|
privateinherited |
ID of tracks.
Definition at line 172 of file TrackBase.h.