ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Implements a deterministic thermodynamic annealing scheme Ref. (1): CERN-THESIS-2010-027. More...
#include <acts/blob/master/Core/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 std::vector< double > &allChi2) const |
Weight access. | |
double | getWeight (State &state, double chi2) const |
Weight access. | |
Private Attributes | |
Config | m_cfg |
Configuration object. | |
Implements a deterministic thermodynamic annealing scheme Ref. (1): CERN-THESIS-2010-027.
Definition at line 17 of file AnnealingUtility.hpp.
View newest version in sPHENIX GitHub at line 17 of file AnnealingUtility.hpp
Constructor.
Definition at line 45 of file AnnealingUtility.hpp.
View newest version in sPHENIX GitHub at line 45 of file AnnealingUtility.hpp
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().
double Acts::AnnealingUtility::getWeight | ( | State & | state, |
double | chi2, | ||
const std::vector< double > & | allChi2 | ||
) | const |
Weight access.
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 |
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().
double Acts::AnnealingUtility::getWeight | ( | State & | state, |
double | chi2 | ||
) | const |
Weight access.
chi2 | Chi^2 |
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().
|
private |
Configuration object.
Definition at line 70 of file AnnealingUtility.hpp.
View newest version in sPHENIX GitHub at line 70 of file AnnealingUtility.hpp
Referenced by anneal().