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

Values of the result of a track fit with a given particle hypothesis. More...

#include <TrackFitResult.h>

Inheritance diagram for TrackFitResult:
Collaboration diagram for TrackFitResult:

Public Member Functions

 TrackFitResult ()
 Constructor initializing everything to zero.
 
 TrackFitResult (const ROOT::Math::XYZVector &position, const ROOT::Math::XYZVector &momentum, const TMatrixDSym &covariance, const short int charge, const Const::ParticleType &particleType, const float pValue, const float bField, const uint64_t hitPatternCDCInitializer, const uint32_t hitPatternVXDInitializer, const float NDF)
 Constructor initializing class with fit result. More...
 
 TrackFitResult (const std::vector< float > &tau, const std::vector< float > &cov5, const Const::ParticleType &particleType, const float pValue, const uint64_t hitPatternCDCInitializer, const uint32_t hitPatternVXDInitializer, const float NDF)
 Constructor initializing class with perigee parameters. More...
 
void updateTrackFitResult (const TrackFitResult &input)
 update the TrackFitResults More...
 
void mask ()
 mask this TrackFitResults by setting the pValue to nan
 
ROOT::Math::XYZVector getPosition () const
 Getter for vector of position at closest approach of track in r/phi projection.
 
ROOT::Math::XYZVector getMomentum () const
 Getter for vector of momentum at closest approach of track in r/phi projection. More...
 
ROOT::Math::PxPyPzEVector get4Momentum () const
 Getter for the 4Momentum at the closest approach of the track in the r/phi projection. More...
 
double getEnergy () const
 Getter for the Energy at the closest approach of the track in the r/phi projection. More...
 
double getTransverseMomentum () const
 Getter for the absolute value of the transverse momentum at the perigee.
 
TMatrixDSym getCovariance6 () const
 Position and Momentum Covariance Matrix. More...
 
Const::ParticleType getParticleType () const
 Getter for ParticleType of the mass hypothesis of the track fit.
 
short getChargeSign () const
 Return track charge (1 or -1). More...
 
double getPValue () const
 Getter for Chi2 Probability of the track fit.
 
float getNDF () const
 Getter for number of degrees of freedom of the track fit.
 
double getChi2 () const
 Get chi2 given NDF and p-value.
 
double getD0 () const
 Getter for d0. More...
 
double getPhi0 () const
 Getter for phi0. More...
 
double getPhi () const
 Getter for phi0 with CDF naming convention. More...
 
double getOmega () const
 Getter for omega. More...
 
double getZ0 () const
 Getter for z0. More...
 
double getTanLambda () const
 Getter for tanLambda. More...
 
double getCotTheta () const
 Getter for tanLambda with CDF naming convention. More...
 
std::vector< float > getTau () const
 Getter for all perigee parameters. More...
 
std::vector< float > getCov () const
 Getter for all covariance matrix elements of perigee parameters. More...
 
TMatrixDSym getCovariance5 () const
 Getter for covariance matrix of perigee parameters in matrix form. More...
 
Helix getHelix () const
 Conversion to framework Helix (without covariance). More...
 
Helix getHelix (float momentumScale) const
 Conversion to framework Helix with momentum scaling (without covariance). More...
 
UncertainHelix getUncertainHelix () const
 Conversion to framework Uncertain Helix (i.e., with covariance). More...
 
HitPatternCDC getHitPatternCDC () const
 Getter for the hit pattern in the CDC;. More...
 
HitPatternVXD getHitPatternVXD () const
 Getter for the hit pattern in the VXD;. More...
 
virtual std::string getInfoHTML () const override
 Return a short summary of this object's contents in HTML format.
 
void addRelationTo (const RelationsInterface< BASE > *object, float weight=1.0, const std::string &namedRelation="") const
 Add a relation from this object to another object (with caching). More...
 
void addRelationTo (const TObject *object, float weight=1.0, const std::string &namedRelation="") const
 Add a relation from this object to another object (no caching, can be quite slow). More...
 
void copyRelations (const RelationsInterface< BASE > *sourceObj)
 Copies all relations of sourceObj (pointing from or to sourceObj) to this object (including weights). More...
 
template<class TO >
RelationVector< TO > getRelationsTo (const std::string &name="", const std::string &namedRelation="") const
 Get the relations that point from this object to another store array. More...
 
