CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
EGammaCutBasedEleIdAnalyzer Class Reference

#include <EGamma/EGammaCutBasedEleIdAnalyzer/src/EGammaCutBasedEleIdAnalyzer.cc>

Inheritance diagram for EGammaCutBasedEleIdAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase

Public Types

typedef std::vector< edm::Handle< edm::ValueMap< reco::IsoDeposit > > > IsoDepositMaps
 
typedef std::vector< edm::Handle< edm::ValueMap< double > > > IsoDepositVals
 
- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

 EGammaCutBasedEleIdAnalyzer (const edm::ParameterSet &)
 
 ~EGammaCutBasedEleIdAnalyzer () override
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 

Public Attributes

ElectronEffectiveArea::ElectronEffectiveAreaTarget EAtarget
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
void beginRun (edm::Run const &, edm::EventSetup const &) override
 
void endJob () override
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
void endRun (edm::Run const &, edm::EventSetup const &) override
 

Private Attributes

edm::EDGetTokenT< reco::BeamSpotbeamSpotToken_
 
edm::EDGetTokenT< reco::ConversionCollectionconversionsToken_
 
std::string EAtargetToken_
 
edm::EDGetTokenT< reco::GsfElectronCollectionelectronsToken_
 
TH1F * h1_pt_
 
TH1F * h1_pt_fbremeopin_
 
TH1F * h1_pt_loose_
 
TH1F * h1_pt_medium_
 
TH1F * h1_pt_tight_
 
TH1F * h1_pt_trig_
 
TH1F * h1_pt_veto_
 
std::vector< edm::EDGetTokenT< edm::ValueMap< double > > > isoValTokens_
 
edm::EDGetTokenT< reco::VertexCollectionprimaryVertexToken_
 
bool printDebug_
 
edm::EDGetTokenT< double > rhoIsoToken_
 

Additional Inherited Members

- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Description: [one line class summary]

Implementation: [Notes on implementation]

Definition at line 48 of file EGammaCutBasedEleIdAnalyzer.cc.

Member Typedef Documentation

◆ IsoDepositMaps

Definition at line 50 of file EGammaCutBasedEleIdAnalyzer.cc.

◆ IsoDepositVals

Definition at line 51 of file EGammaCutBasedEleIdAnalyzer.cc.

Constructor & Destructor Documentation

◆ EGammaCutBasedEleIdAnalyzer()

EGammaCutBasedEleIdAnalyzer::EGammaCutBasedEleIdAnalyzer ( const edm::ParameterSet iConfig)
explicit

Definition at line 100 of file EGammaCutBasedEleIdAnalyzer.cc.

100  {
101  // get input parameters
102  electronsToken_ = consumes<reco::GsfElectronCollection>(iConfig.getParameter<edm::InputTag>("electronsInputTag"));
103  conversionsToken_ = consumes<reco::ConversionCollection>(iConfig.getParameter<edm::InputTag>("conversionsInputTag"));
104  beamSpotToken_ = consumes<reco::BeamSpot>(iConfig.getParameter<edm::InputTag>("beamSpotInputTag"));
105  rhoIsoToken_ = consumes<double>(iConfig.getParameter<edm::InputTag>("rhoIsoInputTag"));
106  primaryVertexToken_ = consumes<reco::VertexCollection>(iConfig.getParameter<edm::InputTag>("primaryVertexInputTag"));
107  isoValTokens_ =
108  edm::vector_transform(iConfig.getParameter<std::vector<edm::InputTag> >("isoValInputTags"),
109  [this](edm::InputTag const &tag) { return consumes<edm::ValueMap<double> >(tag); });
111  "EAtarget"); //EleEANoCorr, EleEAData2011, EleEASummer11MC,EleEAFall11MC, EleEAData2012/
112 
113  // debug
114  printDebug_ = iConfig.getParameter<bool>("printDebug");
115 
116  // output histograms
118 
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);
126 }

References beamSpotToken_, conversionsToken_, EAtargetToken_, electronsToken_, edm::ParameterSet::getParameter(), h1_pt_, h1_pt_fbremeopin_, h1_pt_loose_, h1_pt_medium_, h1_pt_tight_, h1_pt_trig_, h1_pt_veto_, isoValTokens_, primaryVertexToken_, printDebug_, rhoIsoToken_, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, and edm::vector_transform().

◆ ~EGammaCutBasedEleIdAnalyzer()

EGammaCutBasedEleIdAnalyzer::~EGammaCutBasedEleIdAnalyzer ( )
override

