21 double computeAnnealingWeight(
double chi2,
double invTemp) {
37 State&
state,
double chi2,
const std::vector<double>& allChi2)
const {
40 const double currentInvTemp = 1. / (2. *
m_cfg.setOfTemperatures[
idx]);
42 double num = computeAnnealingWeight(chi2, currentInvTemp);
44 double denom = m_gaussCutTempVec[
idx];
46 for (
double val : allChi2) {
47 denom += computeAnnealingWeight(val, currentInvTemp);
55 const double currentInvTemp =
59 (1. + computeAnnealingWeight(
m_cfg.cutOff - chi2, currentInvTemp));