36 srcToken_(consumes<edm::
View<pat::
Electron> >(iConfig.getUntrackedParameter<edm::
InputTag>(
"src"))) {}
51 histContainer_[
"iso"]->Fill((elec->trackIso() + elec->caloIso()) / elec->pt());
60 elec->trackIsoDeposit()->depositWithin(upperEdge) - elec->trackIsoDeposit()->depositWithin(lowerEdge));
63 if (elec->electronID(
"eidRobustLoose") > 0.5)
65 if (elec->electronID(
"eidRobustTight") > 0.5)
67 if (elec->electronID(
"eidLoose") > 0.5)
69 if (elec->electronID(
"eidTight") > 0.5)
71 if (elec->electronID(
"eidRobustHighEnergy") > 0.5)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
T * make(const Args &...args) const
make new ROOT object
void analyze(const edm::Event &, const edm::EventSetup &) override
std::map< std::string, TH1F * > histContainer_
edm::EDGetTokenT< edm::View< pat::Electron > > srcToken_
~PatZjetsElectronAnalyzer() override
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
constexpr char Electron[]
PatZjetsElectronAnalyzer(const edm::ParameterSet &)