Definition at line 128 of file EGammaCutBasedEleIdAnalyzer.cc.

128  {
129  // do anything here that needs to be done at desctruction time
130  // (e.g. close files, deallocate resources etc.)
131 }

Member Function Documentation

◆ analyze()

void EGammaCutBasedEleIdAnalyzer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::EDAnalyzer.

Definition at line 138 of file EGammaCutBasedEleIdAnalyzer.cc.

138  {
139  // electrons
141  iEvent.getByToken(electronsToken_, els_h);
142 
143  // conversions
145  iEvent.getByToken(conversionsToken_, conversions_h);
146 
147  // iso deposits
148  IsoDepositVals isoVals(isoValTokens_.size());
149  for (size_t j = 0; j < isoValTokens_.size(); ++j) {
150  iEvent.getByToken(isoValTokens_[j], isoVals[j]);
151  }
152 
153  // beam spot
154  edm::Handle<reco::BeamSpot> beamspot_h;
155  iEvent.getByToken(beamSpotToken_, beamspot_h);
156  const reco::BeamSpot &beamSpot = *(beamspot_h.product());
157 
158  // vertices
160  iEvent.getByToken(primaryVertexToken_, vtx_h);
161 
162  // rho for isolation
163  edm::Handle<double> rhoIso_h;
164  iEvent.getByToken(rhoIsoToken_, rhoIso_h);
165  double rhoIso = *(rhoIso_h.product());
166 
167  // loop on electrons
168  unsigned int n = els_h->size();
169  for (unsigned int i = 0; i < n; ++i) {
170  // get reference to electron
171  reco::GsfElectronRef ele(els_h, i);
172 
173  //
174  // get particle flow isolation
175  //
176 
177  double iso_ch = (*(isoVals)[0])[ele];
178  double iso_em = (*(isoVals)[1])[ele];
179  double iso_nh = (*(isoVals)[2])[ele];
180 
181  //
182  // test ID
183  //
184 
185  // working points
187  EgammaCutBasedEleId::VETO, ele, conversions_h, beamSpot, vtx_h, iso_ch, iso_em, iso_nh, rhoIso, EAtarget);
188  bool loose = EgammaCutBasedEleId::PassWP(
189  EgammaCutBasedEleId::LOOSE, ele, conversions_h, beamSpot, vtx_h, iso_ch, iso_em, iso_nh, rhoIso, EAtarget);
190  bool medium = EgammaCutBasedEleId::PassWP(
191  EgammaCutBasedEleId::MEDIUM, ele, conversions_h, beamSpot, vtx_h, iso_ch, iso_em, iso_nh, rhoIso, EAtarget);
192  bool tight = EgammaCutBasedEleId::PassWP(
193  EgammaCutBasedEleId::TIGHT, ele, conversions_h, beamSpot, vtx_h, iso_ch, iso_em, iso_nh, rhoIso, EAtarget);
194 
195  // eop/fbrem cuts for extra tight ID
196  bool fbremeopin = EgammaCutBasedEleId::PassEoverPCuts(ele);
197 
198  // cuts to match tight trigger requirements
200 
201  // for 2011 WP70 trigger
203 
204  //
205  // fill histograms
206  //
207 
208  h1_pt_->Fill(ele->pt());
209  if (veto)
210  h1_pt_veto_->Fill(ele->pt());
211  if (loose)
212  h1_pt_loose_->Fill(ele->pt());
213  if (medium)
214  h1_pt_medium_->Fill(ele->pt());
215  if (tight)
216  h1_pt_tight_->Fill(ele->pt());
217  if (trigtight)
218  h1_pt_trig_->Fill(ele->pt());
219  if (fbremeopin)
220  h1_pt_fbremeopin_->Fill(ele->pt());
221 
222  //
223  // print decisions
224  //
225 
226  if (printDebug_) {
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);
235  }
236  }
237 }