template<class FROM >
RelationVector< FROM > getRelationsFrom (const std::string &name="", const std::string &namedRelation="") const
 Get the relations that point from another store array to this object. More...
 
template<class T >
RelationVector< T > getRelationsWith (const std::string &name="", const std::string &namedRelation="") const
 Get the relations between this object and another store array. More...
 
template<class TO >
TO * getRelatedTo (const std::string &name="", const std::string &namedRelation="") const
 Get the object to which this object has a relation. More...
 
template<class FROM >
FROM * getRelatedFrom (const std::string &name="", const std::string &namedRelation="") const
 Get the object from which this object has a relation. More...
 
template<class T >
T * getRelated (const std::string &name="", const std::string &namedRelation="") const
 Get the object to or from which this object has a relation. More...
 
template<class TO >
std::pair< TO *, float > getRelatedToWithWeight (const std::string &name="", const std::string &namedRelation="") const
 Get first related object & weight of relation pointing to an array. More...
 
template<class FROM >
std::pair< FROM *, float > getRelatedFromWithWeight (const std::string &name="", const std::string &namedRelation="") const
 Get first related object & weight of relation pointing from an array. More...
 
template<class T >
std::pair< T *, float > getRelatedWithWeight (const std::string &name="", const std::string &namedRelation="") const
 Get first related object & weight of relation pointing from/to an array. More...
 
virtual std::string getName () const
 Return a short name that describes this object, e.g. More...
 
std::string getInfo () const
 Return a short summary of this object's contents in raw text format. More...
 
std::string getArrayName () const
 Get name of array this object is stored in, or "" if not found.
 
int getArrayIndex () const
 Returns this object's array index (in StoreArray), or -1 if not found.
 

Protected Member Functions

TClonesArray * getArrayPointer () const
 Returns the pointer to the raw DataStore array holding this object (protected since these arrays are easy to misuse).
 

Private Member Functions

 ClassDefOverride (TrackFitResult, 10)
 Values of the result of a track fit with a given particle hypothesis.
 
 ClassDef (RelationsInterface, 0)
 defines interface for accessing relations of objects in StoreArray.
 

Private Attributes

unsigned int m_pdg
 PDG Code for hypothesis with which the corresponding fit was performed. More...
 
Double32_t m_pValue
 Chi2 Probability of the fit.
 
Double32_t m_tau [c_NPars]
 perigee helix parameters; tau = d0, phi0, omega, z0, tanLambda.
 
Double32_t m_cov5 [c_NCovEntries]
 The 15 = 5*(5+1)/2 covariance matrix elements. More...
 
uint64_t m_hitPatternCDCInitializer
 Member for initializing the information about hits in the CDC. More...
 
uint32_t m_hitPatternVXDInitializer
 Member for initializing the information about hits in the VXD. More...
 
uint16_t m_NDF100
 Member for number of degrees of freedom multiplied by 100 in order to store inside an int a float with two significant digits.
 
DataStore::StoreEntrym_cacheDataStoreEntry
 Cache of the data store entry to which this object belongs.
 
int m_cacheArrayIndex
 Cache of the index in the TClonesArray to which this object belongs.
 

Static Private Attributes

static const uint16_t c_NDFFlag = 0xFFFF
 backward compatibility initialisation for NDF
 
TFRStorageSizes

Constants for Storage sizes

static const unsigned int c_NPars = 5
 Number of helix parameters. More...
 
static const unsigned int c_NCovEntries = 5 * 6 / 2
 Number of covariance entries.
 
TFRParName

Names for the parameter indices into m_tau.


static const unsigned int iD0 = 0
 Index for d0.
 
static const unsigned int iPhi0 = 1
 Index for phi0.
 
static const unsigned int iOmega = 2
 Index for omega.
 
static const unsigned int iZ0 = 3
 Index for z0.
 
static const unsigned int iTanLambda = 4
 Index tan lambda.
 

Friends

class PostMergeUpdaterModule
 

Detailed Description

Values of the result of a track fit with a given particle hypothesis.

The values are stored as perigee parameters with a corresponding covariance matrix. The used perigee parameters are: 1) d0 which is the signed distance to the perigee. Its sign is positive (negative) if the angle between the transverse momentum and d0 is +pi/2 (-pi/2) 2) phi0 which is the angle between the transverse momentum and the x axis and in [-pi, pi] 3) the signed curvature of the track where the sign is given by the charge of the particle 4) z0 which is the distance of the perigee from the origin in the r-z plane 5) tanLambda which is the inverse slope of the track in the r-z plane

