#include <ConfigurableAnnealing.h>
Public Member Functions | |
void | anneal () override |
ConfigurableAnnealing * | clone () const override |
ConfigurableAnnealing (const edm::ParameterSet &) | |
ConfigurableAnnealing (const ConfigurableAnnealing &) | |
double | currentTemp () const override |
double | cutoff () const override |
void | debug () const override |
double | initialTemp () const override |
bool | isAnnealed () const override |
double | phi (double chi2) const override |
void | resetAnnealing () override |
double | weight (double chi2) const override |
~ConfigurableAnnealing () override | |
Public Member Functions inherited from AnnealingSchedule | |
virtual | ~AnnealingSchedule () |
Private Attributes | |
AnnealingSchedule * | theImpl |
Definition at line 8 of file ConfigurableAnnealing.h.
ConfigurableAnnealing::ConfigurableAnnealing | ( | const edm::ParameterSet & | m | ) |
An annealing schedule that is completely configurable via edm::ParameterSet
Definition at line 9 of file ConfigurableAnnealing.cc.
References beamvalidation::exit(), visualization-live-secondInstance_cfg::m, and theImpl.
Referenced by clone().
|
override |
ConfigurableAnnealing::ConfigurableAnnealing | ( | const ConfigurableAnnealing & | o | ) |
Definition at line 32 of file ConfigurableAnnealing.cc.
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 40 of file ConfigurableAnnealing.cc.
References AnnealingSchedule::anneal(), and theImpl.
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 34 of file ConfigurableAnnealing.cc.
References ConfigurableAnnealing().
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 50 of file ConfigurableAnnealing.cc.
References AnnealingSchedule::currentTemp(), and theImpl.
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 48 of file ConfigurableAnnealing.cc.
References AnnealingSchedule::cutoff(), and theImpl.
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 38 of file ConfigurableAnnealing.cc.
References AnnealingSchedule::debug(), and theImpl.
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 52 of file ConfigurableAnnealing.cc.
References AnnealingSchedule::initialTemp(), and theImpl.
|
overridevirtual |
Returns phi(chi2) / ( phi(cutoff^2) + sum_i { phi(chi2s[i]) } ) is it annealed yet?
Implements AnnealingSchedule.
Definition at line 54 of file ConfigurableAnnealing.cc.
References AnnealingSchedule::isAnnealed(), and theImpl.
|
inlineoverridevirtual |
phi ( chi2 ) = e^( -.5*chi2 / T )
Implements AnnealingSchedule.
Definition at line 46 of file ConfigurableAnnealing.cc.
References nano_mu_local_reco_cff::chi2, AnnealingSchedule::phi(), and theImpl.
Referenced by Particle.Particle::__str__(), datamodel.Object::DeltaR(), datamodel.Object::p4(), and ntupleDataFormat.Track::phiPull().
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 44 of file ConfigurableAnnealing.cc.
References AnnealingSchedule::resetAnnealing(), and theImpl.
|
overridevirtual |
Returns phi(chi2) / ( phi(cutoff^2) + phi(chi2) ),
Implements AnnealingSchedule.
Definition at line 42 of file ConfigurableAnnealing.cc.
References nano_mu_local_reco_cff::chi2, theImpl, and AnnealingSchedule::weight().
|
private |
Definition at line 31 of file ConfigurableAnnealing.h.
Referenced by anneal(), ConfigurableAnnealing(), currentTemp(), cutoff(), debug(), initialTemp(), isAnnealed(), phi(), resetAnnealing(), weight(), and ~ConfigurableAnnealing().