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 setMaxIterations(unsigned int n)
Set the maximum number of iterations.
Double_t val[nBoxes][nFEBox]
std::vector< double > betas_
virtual void setDebugLvl(unsigned int lvl=1)
Collection of TrackPoint objects, AbsTrackRep objects and FitStatus objects.
Abstract base class for a track representation.
void setAnnealingScheme(double bStart, double bFinal, unsigned int nSteps)
Configure the annealing scheme.
boost::scoped_ptr< AbsKalmanFitter > kalman_
Determinstic Annealing Filter (DAF) implementation.
Abstract base class for Kalman fitter and derived fitting algorithms.
virtual void setMaxFailedHits(int val)
void setConvergenceDeltaWeight(double delta)
If all weights change less than delta between two iterations, the fit is regarded as converged...
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...
virtual void setDebugLvl(unsigned int lvl=1)
virtual void setMaxFailedHits(int val)
void processTrackWithRep(Track *tr, const AbsTrackRep *rep, bool resortHits=false)
Process a track using the DAF.
void setProbCut(const double prob_cut)
Set the probability cut for the weight calculation for the hits.
bool calcWeights(Track *trk, const AbsTrackRep *rep, double beta)
Calculate and set the weights for the next fitting pass. Return if convergence is met...
const std::vector< double > & getBetas()
unsigned int maxIterations_
Maximum number of iterations to attempt. Forward and backward are counted as one iteration.
AbsKalmanFitter * getKalman() const
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.