These are the parameters used by BaBar, see D.N. Brown et al., The BaBar Track Fitting Algorithm, appendix A, eq. (15). Available at http://rhicii-science.bnl.gov/public/comp/reco/babar.ps

The class is able to return the track fit result as either perigee parameters or cartesian parameters (x,y,z,px,py,pz)

Definition at line 49 of file TrackFitResult.h.

Constructor & Destructor Documentation

◆ TrackFitResult() [1/2]

TrackFitResult ( const ROOT::Math::XYZVector &  position,
const ROOT::Math::XYZVector &  momentum,
const TMatrixDSym &  covariance,
const short int  charge,
const Const::ParticleType particleType,
const float  pValue,
const float  bField,
const uint64_t  hitPatternCDCInitializer,
const uint32_t  hitPatternVXDInitializer,
const float  NDF 
)

Constructor initializing class with fit result.

This is the only way to set the values of the TrackFitResult. We don't have any setters, as we assume, that once we create the MDST object, we don't want to change the values of the tracks any more. Scaling can be applied during readout, by setting the value for the magnetic field.

Parameters
positionPosition of the track near the perigee.
momentumMomentum of the track near the perigee.
covarianceCovariance matrix for position and momentum given.
chargeCharge of the particle.
particleTypeParticle Type used for mass hypothesis of the fit.
pValuep-value of the corresponding track fit.
bFieldMagnetic field to be used for the calculation of the curvature; It is assumed, that the B-field is parallel to the z-Axis.
hitPatternCDCInitializerbits for initializing CDC hit pattern.
hitPatternVXDInitializerbits for initializing VXD hit pattern.
NDFnumber of degrees of freedom for the fit (float since DAF provides decimal weights which can be less than 1)

Definition at line 32 of file TrackFitResult.cc.

38  :
39  m_pdg(std::abs(particleType.getPDGCode())), m_pValue(pValue),
40  m_hitPatternCDCInitializer(hitPatternCDCInitializer),
41  m_hitPatternVXDInitializer(hitPatternVXDInitializer),
42  m_NDF100(int(NDF * 100.))
43 {
44  UncertainHelix h(position, momentum, charge, bField, covariance, pValue);
45 
46  m_tau[iD0] = h.getD0();
47  m_tau[iPhi0] = h.getPhi0();
48  m_tau[iOmega] = h.getOmega();
49  m_tau[iZ0] = h.getZ0();
50  m_tau[iTanLambda] = h.getTanLambda();
51 
52  // Upper half of the covariance matrix goes into m_cov5.
53  const TMatrixDSym& cov = h.getCovariance();
54  unsigned int counter = 0;
55  for (unsigned int i = 0; i < c_NPars; ++i) {
56  for (unsigned int j = i; j < c_NPars; ++j) {
57  m_cov5[counter++] = cov(i, j);
58  }
59  }
60  assert(counter == c_NCovEntries);
61 }
int getPDGCode() const
PDG code.
Definition: Const.h:464
static const unsigned int c_NPars
Number of helix parameters.
uint32_t m_hitPatternVXDInitializer
Member for initializing the information about hits in the VXD.
static const unsigned int iZ0
Index for z0.
static const unsigned int c_NCovEntries
Number of covariance entries.
unsigned int m_pdg
PDG Code for hypothesis with which the corresponding fit was performed.
Double32_t m_tau[c_NPars]
perigee helix parameters; tau = d0, phi0, omega, z0, tanLambda.
Double32_t m_pValue
Chi2 Probability of the fit.
uint16_t m_NDF100
Member for number of degrees of freedom multiplied by 100 in order to store inside an int a float wit...
static const unsigned int iTanLambda
Index tan lambda.
static const unsigned int iD0
Index for d0.
uint64_t m_hitPatternCDCInitializer
Member for initializing the information about hits in the CDC.
static const unsigned int iOmega
Index for omega.
Double32_t m_cov5[c_NCovEntries]
The 15 = 5*(5+1)/2 covariance matrix elements.
static const unsigned int iPhi0
Index for phi0.
This class represents an ideal helix in perigee parameterization including the covariance matrix of t...

