16#define TTrackClassified 1
18#define TTrackGarbage 1
24#define TTrackHep 65536
25#define TTrackWire 131072
26#define TTrackPt 524288
27#define TTrackPz 1048576
28#define TTrackUnique 2097152
29#define TTrackMatchingLoose 4194304
30#define TTrackMatchingTight 8388608
32#ifdef TRKRECO_DEBUG_DETAIL
40#define HEP_SHORT_NAMES
41#include "CLHEP/Alist/AList.h"
42#include "CLHEP/Vector/ThreeVector.h"
43#include "CLHEP/Vector/LorentzVector.h"
50using CLHEP::Hep3Vector;
51using CLHEP::HepLorentzVector;
66 void dump(
const std::string & message = std::string(
""),
67 const std::string & prefix = std::string(
""))
const;
70 int hepId(
void)
const;
91 const Hep3Vector &
residual(
void)
const;
100 double ptPull(
void)
const;
103 double pzPull(
void)
const;
106 unsigned state(
void)
const;
132 double _wireFraction;
133 double _wireFractionHEP;
137 Hep3Vector _residual;
158#ifdef TRKRECO_NO_INLINE
162#define TTrackMC_INLINE_DEFINE_HERE
165#ifdef TTrackMC_INLINE_DEFINE_HERE
200 return _wireFraction;
206 return _wireFractionHEP;
std::string TrackMCQualityString(unsigned quality)
std::string TrackMCStatus(const TTrackMC &)
A class to represent a GEN_HEPEVT particle in tracking.
A class to have MC information of TTrack.
int hepId(void) const
returns HEP ID.
double wireFractionHEP(void) const
returns wire fraction(F2).
double pzPull(void) const
returns pull of pz.
double ptResidual(void) const
returns residual of pt.
double pzResidual(void) const
returns residual of pz.
const Hep3Vector & residual(void) const
returns residual of momentum.
virtual ~TTrackMC()
Destructor.
void update(void)
updates information.
double ptPull(void) const
returns pull of pt.
const TTrackHEP *const hep(void) const
returns a pointer to TTrackHEP.
unsigned quality(void) const
returns quality.
bool charge(void) const
returns charge matching.
double ptFraction(void) const
returns pt fraction.
unsigned state(void) const
returns state.
void dump(const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
dumps debug information.
double pzFraction(void) const
returns pz fraction.
double wireFraction(void) const
returns wire fraction(F1).
std::string qualityString(void) const
returns quality.
A class to represent a track in tracking.