3 #include "TMVA/MethodBDT.h" 4 #include "TMVA/Reader.h" 11 TMVA::Reader tmvaReaderEle_(
"!Color:Silent");
12 tmvaReaderEle_.AddVariable(
"lnPt_gsf",&
lnPt_gsf);
13 tmvaReaderEle_.AddVariable(
"Eta_gsf",&
Eta_gsf);
17 tmvaReaderEle_.AddVariable(
"chi2_gsf",&
chi2_gsf);
19 tmvaReaderEle_.AddVariable(
"nhit_kf",&
nhit_kf);
20 tmvaReaderEle_.AddVariable(
"chi2_kf",&
chi2_kf);
21 tmvaReaderEle_.AddVariable(
"EtotPinMode",&
EtotPinMode);
22 tmvaReaderEle_.AddVariable(
"EGsfPoutMode",&
EGsfPoutMode);
25 tmvaReaderEle_.AddVariable(
"SigmaEtaEta",&
SigmaEtaEta);
26 tmvaReaderEle_.AddVariable(
"HOverHE",&
HOverHE);
28 tmvaReaderEle_.AddVariable(
"lateBrem",&
lateBrem);
29 tmvaReaderEle_.AddVariable(
"firstBrem",&
firstBrem);
30 tmvaReaderEle_.BookMVA(
"BDT", wfile.
fullPath().c_str());
31 gbrEle_.reset(
new GBRForest( dynamic_cast<TMVA::MethodBDT*>( tmvaReaderEle_.FindMVA(
"BDT") ) ) );
36 TMVA::Reader tmvaReader_(
"!Color:Silent");
37 tmvaReader_.AddVariable(
"del_phi",&
del_phi);
38 tmvaReader_.AddVariable(
"nlayers", &
nlayers);
39 tmvaReader_.AddVariable(
"chi2",&
chi2);
40 tmvaReader_.AddVariable(
"EoverPt",&
EoverPt);
41 tmvaReader_.AddVariable(
"HoverPt",&
HoverPt);
42 tmvaReader_.AddVariable(
"track_pt", &
track_pt);
43 tmvaReader_.AddVariable(
"STIP",&
STIP);
44 tmvaReader_.AddVariable(
"nlost", &
nlost);
45 tmvaReader_.BookMVA(
"BDT", wfile.
fullPath().c_str());
T getParameter(std::string const &) const
std::unique_ptr< const GBRForest > gbrEle_
std::unique_ptr< const GBRForest > gbrSingleLeg_
float EtotBremPinPoutMode
HeavyObjectCache(const edm::ParameterSet &)
std::string fullPath() const