#include <ConversionLikelihoodCalculator.h>
Public Member Functions | |
double | calculateLikelihood (reco::ConversionRef conversion) |
double | calculateLikelihood (reco::Conversion &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::ConversionRef | conversion | ) |
Definition at line 21 of file ConversionLikelihoodCalculator.cc.
References 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().
double ConversionLikelihoodCalculator::calculateLikelihood | ( | reco::Conversion & | conversion | ) |
Definition at line 72 of file ConversionLikelihoodCalculator.cc.
References HLT_2018_cff::delta_phi, reco::Conversion::EoverP(), dqm-mbProfile::log, log_abs_cot_theta_, log_abs_delta_phi_, log_chi2_max_pt_, log_chi2_min_pt_, log_e_over_p_, reco::Conversion::nTracks(), reco::Conversion::pairCotThetaSeparation(), pi, reader_, reco::Conversion::tracks(), and reco::Conversion::tracksPin().
void ConversionLikelihoodCalculator::setWeightsFile | ( | const char * | weightsFile | ) |
Definition at line 15 of file ConversionLikelihoodCalculator.cc.
References reader_.
|
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().