References pwdgSkimBPark_cfi::beamSpot, beamSpotToken_, conversionsToken_, EAtarget, electronsToken_, h1_pt_, h1_pt_fbremeopin_, h1_pt_loose_, h1_pt_medium_, h1_pt_tight_, h1_pt_trig_, h1_pt_veto_, mps_fire::i, iEvent, isoValTokens_, dqmiolumiharvest::j, EgammaCutBasedEleId::LOOSE, EgammaCutBasedEleId::MEDIUM, dqmiodumpmetadata::n, EgammaCutBasedEleId::PassEoverPCuts(), EgammaCutBasedEleId::PassTriggerCuts(), EgammaCutBasedEleId::PassWP(), primaryVertexToken_, printDebug_, edm::Handle< T >::product(), electronIsolatorFromEffectiveArea_cfi::rhoIso, rhoIsoToken_, EgammaCutBasedEleId::TIGHT, EgammaCutBasedEleId::TRIGGERTIGHT, EgammaCutBasedEleId::TRIGGERWP70, EgammaCutBasedEleId::VETO, and PbPb_ZMuSkimMuonDPG_cff::veto.

◆ beginJob()

void EGammaCutBasedEleIdAnalyzer::beginJob ( void  )
overrideprivatevirtual

◆ beginLuminosityBlock()

void EGammaCutBasedEleIdAnalyzer::beginLuminosityBlock ( edm::LuminosityBlock const &  ,
edm::EventSetup const &   
)
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 265 of file EGammaCutBasedEleIdAnalyzer.cc.

265 {}

◆ beginRun()

void EGammaCutBasedEleIdAnalyzer::beginRun ( edm::Run const &  ,
edm::EventSetup const &   
)
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 259 of file EGammaCutBasedEleIdAnalyzer.cc.

259 {}

◆ endJob()

void EGammaCutBasedEleIdAnalyzer::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 256 of file EGammaCutBasedEleIdAnalyzer.cc.

256 {}

◆ endLuminosityBlock()

void EGammaCutBasedEleIdAnalyzer::endLuminosityBlock ( edm::LuminosityBlock const &  ,
edm::EventSetup const &   
)
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 268 of file EGammaCutBasedEleIdAnalyzer.cc.

268 {}

◆ endRun()

void EGammaCutBasedEleIdAnalyzer::endRun ( edm::Run const &  ,
edm::EventSetup const &   
)
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 262 of file EGammaCutBasedEleIdAnalyzer.cc.

262 {}

◆ fillDescriptions()

void EGammaCutBasedEleIdAnalyzer::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 271 of file EGammaCutBasedEleIdAnalyzer.cc.

271  {
272  //The following says we do not know what parameters are allowed so do no validation
273  // Please change this to state exactly what you do use, even if it is no parameters
275  desc.setUnknown();
276  descriptions.addDefault(desc);
277 }

References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.

Member Data Documentation

◆ beamSpotToken_

edm::EDGetTokenT<reco::BeamSpot> EGammaCutBasedEleIdAnalyzer::beamSpotToken_
private

Definition at line 74 of file EGammaCutBasedEleIdAnalyzer.cc.

Referenced by analyze(), and EGammaCutBasedEleIdAnalyzer().

◆ conversionsToken_

edm::EDGetTokenT<reco::ConversionCollection> EGammaCutBasedEleIdAnalyzer::conversionsToken_
private

Definition at line 73 of file EGammaCutBasedEleIdAnalyzer.cc.

Referenced by analyze(), and EGammaCutBasedEleIdAnalyzer().

◆ EAtarget

ElectronEffectiveArea::ElectronEffectiveAreaTarget EGammaCutBasedEleIdAnalyzer::EAtarget

Definition at line 57 of file EGammaCutBasedEleIdAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ EAtargetToken_

std::string EGammaCutBasedEleIdAnalyzer::EAtargetToken_
private

Definition at line 78 of file EGammaCutBasedEleIdAnalyzer.cc.

Referenced by beginJob(), and EGammaCutBasedEleIdAnalyzer().

◆ electronsToken_

edm::EDGetTokenT<reco::GsfElectronCollection> EGammaCutBasedEleIdAnalyzer::electronsToken_
private

Definition at line 72 of file EGammaCutBasedEleIdAnalyzer.cc.

Referenced by analyze(), and EGammaCutBasedEleIdAnalyzer().

◆ h1_pt_

TH1F* EGammaCutBasedEleIdAnalyzer::h1_pt_
private

Definition at line 84 of file EGammaCutBasedEleIdAnalyzer.cc.

Referenced by analyze(), and EGammaCutBasedEleIdAnalyzer().

◆ h1_pt_fbremeopin_

TH1F* EGammaCutBasedEleIdAnalyzer::h1_pt_fbremeopin_
private

Definition at line 90 of file EGammaCutBasedEleIdAnalyzer.cc.

Referenced by analyze(), and EGammaCutBasedEleIdAnalyzer().

◆ h1_pt_loose_