◆ TrackFitResult() [2/2]

TrackFitResult ( const std::vector< float > &  tau,
const std::vector< float > &  cov5,
const Const::ParticleType particleType,
const float  pValue,
const uint64_t  hitPatternCDCInitializer,
const uint32_t  hitPatternVXDInitializer,
const float  NDF 
)

Constructor initializing class with perigee parameters.

This constructor is needed for testing the class.

Parameters
tauHelix parameters of the track;
See also
m_tau .
Parameters
cov5Covariance matrix of the helix paramters of the track;
See also
m_cov5
Parameters
particleTypeParticle Type used for the mass hypothesis of the fit.
pValuep-value of the corresponding track fit.
hitPatternCDCInitializerbits for initializing CDC hit pattern.
hitPatternVXDInitializerbits for initializing VXD hit pattern.
NDFnumber of degrees of freedom for the fit (float since DAF provides decimal weights which can be less than 1)

Definition at line 63 of file TrackFitResult.cc.

Member Function Documentation

◆ addRelationTo() [1/2]

void addRelationTo ( const RelationsInterface< BASE > *  object,
float  weight = 1.0,
const std::string &  namedRelation = "" 
) const
inlineinherited

Add a relation from this object to another object (with caching).

Parameters
objectThe object to which the relation should point.
weightThe weight of the relation.
namedRelationAdditional name for the relation, or "" for the default naming

Definition at line 142 of file RelationsObject.h.

◆ addRelationTo() [2/2]

void addRelationTo ( const TObject *  object,
float  weight = 1.0,
const std::string &  namedRelation = "" 
) const
inlineinherited

Add a relation from this object to another object (no caching, can be quite slow).

Parameters
objectThe object to which the relation should point.
weightThe weight of the relation.
namedRelationAdditional name for the relation, or "" for the default naming

Definition at line 155 of file RelationsObject.h.

◆ copyRelations()

void copyRelations ( const RelationsInterface< BASE > *  sourceObj)
inlineinherited

Copies all relations of sourceObj (pointing from or to sourceObj) to this object (including weights).

Useful if you want to make a complete copy of a StoreArray object to make modifications to it, but retain all information on linked objects.

Note: this only works if sourceObj inherits from the same base (e.g. RelationsObject), and only for related objects that also inherit from the same base.

Definition at line 170 of file RelationsObject.h.

◆ get4Momentum()

ROOT::Math::PxPyPzEVector get4Momentum ( ) const
inline

Getter for the 4Momentum at the closest approach of the track in the r/phi projection.

P = (px, py, pz, E) where E is calculated via the momentum and the particle hypothesis of the TrackFitResult.

Definition at line 125 of file TrackFitResult.h.

126  {
127  const ROOT::Math::XYZVector momentum = getMomentum();
128  return ROOT::Math::PxPyPzEVector(momentum.X(), momentum.Y(), momentum.Z(), getEnergy());
129  }
double getEnergy() const
Getter for the Energy at the closest approach of the track in the r/phi projection.
ROOT::Math::XYZVector getMomentum() const
Getter for vector of momentum at closest approach of track in r/phi projection.

◆ getChargeSign()

short getChargeSign ( ) const
inline

Return track charge (1 or -1).

Definition at line 161 of file TrackFitResult.h.

◆ getCotTheta()

double getCotTheta ( ) const
inline

Getter for tanLambda with CDF naming convention.


Definition at line 210 of file TrackFitResult.h.

◆ getCov()

std::vector<float> getCov ( ) const
inline

Getter for all covariance matrix elements of perigee parameters.

Returns
vector with 15 elements

Definition at line 222 of file TrackFitResult.h.

◆ getCovariance5()

TMatrixDSym getCovariance5 ( ) const

Getter for covariance matrix of perigee parameters in matrix form.

The order is given by TFRParName: d0, phi0, omega, z0, lambda.

Definition at line 120 of file TrackFitResult.cc.

◆ getCovariance6()

TMatrixDSym getCovariance6 ( ) const
inline

Position and Momentum Covariance Matrix.


Definition at line 148 of file TrackFitResult.h.

◆ getD0()

double getD0 ( ) const
inline

Getter for d0.

This is the signed distance to the IP in the r-phi plane.

Returns

Definition at line 179 of file TrackFitResult.h.

◆ getEnergy()

