100 void setOptions(
const std::string &internalIterations =
"",
bool enableScatterers =
true,
bool enableIntermediateScatterer =
true,
unsigned int externalIterations = 1,
unsigned int recalcJacobians = 1) {
104 if (!enableScatterers)
105 enableIntermediateScatterer =
false;
119 void setMSOptions(
bool enableScatterers =
true,
bool enableIntermediateScatterer =
true) {
120 if (!enableScatterers)
121 enableIntermediateScatterer =
false;
146 double& theta,
double& s,
double& ds,
147 const double p,
const double mass,
const double charge,
148 const std::vector<genfit::MatStep>& steps)
const;
Abstract base class for a track representation.
Generic GBL implementation.
unsigned int m_recalcJacobians
unsigned int m_externalIterations
void updateGblInfo(gbl::GblTrajectory &traj, genfit::Track *trk, const genfit::AbsTrackRep *rep)
Populate all fitter infos in track for rep with results of trajectory fit.
void cleanGblInfo(Track *trk, const AbsTrackRep *rep) const
Remove all previous gbl fitter data from track Also removes trackpoints without measurement.
GblFitter & operator=(GblFitter const &)
GblFitter(const GblFitter &)
void processTrackWithRep(Track *trk, const AbsTrackRep *rep, bool resortHits=false) override
double constructGblInfo(Track *trk, const AbsTrackRep *rep)
Propagate seed, populate track with scatterers and GblFitterInfos with reference state set.
std::string m_gblInternalIterations
void getScattererFromMatList(double &length, double &theta, double &s, double &ds, const double p, const double mass, const double charge, const std::vector< genfit::MatStep > &steps) const
Evaluates moments of radiation length distribution from list of material steps and computes parameter...
GblTrackSegmentController * m_segmentController
void setOptions(const std::string &internalIterations="", bool enableScatterers=true, bool enableIntermediateScatterer=true, unsigned int externalIterations=1, unsigned int recalcJacobians=1)
Set options of the fitter/GBL.
void setTrackSegmentController(GblTrackSegmentController *controler)
void sortHits(Track *trk, const AbsTrackRep *rep) const
Sort hits in track by arc-len using extrapolation.
void setMSOptions(bool enableScatterers=true, bool enableIntermediateScatterer=true)
Set multiple scattering options of the fitter/GBL.
std::vector< gbl::GblPoint > collectGblPoints(genfit::Track *trk, const genfit::AbsTrackRep *rep)
Constructs all GBL points and returns them in vector for trajectory construction.
bool m_enableIntermediateScatterer
TrackSegmentController for use with GblFitter.
Collection of TrackPoint objects, AbsTrackRep objects and FitStatus objects.
Defines for I/O streams used for error and debug printing.