TH1F* EGammaCutBasedEleIdAnalyzer::h1_pt_loose_
private

Definition at line 86 of file EGammaCutBasedEleIdAnalyzer.cc.

Referenced by analyze(), and EGammaCutBasedEleIdAnalyzer().

◆ h1_pt_medium_

TH1F* EGammaCutBasedEleIdAnalyzer::h1_pt_medium_
private

Definition at line 87 of file EGammaCutBasedEleIdAnalyzer.cc.

Referenced by analyze(), and EGammaCutBasedEleIdAnalyzer().

◆ h1_pt_tight_

TH1F* EGammaCutBasedEleIdAnalyzer::h1_pt_tight_
private

Definition at line 88 of file EGammaCutBasedEleIdAnalyzer.cc.

Referenced by analyze(), and EGammaCutBasedEleIdAnalyzer().

◆ h1_pt_trig_

TH1F* EGammaCutBasedEleIdAnalyzer::h1_pt_trig_
private

Definition at line 89 of file EGammaCutBasedEleIdAnalyzer.cc.

Referenced by analyze(), and EGammaCutBasedEleIdAnalyzer().

◆ h1_pt_veto_

TH1F* EGammaCutBasedEleIdAnalyzer::h1_pt_veto_
private

Definition at line 85 of file EGammaCutBasedEleIdAnalyzer.cc.

Referenced by analyze(), and EGammaCutBasedEleIdAnalyzer().

◆ isoValTokens_

std::vector<edm::EDGetTokenT<edm::ValueMap<double> > > EGammaCutBasedEleIdAnalyzer::isoValTokens_
private

Definition at line 77 of file EGammaCutBasedEleIdAnalyzer.cc.

Referenced by analyze(), and EGammaCutBasedEleIdAnalyzer().

◆ primaryVertexToken_

edm::EDGetTokenT<reco::VertexCollection> EGammaCutBasedEleIdAnalyzer::primaryVertexToken_
private

Definition at line 76 of file EGammaCutBasedEleIdAnalyzer.cc.

Referenced by analyze(), and EGammaCutBasedEleIdAnalyzer().

◆ printDebug_

bool EGammaCutBasedEleIdAnalyzer::printDebug_
private

Definition at line 81 of file EGammaCutBasedEleIdAnalyzer.cc.

Referenced by analyze(), and EGammaCutBasedEleIdAnalyzer().

◆ rhoIsoToken_

edm::EDGetTokenT<double> EGammaCutBasedEleIdAnalyzer::rhoIsoToken_
private

Definition at line 75 of file EGammaCutBasedEleIdAnalyzer.cc.

Referenced by analyze(), and EGammaCutBasedEleIdAnalyzer().

