46 const std::unique_ptr<const ElectronMVAEstimator>
mvaID_;
55 thresholdIsoBarrel(iConfig.getParameter<double>(
"thresholdIsoDR03Barrel")),
56 thresholdIsoEndcap(iConfig.getParameter<double>(
"thresholdIsoDR03Endcap")),
58 .vweightsfiles = iConfig.
getParameter<std::vector<std::string> >(
"HZZmvaWeightFile")})) {
59 produces<reco::GsfElectronCollection>();
64 constexpr
double etaEBEE = 1.485;
66 auto mvaElectrons = std::make_unique<reco::GsfElectronCollection>();
75 for (reco::GsfElectronCollection::const_iterator egIter = egCandidates.begin(); egIter != egCandidates.end();
78 double isoDr03 = egIter->dr03TkSumPt() + egIter->dr03EcalRecHitSumEt() + egIter->dr03HcalTowerSumEt();
79 double eleEta = fabs(egIter->eta());