EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::AnnealingUtility Class Reference

Implements a deterministic thermodynamic annealing scheme Ref. (1): CERN-THESIS-2010-027. More...

#include <acts/blob/sPHENIX/Core/include/Acts/Utilities/AnnealingUtility.hpp>

+ Collaboration diagram for Acts::AnnealingUtility:

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 std::vector< double > &allChi2) const
 Weight access.
 
double getWeight (State &state, double chi2) const
 Weight access.
 

Private Attributes

Config m_cfg
 Configuration object.
 

Detailed Description

Implements a deterministic thermodynamic annealing scheme Ref. (1): CERN-THESIS-2010-027.

Definition at line 18 of file AnnealingUtility.hpp.

View newest version in sPHENIX GitHub at line 18 of file AnnealingUtility.hpp

Constructor & Destructor Documentation

Acts::AnnealingUtility::AnnealingUtility ( const Config cfg = Config())
inline

Constructor.

Definition at line 46 of file AnnealingUtility.hpp.

View newest version in sPHENIX GitHub at line 46 of file AnnealingUtility.hpp

Member Function Documentation

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

Does the actual annealing step.

Definition at line 21 of file AnnealingUtility.cpp.

View newest version in sPHENIX GitHub at line 21 of file AnnealingUtility.cpp

References Acts::AnnealingUtility::State::currentTemperatureIndex, Acts::AnnealingUtility::State::equilibriumReached, m_cfg, and Acts::AnnealingUtility::Config::setOfTemperatures.

Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().

+ Here is the caller graph for this function:

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

Weight access.

Parameters
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)

Definition at line 29 of file AnnealingUtility.cpp.

View newest version in sPHENIX GitHub at line 29 of file AnnealingUtility.cpp

References Acts::AnnealingUtility::State::currentTemperatureIndex, denom, and gaussFunc().

Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Weight access.

Parameters
chi2Chi^2
Returns
Calculated weight

Definition at line 45 of file AnnealingUtility.cpp.

View newest version in sPHENIX GitHub at line 45 of file AnnealingUtility.cpp

References Acts::AnnealingUtility::State::currentTemperatureIndex, and gaussFunc().

+ Here is the call graph for this function:

Member Data Documentation

Config Acts::AnnealingUtility::m_cfg
private

Configuration object.

Definition at line 71 of file AnnealingUtility.hpp.

View newest version in sPHENIX GitHub at line 71 of file AnnealingUtility.hpp

Referenced by anneal().


The documentation for this class was generated from the following files: