#include <DeterministicAnnealing.h>
Public Member Functions | |
void | anneal () override |
DeterministicAnnealing * | clone () const override |
double | currentTemp () const override |
double | cutoff () const override |
void | debug () const override |
DeterministicAnnealing (const std::vector< float > &sched, float cutoff=3.0) | |
DeterministicAnnealing (float cutoff=3.0) | |
double | initialTemp () const override |
bool | isAnnealed () const override |
double | phi (double chi2) const override |
void | resetAnnealing () override |
double | weight (double chi2) const override |
Public Member Functions inherited from AnnealingSchedule | |
virtual | ~AnnealingSchedule () |
Private Attributes | |
double | theChi2cut |
unsigned int | theIndex |
bool | theIsAnnealed |
std::vector< float > | theTemperatures |
Definition at line 7 of file DeterministicAnnealing.h.
DeterministicAnnealing::DeterministicAnnealing | ( | float | cutoff = 3.0 | ) |
Definition at line 10 of file DeterministicAnnealing.cc.
DeterministicAnnealing::DeterministicAnnealing | ( | const std::vector< float > & | sched, |
float | cutoff = 3.0 |
||
) |
Definition at line 13 of file DeterministicAnnealing.cc.
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 16 of file DeterministicAnnealing.cc.
References theIndex, theIsAnnealed, and theTemperatures.
|
inlineoverridevirtual |
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 50 of file DeterministicAnnealing.cc.
References theIndex, and theTemperatures.
|
overridevirtual |
Returns phi(chi2) / ( phi(cutoff^2) + sum_i { phi(chi2s[i]) } )
Implements AnnealingSchedule.
Definition at line 48 of file DeterministicAnnealing.cc.
References mathSSE::sqrt(), and theChi2cut.
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 56 of file DeterministicAnnealing.cc.
References gather_cfg::cout, mps_fire::i, and theTemperatures.
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 52 of file DeterministicAnnealing.cc.
References theTemperatures.
|
overridevirtual |
is it annealed yet?
Implements AnnealingSchedule.
Definition at line 54 of file DeterministicAnnealing.cc.
References theIsAnnealed.
|
inlineoverridevirtual |
phi ( chi2 ) = e^( -.5*chi2 / T )
Implements AnnealingSchedule.
Definition at line 46 of file DeterministicAnnealing.cc.
References hltPixelTracks_cff::chi2, JetChargeProducer_cfi::exp, theIndex, and theTemperatures.
Referenced by Particle.Particle::__str__(), ntupleDataFormat.Track::phiPull(), and weight().
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 41 of file DeterministicAnnealing.cc.
References theIndex, and theIsAnnealed.
|
overridevirtual |
Returns phi(chi2) / ( phi(cutoff^2) + phi(chi2) ),
Implements AnnealingSchedule.
Definition at line 24 of file DeterministicAnnealing.cc.
References hltPixelTracks_cff::chi2, edm::isNotFinite(), phi(), and theChi2cut.
|
private |
Definition at line 53 of file DeterministicAnnealing.h.
|
private |
Definition at line 52 of file DeterministicAnnealing.h.
Referenced by anneal(), currentTemp(), phi(), and resetAnnealing().
|
private |
Definition at line 54 of file DeterministicAnnealing.h.
Referenced by anneal(), isAnnealed(), and resetAnnealing().
|
private |
Definition at line 48 of file DeterministicAnnealing.h.
Referenced by anneal(), currentTemp(), debug(), initialTemp(), and phi().