#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_ |
TMVA::Reader * | reader_ |
Definition at line 9 of file ConversionLikelihoodCalculator.h.
ConversionLikelihoodCalculator::ConversionLikelihoodCalculator | ( | ) |
Definition at line 4 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 25 of file ConversionLikelihoodCalculator.cc.
References kinem::delta_phi(), fff_deletion::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 74 of file ConversionLikelihoodCalculator.cc.
References kinem::delta_phi(), reco::Conversion::EoverP(), fff_deletion::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 18 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().