ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::AnnealingUtility Class Reference

Implements a deterministic thermodynamic annealing scheme Ref. More...

#include <Acts/Utilities/AnnealingUtility.hpp>

Classes

struct  Config
 The configuration struct. More...
struct  State
 The annealing state Resetting the state is done by just creating a new instance. More...

Public Member Functions

 AnnealingUtility (const Config &cfg=Config())
 Constructor.
void anneal (State &state) const
 Does the actual annealing step.
double getWeight (State &state, double chi2) const
 Weight access.
double getWeight (State &state, double chi2, const std::vector< double > &allChi2) const
 Weight access.

Detailed Description

Implements a deterministic thermodynamic annealing scheme Ref.

(1): CERN-THESIS-2010-027

Constructor & Destructor Documentation

◆ AnnealingUtility()

Acts::AnnealingUtility::AnnealingUtility ( const Config & cfg = Config())
explicit

Constructor.

Parameters
cfgThe annealing configuration parameters

Member Function Documentation

◆ anneal()

void Acts::AnnealingUtility::anneal ( State & state) const

Does the actual annealing step.

Parameters
stateThe state object to perform annealing on

◆ getWeight() [1/2]

double Acts::AnnealingUtility::getWeight ( State & state,
double chi2 ) const

Weight access.

Parameters
stateThe state object
chi2Chi^2
Returns
Calculated weight

◆ getWeight() [2/2]

double Acts::AnnealingUtility::getWeight ( State & state,
double chi2,
const std::vector< double > & allChi2 ) const

Weight access.

Parameters
stateThe state object
chi2Chi^2 for e.g. current track, i.e. compatibility of track to current vertex candidate
allChi2Vector of all chi^2 values, i.e. e.g. compatibilities of current track to all vertices it is currently attached to
Returns
Calculated weight according to Eq.(5.46) in Ref.(1)