97 typedef std::vector< edm::Handle< edm::ValueMap<reco::IsoDeposit> > >
IsoDepositMaps;
125 h1_pt_ = fs->make<TH1F>(
"h1_pt",
"pt", 100, 0.0, 100.0);
126 h1_pt_veto_ = fs->make<TH1F>(
"h1_pt_veto",
"pt (veto)", 100, 0.0, 100.0);
127 h1_pt_loose_ = fs->make<TH1F>(
"h1_pt_loose",
"pt (loose)", 100, 0.0, 100.0);
128 h1_pt_medium_ = fs->make<TH1F>(
"h1_pt_medium",
"pt (medium)", 100, 0.0, 100.0);
129 h1_pt_tight_ = fs->make<TH1F>(
"h1_pt_tight",
"pt (tight)", 100, 0.0, 100.0);
130 h1_pt_trig_ = fs->make<TH1F>(
"h1_pt_trig",
"pt (trig)", 100, 0.0, 100.0);
131 h1_pt_fbremeopin_ = fs->make<TH1F>(
"h1_pt_fbremeopin",
"pt (fbremeopin)", 100, 0.0, 100.0);
179 double rhoIso = *(rhoIso_h.
product());
182 unsigned int n = els_h->size();
183 for(
unsigned int i = 0;
i <
n; ++
i) {
192 double iso_ch = (*(isoVals)[0])[ele];
193 double iso_em = (*(isoVals)[1])[ele];
194 double iso_nh = (*(isoVals)[2])[ele];
233 printf(
"veto(%i), ", veto);
234 printf(
"loose(%i), ", loose);
235 printf(
"medium(%i), ", medium);
236 printf(
"tight(%i), ", tight);
237 printf(
"trigtight(%i), ", trigtight);
238 printf(
"trigwp70(%i), ", trigwp70);
239 printf(
"fbremeopin(%i)\n", fbremeopin);
T getParameter(std::string const &) const
EventNumber_t event() const
edm::InputTag conversionsInputTag_
std::vector< edm::Handle< edm::ValueMap< reco::IsoDeposit > > > IsoDepositMaps
#define DEFINE_FWK_MODULE(type)
bool PassWP(const WorkingPoint workingPoint, const reco::GsfElectronRef &ele, const edm::Handle< reco::ConversionCollection > &conversions, const reco::BeamSpot &beamspot, const edm::Handle< reco::VertexCollection > &vtxs, const double &iso_ch, const double &iso_em, const double &iso_nh, const double &rho, ElectronEffectiveArea::ElectronEffectiveAreaTarget EAtarget)
~EGammaCutBasedEleIdAnalyzer()
edm::LuminosityBlockNumber_t luminosityBlock() const
edm::InputTag beamSpotInputTag_
edm::InputTag electronsInputTag_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
ElectronEffectiveAreaTarget
std::vector< edm::InputTag > isoValInputTags_
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
std::string EAtargetToken_
EGammaCutBasedEleIdAnalyzer(const edm::ParameterSet &)
void addDefault(ParameterSetDescription const &psetDescription)
std::vector< edm::Handle< edm::ValueMap< double > > > IsoDepositVals
bool PassTriggerCuts(const TriggerWorkingPoint triggerWorkingPoint, const reco::GsfElectronRef &ele)
edm::InputTag rhoIsoInputTag
bool PassEoverPCuts(const reco::GsfElectronRef &ele)
ElectronEffectiveArea::ElectronEffectiveAreaTarget EAtarget
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
edm::InputTag primaryVertexInputTag_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
T const * product() const
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
virtual void endRun(edm::Run const &, edm::EventSetup const &)
virtual void beginRun(edm::Run const &, edm::EventSetup const &)