double getEnergy ( ) const
inline

Getter for the Energy at the closest approach of the track in the r/phi projection.

E is calculated via the momentum and the particle hypothesis of the TrackFitResult.

Definition at line 134 of file TrackFitResult.h.

◆ getHelix() [1/2]

Helix getHelix ( ) const
inline

Conversion to framework Helix (without covariance).


Definition at line 231 of file TrackFitResult.h.

◆ getHelix() [2/2]

Helix getHelix ( float  momentumScale) const
inline

Conversion to framework Helix with momentum scaling (without covariance).


Definition at line 235 of file TrackFitResult.h.

◆ getHitPatternCDC()

HitPatternCDC getHitPatternCDC ( ) const

Getter for the hit pattern in the CDC;.

See also
HitPatternCDC

Definition at line 134 of file TrackFitResult.cc.

◆ getHitPatternVXD()

HitPatternVXD getHitPatternVXD ( ) const

Getter for the hit pattern in the VXD;.

See also
HitPatternVXD

Definition at line 139 of file TrackFitResult.cc.

◆ getInfo()

std::string getInfo ( ) const
inlineinherited

Return a short summary of this object's contents in raw text format.

Returns the contents of getInfoHTML() while translating line-breaks etc.

Note
: You don't need to implement this function (it's not virtual), getInfoHTML() is enough.

Definition at line 370 of file RelationsObject.h.

◆ getMomentum()

ROOT::Math::XYZVector getMomentum ( ) const
inline

Getter for vector of momentum at closest approach of track in r/phi projection.

As we calculate recalculate the momentum from a geometric helix, we need an estimate of the magnetic field along the z-axis to give back the momentum.

Definition at line 116 of file TrackFitResult.h.

◆ getName()

virtual std::string getName ( ) const
inlinevirtualinherited

Return a short name that describes this object, e.g.

pi+ for an MCParticle.

Reimplemented in SpacePoint, MCParticle, and Particle.

Definition at line 344 of file RelationsObject.h.

◆ getOmega()

double getOmega ( ) const
inline

Getter for omega.

This is the curvature of the track. It's sign is defined by the charge of the particle.

Returns

Definition at line 195 of file TrackFitResult.h.

◆ getPhi()

double getPhi ( void  ) const
inline

Getter for phi0 with CDF naming convention.


Definition at line 188 of file TrackFitResult.h.

◆ getPhi0()

double getPhi0 ( ) const
inline

Getter for phi0.

This is the angle of the transverse momentum in the r-phi plane.

Returns

Definition at line 185 of file TrackFitResult.h.

◆ getRelated()

T* getRelated ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the object to or from which this object has a relation.

Template Parameters
TThe class of objects to or from which the relation points.
Parameters
nameThe name of the store array to or from which the relation points. If empty the default store array name for class T will be used. If the special name "ALL" is given all store arrays containing objects of type T are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
The first related object or a null pointer.

Definition at line 278 of file RelationsObject.h.

◆ getRelatedFrom()

FROM* getRelatedFrom ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the object from which this object has a relation.

Template Parameters
FROMThe class of objects from which the relation points.
Parameters
nameThe name of the store array from which the relation points. If empty the default store array name for class FROM will be used. If the special name "ALL" is given all store arrays containing objects of type FROM are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
The first related object or a null pointer.

Definition at line 263 of file RelationsObject.h.

◆ getRelatedFromWithWeight()

std::pair<FROM*, float> getRelatedFromWithWeight ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get first related object & weight of relation pointing from an array.

Template Parameters
FROMThe class of objects from which the relation points.
Parameters
nameThe name of the store array from which the relation points. If empty the default store array name for class FROM will be used. If the special name "ALL" is given all store arrays containing objects of type FROM are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
Pair of first related object and the relation weight, or (NULL, 1.0) if none found.

Definition at line 314 of file RelationsObject.h.

◆ getRelatedTo()

TO* getRelatedTo ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the object to which this object has a relation.

Template Parameters
TOThe class of objects to which the relation points.
Parameters
nameThe name of the store array to which the relation points. If empty the default store array name for class TO will be used. If the special name "ALL" is given all store arrays containing objects of type TO are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
The first related object or a null pointer.

Definition at line 248 of file RelationsObject.h.

◆ getRelatedToWithWeight()

std::pair<TO*, float> getRelatedToWithWeight ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get first related object & weight of relation pointing to an array.

