Implements a deterministic thermodynamic annealing scheme Ref.
double getWeight(State &state, double chi2, const std::vector<double> &allChi2) const¶
state – The state object
chi2 – Chi^2 for e.g. current track, i.e. compatibility of track to current vertex candidate
allChi2 – Vector of all chi^2 values, i.e. e.g. compatibilities of current track to all vertices it is currently attached to
Calculated weight according to Eq.(5.46) in Ref.(1)
The annealing state Resetting the state is done by just creating a new instance.
- double getWeight(State &state, double chi2, const std::vector<double> &allChi2) const¶