59 histContainer_[
"iso" ]->Fill((elec->trackIso()+elec->caloIso())/elec->pt() );
66 histContainer_[
"dr"]->Fill(
histContainer_[
"dr"]->GetBinCenter(
bin), elec->trackIsoDeposit()->depositWithin(upperEdge) - elec->trackIsoDeposit()->depositWithin(lowerEdge));
69 if( elec->electronID(
"eidRobustLoose") > 0.5 )
71 if( elec->electronID(
"eidRobustTight") > 0.5 )
73 if( elec->electronID(
"eidLoose" ) > 0.5 )
75 if( elec->electronID(
"eidTight" ) > 0.5 )
77 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
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
edm::EDGetTokenT< edm::View< pat::Electron > > srcToken_
bin
set the eta bin as selection string.
~PatZjetsElectronAnalyzer() override
std::map< std::string, TH1F * > histContainer_
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
PatZjetsElectronAnalyzer(const edm::ParameterSet &)