#include <GeometricAnnealing.h>
Classes | |
class | A |
Public Member Functions | |
void | anneal () override |
GeometricAnnealing * | clone () const override |
double | currentTemp () const override |
double | cutoff () const override |
void | debug () const override |
GeometricAnnealing (const double cutoff=3.0, const double T=256.0, const double annealing_ratio=0.25) | |
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 |
double | theRatio |
double | theT |
double | theT0 |
Definition at line 7 of file GeometricAnnealing.h.
GeometricAnnealing::GeometricAnnealing | ( | const double | cutoff = 3.0 , |
const double | T = 256.0 , |
||
const double | annealing_ratio = 0.25 |
||
) |
Definition at line 7 of file GeometricAnnealing.cc.
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 10 of file GeometricAnnealing.cc.
References theRatio, and theT.
|
inlineoverridevirtual |
Implements AnnealingSchedule.
Definition at line 42 of file GeometricAnnealing.h.
|
overridevirtual |
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 28 of file GeometricAnnealing.cc.
References mathSSE::sqrt(), and theChi2cut.
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 39 of file GeometricAnnealing.cc.
References gather_cfg::cout, theChi2cut, theRatio, and theT0.
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 35 of file GeometricAnnealing.cc.
References theT0.
|
overridevirtual |
is it annealed yet?
Implements AnnealingSchedule.
Definition at line 37 of file GeometricAnnealing.cc.
References theT.
|
overridevirtual |
phi ( chi2 ) = e^( -.5 * chi2 / T )
Implements AnnealingSchedule.
Definition at line 26 of file GeometricAnnealing.cc.
References nano_mu_local_reco_cff::chi2, JetChargeProducer_cfi::exp, and theT.
Referenced by Particle.Particle::__str__(), ntupleDataFormat.Track::phiPull(), and weight().
|
overridevirtual |
|
overridevirtual |
Returns phi(chi2) / ( phi(cutoff^2) + phi(chi2) ),
Implements AnnealingSchedule.
Definition at line 12 of file GeometricAnnealing.cc.
References nano_mu_local_reco_cff::chi2, edm::isNotFinite(), phi(), and theChi2cut.
|
private |
Definition at line 47 of file GeometricAnnealing.h.
|
private |
Definition at line 48 of file GeometricAnnealing.h.
|
private |
Definition at line 46 of file GeometricAnnealing.h.
Referenced by anneal(), currentTemp(), isAnnealed(), phi(), and resetAnnealing().
|
private |
Definition at line 42 of file GeometricAnnealing.h.
Referenced by debug(), initialTemp(), and resetAnnealing().