#include <EGamma/EGammaCutBasedEleIdAnalyzer/src/EGammaCutBasedEleIdAnalyzer.cc>
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 |
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 &) |
Public Attributes | |
ElectronEffectiveArea::ElectronEffectiveAreaTarget | EAtarget |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) |
virtual void | endJob () |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | endRun (edm::Run const &, edm::EventSetup const &) |
Private Attributes | |
edm::EDGetTokenT< reco::BeamSpot > | beamSpotToken_ |
edm::EDGetTokenT < reco::ConversionCollection > | conversionsToken_ |
std::string | EAtargetToken_ |
edm::EDGetTokenT < reco::GsfElectronCollection > | electronsToken_ |
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::VertexCollection > | primaryVertexToken_ |
bool | printDebug_ |
edm::EDGetTokenT< double > | rhoIsoToken_ |
Additional Inherited Members | |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
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 ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 49 of file EGammaCutBasedEleIdAnalyzer.cc.
typedef std::vector< edm::Handle< edm::ValueMap<reco::IsoDeposit> > > EGammaCutBasedEleIdAnalyzer::IsoDepositMaps |
Definition at line 52 of file EGammaCutBasedEleIdAnalyzer.cc.
typedef std::vector< edm::Handle< edm::ValueMap<double> > > EGammaCutBasedEleIdAnalyzer::IsoDepositVals |
Definition at line 53 of file EGammaCutBasedEleIdAnalyzer.cc.
|
explicit |
Definition at line 105 of file EGammaCutBasedEleIdAnalyzer.cc.
References beamSpotToken_, edm::EDConsumerBase::consumes(), conversionsToken_, electronsToken_, edm::ParameterSet::getParameter(), isoValTokens_, primaryVertexToken_, rhoIsoToken_, GlobalPosition_Frontier_DevDB_cff::tag, and edm::vector_transform().
EGammaCutBasedEleIdAnalyzer::~EGammaCutBasedEleIdAnalyzer | ( | ) |
Definition at line 134 of file EGammaCutBasedEleIdAnalyzer.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 149 of file EGammaCutBasedEleIdAnalyzer.cc.
References SiPixelRawToDigiRegional_cfi::beamSpot, beamSpotToken_, conversionsToken_, EAtarget, electronsToken_, edm::EventID::event(), edm::Event::getByToken(), h1_pt_, h1_pt_fbremeopin_, h1_pt_loose_, h1_pt_medium_, h1_pt_tight_, h1_pt_trig_, h1_pt_veto_, i, edm::EventBase::id(), isoValTokens_, j, EgammaCutBasedEleId::LOOSE, edm::EventBase::luminosityBlock(), EgammaCutBasedEleId::MEDIUM, gen::n, EgammaCutBasedEleId::PassEoverPCuts(), EgammaCutBasedEleId::PassTriggerCuts(), EgammaCutBasedEleId::PassWP(), primaryVertexToken_, printDebug_, edm::Handle< T >::product(), rhoIsoToken_, edm::EventID::run(), EgammaCutBasedEleId::TIGHT, EgammaCutBasedEleId::TRIGGERTIGHT, EgammaCutBasedEleId::TRIGGERWP70, EgammaCutBasedEleId::VETO, and TriggerAnalyzer::veto.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 247 of file EGammaCutBasedEleIdAnalyzer.cc.
References EAtarget, EAtargetToken_, ElectronEffectiveArea::kEleEAData2011, ElectronEffectiveArea::kEleEAData2012, ElectronEffectiveArea::kEleEAFall11MC, ElectronEffectiveArea::kEleEANoCorr, and ElectronEffectiveArea::kEleEASummer11MC.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 284 of file EGammaCutBasedEleIdAnalyzer.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 272 of file EGammaCutBasedEleIdAnalyzer.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 266 of file EGammaCutBasedEleIdAnalyzer.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 290 of file EGammaCutBasedEleIdAnalyzer.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 278 of file EGammaCutBasedEleIdAnalyzer.cc.
|
static |
Definition at line 296 of file EGammaCutBasedEleIdAnalyzer.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 78 of file EGammaCutBasedEleIdAnalyzer.cc.
Referenced by analyze(), and EGammaCutBasedEleIdAnalyzer().
|
private |
Definition at line 77 of file EGammaCutBasedEleIdAnalyzer.cc.
Referenced by analyze(), and EGammaCutBasedEleIdAnalyzer().
ElectronEffectiveArea::ElectronEffectiveAreaTarget EGammaCutBasedEleIdAnalyzer::EAtarget |
Definition at line 60 of file EGammaCutBasedEleIdAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 82 of file EGammaCutBasedEleIdAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 76 of file EGammaCutBasedEleIdAnalyzer.cc.
Referenced by analyze(), and EGammaCutBasedEleIdAnalyzer().
|
private |
Definition at line 88 of file EGammaCutBasedEleIdAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 94 of file EGammaCutBasedEleIdAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 90 of file EGammaCutBasedEleIdAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 91 of file EGammaCutBasedEleIdAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 92 of file EGammaCutBasedEleIdAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 93 of file EGammaCutBasedEleIdAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 89 of file EGammaCutBasedEleIdAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 81 of file EGammaCutBasedEleIdAnalyzer.cc.
Referenced by analyze(), and EGammaCutBasedEleIdAnalyzer().
|
private |
Definition at line 80 of file EGammaCutBasedEleIdAnalyzer.cc.
Referenced by analyze(), and EGammaCutBasedEleIdAnalyzer().
|
private |
Definition at line 85 of file EGammaCutBasedEleIdAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 79 of file EGammaCutBasedEleIdAnalyzer.cc.
Referenced by analyze(), and EGammaCutBasedEleIdAnalyzer().