|
ATLAS Offline Software
|
Go to the documentation of this file.
13 double gauss(
const double value2,
const double error2) {
14 return exp(-1./2.*value2/error2);
24 m_SetOfTemperatures(1,3),
34 return StatusCode::SUCCESS;
40 return StatusCode::SUCCESS;
54 ATH_MSG_ERROR(
"The vector SetOfTemperatures for the annealing is empty" );
62 const std::vector<double>& allchisq)
const
66 for (
double ch : allchisq) {
DetAnnealingMaker(const std::string &t, const std::string &n, const IInterface *p)
Default constructor due to Athena interface.
virtual StatusCode finalize() override
::StatusCode StatusCode
StatusCode definition for legacy code.
std::vector< double > m_SetOfTemperatures
A vector of temperatures, you will start from SetOfTemperature[0] and Anneal towards SetOfTemperature...
virtual void anneal(AnnealingState &state) const override
One more annealing step.
Ensure that the ATLAS eigen extensions are properly loaded.
virtual double actualTemp(const AnnealingState &state) const override
Access to the actual temperature value.
virtual void reset(AnnealingState &state) const override
Resets the annealing process to its beginning.
virtual double getWeight(const AnnealingState &state, double chisq, const std::vector< double > &allchisq) const override
Weight access method.
virtual StatusCode initialize() override
double m_cutoff
Weight will be insensitive to chi2 at order of magnitude of the cutoff...