6 reader_ = std::make_unique<TMVA::Reader>(
"!Color:Silent");
32 double pi = 3.14159265;
40 double chi2_1 =
conversion->tracks()[0]->normalizedChi2();
43 double chi2_2 =
conversion->tracks()[1]->normalizedChi2();
46 double chi2_max_pt = chi2_1;
47 double chi2_min_pt = chi2_2;
62 std::vector<Float_t> inputVec;
68 float like =
reader_->EvaluateMVA(inputVec,
"Likelihood");
83 double pi = 3.14159265;
91 double chi2_1 =
conversion.tracks()[0]->normalizedChi2();
94 double chi2_2 =
conversion.tracks()[1]->normalizedChi2();
97 double chi2_max_pt = chi2_1;
98 double chi2_min_pt = chi2_2;
101 chi2_max_pt = chi2_2;
102 chi2_min_pt = chi2_1;
113 std::vector<Float_t> inputVec;
119 float like =
reader_->EvaluateMVA(inputVec,
"Likelihood");
std::unique_ptr< TMVA::Reader > reader_
void setWeightsFile(const char *weightsFile)
ConversionLikelihoodCalculator()
double calculateLikelihood(reco::ConversionRef conversion)
void conversion(EventAux const &from, EventAuxiliary &to)