12#ifndef O2_MCH_EVALUATION_EXTENDED_TRACK_H__
13#define O2_MCH_EVALUATION_EXTENDED_TRACK_H__
18#include "Math/Vector4D.h"
45 double x,
double y,
double z);
51 const std::vector<Cluster>&
getClusters()
const {
return mClusters; }
64 double getDCA()
const {
return mDCA; }
68 const ROOT::Math::PxPyPzMVector&
P()
const {
return mMomentum4D; }
73 void extrapToVertex(
double x,
double y,
double z);
77 std::vector<Cluster> mClusters{};
78 ROOT::Math::PxPyPzMVector mMomentum4D{};
80 bool mHasMatchIdentical;
83 static constexpr double sChi2Max{2. * 4. * 4.};
86std::ostream&
operator<<(std::ostream& out,
const ExtendedTrack& track);
90bool areEqual(
const ExtendedTrack&
t1,
const ExtendedTrack& t2,
double chi2Max);
99bool areMatching(
const ExtendedTrack&
t1,
const ExtendedTrack& t2,
double chi2Max);
Definition of the MCH track for internal use.
Definition of the MCH track.
MCH track external format.
track parameters for internal use
Double_t getCharge() const
return the charge (assumed forward motion)
void setMatchFound(bool val=true)
double getNormalizedChi2() const
const TrackParam & param() const
std::string asString() const
bool isMatching(const ExtendedTrack &track) const
bool operator==(const ExtendedTrack &track) const
const ROOT::Math::PxPyPzMVector & P() const
const std::vector< Cluster > & getClusters() const
bool hasMatchIdentical() const
void setMatchIdentical(bool val=true)
const Track & track() const
bool hasMatchFound() const
GLdouble GLdouble GLdouble z
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat t1
bool areMatching(const ExtendedTrack &t1, const ExtendedTrack &t2, double chi2Max)
bool areEqual(const ExtendedTrack &t1, const ExtendedTrack &t2, double chi2Max)
std::ostream & operator<<(std::ostream &out, const ExtendedTrack &track)
std::vector< Cluster > clusters