62 DAF(
bool useRefKalman =
true,
double deltaWeight = 1e-3,
double deltaPval = 1e-3);
81 void addProbCut(
const double prob_cut,
const int measDim);
89 void setBetas(
double b1,
double b2=-1,
double b3=-1.,
double b4=-1.,
double b5=-1.,
double b6=-1.,
double b7=-1.,
double b8=-1.,
double b9=-1.,
double b10=-1.);
141 #endif //genfit_DAF_h
DAF & operator=(genfit::DAF const &)
void processTrackWithRep(Track *tr, const AbsTrackRep *rep, bool resortHits=false)
Process a track using the DAF.
unsigned int maxIterations_
Maximum number of iterations to attempt. Forward and backward are counted as one iteration.
AbsKalmanFitter * getKalman() const
virtual void setMaxFailedHits(int val)
void setProbCut(const double prob_cut)
Set the probability cut for the weight calculation for the hits.
std::vector< double > betas_
Determinstic Annealing Filter (DAF) implementation.
virtual void setDebugLvl(unsigned int lvl=1)
void setBetas(double b1, double b2=-1, double b3=-1., double b4=-1., double b5=-1., double b6=-1., double b7=-1., double b8=-1., double b9=-1., double b10=-1.)
Configure the annealing scheme.
bool calcWeights(Track *trk, const AbsTrackRep *rep, double beta)
Calculate and set the weights for the next fitting pass. Return if convergence is met...
virtual void setMaxFailedHits(int val)
Abstract base class for a track representation.
void addProbCut(const double prob_cut, const int measDim)
Set the probability cut for the weight calculation for the hits for a specific measurement dimensiona...
void setMaxIterations(unsigned int n)
Set the maximum number of iterations.
virtual void setDebugLvl(unsigned int lvl=1)
Abstract base class for Kalman fitter and derived fitting algorithms.
Collection of TrackPoint objects, AbsTrackRep objects and FitStatus objects.
void setConvergenceDeltaWeight(double delta)
If all weights change less than delta between two iterations, the fit is regarded as converged...
void setAnnealingScheme(double bStart, double bFinal, unsigned int nSteps)
Configure the annealing scheme.
boost::scoped_ptr< AbsKalmanFitter > kalman_
const std::vector< double > & getBetas()
Defines for I/O streams used for error and debug printing.