EGammaCutBasedEleIdAnalyzer::EAtargetToken_
std::string EAtargetToken_
Definition: EGammaCutBasedEleIdAnalyzer.cc:78
EGammaCutBasedEleIdAnalyzer::h1_pt_trig_
TH1F * h1_pt_trig_
Definition: EGammaCutBasedEleIdAnalyzer.cc:89
mps_fire.i
i
Definition: mps_fire.py:428
pwdgSkimBPark_cfi.beamSpot
beamSpot
Definition: pwdgSkimBPark_cfi.py:5
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
edm::Handle::product
T const * product() const
Definition: Handle.h:70
EgammaCutBasedEleId::TIGHT
Definition: EGammaCutBasedEleId.h:34
EGammaCutBasedEleIdAnalyzer::printDebug_
bool printDebug_
Definition: EGammaCutBasedEleIdAnalyzer.cc:81
EGammaCutBasedEleIdAnalyzer::h1_pt_veto_
TH1F * h1_pt_veto_
Definition: EGammaCutBasedEleIdAnalyzer.cc:85
EGammaCutBasedEleIdAnalyzer::primaryVertexToken_
edm::EDGetTokenT< reco::VertexCollection > primaryVertexToken_
Definition: EGammaCutBasedEleIdAnalyzer.cc:76
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
EGammaCutBasedEleIdAnalyzer::h1_pt_fbremeopin_
TH1F * h1_pt_fbremeopin_
Definition: EGammaCutBasedEleIdAnalyzer.cc:90
edm::Handle< reco::GsfElectronCollection >
EgammaCutBasedEleId::VETO
Definition: EGammaCutBasedEleId.h:34
edm::Ref
Definition: AssociativeIterator.h:58
GlobalPosition_Frontier_DevDB_cff.tag
tag
Definition: GlobalPosition_Frontier_DevDB_cff.py:11
EGammaCutBasedEleIdAnalyzer::EAtarget
ElectronEffectiveArea::ElectronEffectiveAreaTarget EAtarget
Definition: EGammaCutBasedEleIdAnalyzer.cc:57
EgammaCutBasedEleId::TRIGGERTIGHT
Definition: EGammaCutBasedEleId.h:36
EGammaCutBasedEleIdAnalyzer::h1_pt_
TH1F * h1_pt_
Definition: EGammaCutBasedEleIdAnalyzer.cc:84
reco::BeamSpot
Definition: BeamSpot.h:21
ElectronEffectiveArea::kEleEANoCorr
Definition: ElectronEffectiveArea.h:57
EgammaCutBasedEleId::TRIGGERWP70
Definition: EGammaCutBasedEleId.h:36
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::vector_transform
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 >
Definition: transform.h:11
EGammaCutBasedEleIdAnalyzer::conversionsToken_
edm::EDGetTokenT< reco::ConversionCollection > conversionsToken_
Definition: EGammaCutBasedEleIdAnalyzer.cc:73
EGammaCutBasedEleIdAnalyzer::h1_pt_tight_
TH1F * h1_pt_tight_
Definition: EGammaCutBasedEleIdAnalyzer.cc:88
ElectronEffectiveArea::kEleEAFall11MC
Definition: ElectronEffectiveArea.h:57
EGammaCutBasedEleIdAnalyzer::beamSpotToken_
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
Definition: EGammaCutBasedEleIdAnalyzer.cc:74
edm::Service< TFileService >
iEvent
int iEvent
Definition: GenABIO.cc:224
EgammaCutBasedEleId::PassTriggerCuts
bool PassTriggerCuts(const TriggerWorkingPoint triggerWorkingPoint, const reco::GsfElectronRef &ele)
Definition: EGammaCutBasedEleId.cc:59
EGammaCutBasedEleIdAnalyzer::isoValTokens_
std::vector< edm::EDGetTokenT< edm::ValueMap< double > > > isoValTokens_
Definition: EGammaCutBasedEleIdAnalyzer.cc:77
EgammaCutBasedEleId::PassEoverPCuts
bool PassEoverPCuts(const reco::GsfElectronRef &ele)
Definition: EGammaCutBasedEleId.cc:73
ElectronEffectiveArea::kEleEASummer11MC
Definition: ElectronEffectiveArea.h:57
EGammaCutBasedEleIdAnalyzer::rhoIsoToken_
edm::EDGetTokenT< double > rhoIsoToken_
Definition: EGammaCutBasedEleIdAnalyzer.cc:75
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
EGammaCutBasedEleIdAnalyzer::electronsToken_
edm::EDGetTokenT< reco::GsfElectronCollection > electronsToken_
Definition: EGammaCutBasedEleIdAnalyzer.cc:72
EGammaCutBasedEleIdAnalyzer::h1_pt_loose_
TH1F * h1_pt_loose_
Definition: EGammaCutBasedEleIdAnalyzer.cc:86
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
EgammaCutBasedEleId::MEDIUM
Definition: EGammaCutBasedEleId.h:34
EGammaCutBasedEleIdAnalyzer::h1_pt_medium_
TH1F * h1_pt_medium_
Definition: EGammaCutBasedEleIdAnalyzer.cc:87
electronIsolatorFromEffectiveArea_cfi.rhoIso
rhoIso
Definition: electronIsolatorFromEffectiveArea_cfi.py:6
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
ElectronEffectiveArea::kEleEAData2011
Definition: ElectronEffectiveArea.h:57
PbPb_ZMuSkimMuonDPG_cff.veto
veto
Definition: PbPb_ZMuSkimMuonDPG_cff.py:61
edm::ConfigurationDescriptions::addDefault
void addDefault(ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:99
EgammaCutBasedEleId::LOOSE
Definition: EGammaCutBasedEleId.h:34
edm::InputTag
Definition: InputTag.h:15
EGammaCutBasedEleIdAnalyzer::IsoDepositVals
std::vector< edm::Handle< edm::ValueMap< double > > > IsoDepositVals
Definition: EGammaCutBasedEleIdAnalyzer.cc:51
ElectronEffectiveArea::kEleEAData2012
Definition: ElectronEffectiveArea.h:57
EgammaCutBasedEleId::PassWP
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)
Definition: EGammaCutBasedEleId.cc:29