7 #ifndef PHGENFIT2_TRACK_H
8 #define PHGENFIT2_TRACK_H
12 #include <TMatrixDSymfwd.h>
28 class MeasuredStateOnPlane;
38 Track(genfit::AbsTrackRep* rep, TVector3 seed_pos, TVector3 seed_mom, TMatrixDSym seed_cov,
const int v = 0);
48 int addMeasurements(std::vector<PHGenFit::Measurement*>& measurements,
int id = -1);
54 const std::vector<PHGenFit::Measurement*>& measurements,
55 std::map<
double, std::shared_ptr<PHGenFit2::Track> >& incr_chi2s_new_tracks,
56 const int base_tp_idx = -1,
57 const int direction = 1,
58 const float blowup_factor = 1.,
59 const bool use_fitted_state =
false)
const;
64 double extrapolateToPlane(genfit::MeasuredStateOnPlane& state, TVector3 O, TVector3
n,
const int tr_point_id = 0)
const;
66 double extrapolateToLine(genfit::MeasuredStateOnPlane& state, TVector3 line_point, TVector3 line_direction,
const int tr_point_id = 0)
const;
68 double extrapolateToCylinder(genfit::MeasuredStateOnPlane& state,
double radius, TVector3 line_point, TVector3 line_direction,
const int tr_point_id = 0,
const int direction = 1)
const;
70 double extrapolateToPoint(genfit::MeasuredStateOnPlane& state, TVector3
P,
const int tr_point_id = 0)
const;
73 genfit::MeasuredStateOnPlane*
extrapolateToPlane(TVector3 O, TVector3 n,
const int tr_point_id = 0)
const;
75 genfit::MeasuredStateOnPlane*
extrapolateToLine(TVector3 line_point, TVector3 line_direction,
const int tr_point_id = 0)
const;
77 genfit::MeasuredStateOnPlane*
extrapolateToCylinder(
double radius, TVector3 line_point, TVector3 line_direction,
const int tr_point_id = 0,
const int direction = 1)
const;
79 genfit::MeasuredStateOnPlane*
extrapolateToPoint(TVector3 P,
const int tr_point_id = 0)
const;