Template Parameters
TOThe class of objects to which the relation points.
Parameters
nameThe name of the store array to which the relation points. If empty the default store array name for class TO will be used. If the special name "ALL" is given all store arrays containing objects of type TO are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
Pair of first related object and the relation weight, or (NULL, 1.0) if none found.

Definition at line 297 of file RelationsObject.h.

◆ getRelatedWithWeight()

std::pair<T*, float> getRelatedWithWeight ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get first related object & weight of relation pointing from/to an array.

Template Parameters
TThe class of objects to or from which the relation points.
Parameters
nameThe name of the store array to or from which the relation points. If empty the default store array name for class T will be used. If the special name "ALL" is given all store arrays containing objects of type T are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
Pair of first related object and the relation weight, or (NULL, 1.0) if none found.

Definition at line 331 of file RelationsObject.h.

◆ getRelationsFrom()

RelationVector<FROM> getRelationsFrom ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the relations that point from another store array to this object.

Template Parameters
FROMThe class of objects from which the relations point.
Parameters
nameThe name of the store array from which the relations point. If empty the default store array name for class FROM will be used. If the special name "ALL" is given all store arrays containing objects of type FROM are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
A vector of relations.

Definition at line 212 of file RelationsObject.h.

◆ getRelationsTo()

RelationVector<TO> getRelationsTo ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the relations that point from this object to another store array.

Template Parameters
TOThe class of objects to which the relations point.
Parameters
nameThe name of the store array to which the relations point. If empty the default store array name for class TO will be used. If the special name "ALL" is given all store arrays containing objects of type TO are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
A vector of relations.

Definition at line 197 of file RelationsObject.h.

◆ getRelationsWith()

RelationVector<T> getRelationsWith ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the relations between this object and another store array.

Relations in both directions are returned.

Template Parameters
TThe class of objects to or from which the relations point.
Parameters
nameThe name of the store array to or from which the relations point. If empty the default store array name for class T will be used. If the special name "ALL" is given all store arrays containing objects of type T are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
A vector of relations.

Definition at line 230 of file RelationsObject.h.

◆ getTanLambda()

double getTanLambda ( ) const
inline

Getter for tanLambda.

This is the slope of the track in the r-z plane.

Returns

Definition at line 207 of file TrackFitResult.h.

◆ getTau()

std::vector<float> getTau ( ) const
inline

Getter for all perigee parameters.

Returns
vector with 5 elements

Definition at line 216 of file TrackFitResult.h.

◆ getUncertainHelix()

UncertainHelix getUncertainHelix ( ) const
inline

Conversion to framework Uncertain Helix (i.e., with covariance).


Definition at line 239 of file TrackFitResult.h.

◆ getZ0()

double getZ0 ( ) const
inline

Getter for z0.

This is the z coordinate of the perigee.

Returns

Definition at line 201 of file TrackFitResult.h.

◆ updateTrackFitResult()

void updateTrackFitResult ( const TrackFitResult input)

update the TrackFitResults

Parameters
inputthe TrackFitResult that will be copied into this TrackFitResult

Definition at line 83 of file TrackFitResult.cc.

Member Data Documentation

◆ c_NPars

const unsigned int c_NPars = 5
staticprivate

Number of helix parameters.

A helix has five parameters and the covariance matrix is a symmetric five-by-five matrix.

Definition at line 269 of file TrackFitResult.h.

◆ m_cov5

Double32_t m_cov5[c_NCovEntries]
private

The 15 = 5*(5+1)/2 covariance matrix elements.

(0,0), (0,1) ... (1,1), (1,2) ... (2,2) ...

Definition at line 290 of file TrackFitResult.h.

◆ m_hitPatternCDCInitializer

uint64_t m_hitPatternCDCInitializer
private

Member for initializing the information about hits in the CDC.

See also
HitPatternCDC

Definition at line 296 of file TrackFitResult.h.

◆ m_hitPatternVXDInitializer

uint32_t m_hitPatternVXDInitializer
private

Member for initializing the information about hits in the VXD.

See also
HitPatternVXD

Definition at line 301 of file TrackFitResult.h.

◆ m_pdg

unsigned int m_pdg
private

PDG Code for hypothesis with which the corresponding fit was performed.


Definition at line 259 of file TrackFitResult.h.


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