25 virtual void endJob()
override ;
38 srcToken_(consumes<edm::
View<pat::Electron> >(iConfig.getUntrackedParameter<edm::InputTag>(
"src")))
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 )
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
~PatZjetsElectronAnalyzer()
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
virtual void endJob() override
T * make(const Args &...args) const
make new ROOT object
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
virtual void beginJob() override
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
edm::EDGetTokenT< edm::View< pat::Electron > > srcToken_
std::map< std::string, TH1F * > histContainer_
PatZjetsElectronAnalyzer(const edm::ParameterSet &)