|
|
Go to the documentation of this file.
50 typedef std::vector<edm::Handle<edm::ValueMap<reco::IsoDeposit> > >
IsoDepositMaps;
109 [
this](
edm::InputTag const &
tag) { return consumes<edm::ValueMap<double> >(tag); });
119 h1_pt_ = fs->make<TH1F>(
"h1_pt",
"pt", 100, 0.0, 100.0);
120 h1_pt_veto_ = fs->make<TH1F>(
"h1_pt_veto",
"pt (veto)", 100, 0.0, 100.0);
121 h1_pt_loose_ = fs->make<TH1F>(
"h1_pt_loose",
"pt (loose)", 100, 0.0, 100.0);
122 h1_pt_medium_ = fs->make<TH1F>(
"h1_pt_medium",
"pt (medium)", 100, 0.0, 100.0);
123 h1_pt_tight_ = fs->make<TH1F>(
"h1_pt_tight",
"pt (tight)", 100, 0.0, 100.0);
124 h1_pt_trig_ = fs->make<TH1F>(
"h1_pt_trig",
"pt (trig)", 100, 0.0, 100.0);
125 h1_pt_fbremeopin_ = fs->make<TH1F>(
"h1_pt_fbremeopin",
"pt (fbremeopin)", 100, 0.0, 100.0);
168 unsigned int n = els_h->size();
169 for (
unsigned int i = 0;
i <
n; ++
i) {
177 double iso_ch = (*(isoVals)[0])[ele];
178 double iso_em = (*(isoVals)[1])[ele];
179 double iso_nh = (*(isoVals)[2])[ele];
227 printf(
"%u %u %llu : ",
iEvent.id().run(),
iEvent.luminosityBlock(),
iEvent.id().event());
228 printf(
"veto(%i), ",
veto);
229 printf(
"loose(%i), ", loose);
230 printf(
"medium(%i), ", medium);
231 printf(
"tight(%i), ", tight);
232 printf(
"trigtight(%i), ", trigtight);
233 printf(
"trigwp70(%i), ", trigwp70);
234 printf(
"fbremeopin(%i)\n", fbremeopin);
std::string EAtargetToken_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
T const * product() const
void endRun(edm::Run const &, edm::EventSetup const &) override
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
edm::EDGetTokenT< reco::VertexCollection > primaryVertexToken_
ElectronEffectiveAreaTarget
#define DEFINE_FWK_MODULE(type)
ElectronEffectiveArea::ElectronEffectiveAreaTarget EAtarget
std::vector< edm::Handle< edm::ValueMap< reco::IsoDeposit > > > IsoDepositMaps
auto vector_transform(std::vector< InputType > const &input, Function predicate) -> std::vector< typename std::remove_cv< typename std::remove_reference< decltype(predicate(input.front()))>::type >::type >
edm::EDGetTokenT< reco::ConversionCollection > conversionsToken_
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
bool PassTriggerCuts(const TriggerWorkingPoint triggerWorkingPoint, const reco::GsfElectronRef &ele)
std::vector< edm::EDGetTokenT< edm::ValueMap< double > > > isoValTokens_
bool PassEoverPCuts(const reco::GsfElectronRef &ele)
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
edm::EDGetTokenT< double > rhoIsoToken_
edm::EDGetTokenT< reco::GsfElectronCollection > electronsToken_
void beginRun(edm::Run const &, edm::EventSetup const &) override
EGammaCutBasedEleIdAnalyzer(const edm::ParameterSet &)
~EGammaCutBasedEleIdAnalyzer() override
T getParameter(std::string const &) const
void addDefault(ParameterSetDescription const &psetDescription)
void analyze(const edm::Event &, const edm::EventSetup &) override
std::vector< edm::Handle< edm::ValueMap< double > > > IsoDepositVals
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)