#include <ConversionLikelihoodCalculator.h>
Public Member Functions | |
double | calculateLikelihood (reco::Conversion &conversion) |
double | calculateLikelihood (reco::ConversionRef conversion) |
ConversionLikelihoodCalculator () | |
void | setWeightsFile (const char *weightsFile) |
Private Attributes | |
float | log_abs_cot_theta_ |
float | log_abs_delta_phi_ |
float | log_chi2_max_pt_ |
float | log_chi2_min_pt_ |
float | log_e_over_p_ |
std::unique_ptr< TMVA::Reader > | reader_ |
Definition at line 10 of file ConversionLikelihoodCalculator.h.
ConversionLikelihoodCalculator::ConversionLikelihoodCalculator | ( | ) |
Definition at line 3 of file ConversionLikelihoodCalculator.cc.
References log_abs_cot_theta_, log_abs_delta_phi_, log_chi2_max_pt_, log_chi2_min_pt_, log_e_over_p_, and reader_.
double ConversionLikelihoodCalculator::calculateLikelihood | ( | reco::Conversion & | conversion | ) |
Definition at line 72 of file ConversionLikelihoodCalculator.cc.
References edm::conversion(), HLT_2018_cff::delta_phi, dqm-mbProfile::log, log_abs_cot_theta_, log_abs_delta_phi_, log_chi2_max_pt_, log_chi2_min_pt_, log_e_over_p_, pi, and reader_.
double ConversionLikelihoodCalculator::calculateLikelihood | ( | reco::ConversionRef | conversion | ) |
Definition at line 21 of file ConversionLikelihoodCalculator.cc.
References edm::conversion(), HLT_2018_cff::delta_phi, dqm-mbProfile::log, log_abs_cot_theta_, log_abs_delta_phi_, log_chi2_max_pt_, log_chi2_min_pt_, log_e_over_p_, pi, and reader_.
Referenced by ConvertedPhotonProducer::buildCollections().
void ConversionLikelihoodCalculator::setWeightsFile | ( | const char * | weightsFile | ) |
Definition at line 15 of file ConversionLikelihoodCalculator.cc.
References reader_, and pfClustersFromHGC3DClusters_cfi::weightsFile.
Referenced by ConvertedPhotonProducer::ConvertedPhotonProducer().
|
private |
Definition at line 21 of file ConversionLikelihoodCalculator.h.
Referenced by calculateLikelihood(), and ConversionLikelihoodCalculator().
|
private |
Definition at line 22 of file ConversionLikelihoodCalculator.h.
Referenced by calculateLikelihood(), and ConversionLikelihoodCalculator().
|
private |
Definition at line 23 of file ConversionLikelihoodCalculator.h.
Referenced by calculateLikelihood(), and ConversionLikelihoodCalculator().
|
private |
Definition at line 24 of file ConversionLikelihoodCalculator.h.
Referenced by calculateLikelihood(), and ConversionLikelihoodCalculator().
|
private |
Definition at line 20 of file ConversionLikelihoodCalculator.h.
Referenced by calculateLikelihood(), and ConversionLikelihoodCalculator().
|
private |
Definition at line 19 of file ConversionLikelihoodCalculator.h.
Referenced by calculateLikelihood(), ConversionLikelihoodCalculator(), and setWeightsFile().