#include <RecoEgamma/ElectronIdentification/plugins/ElectronMVANtuplizer.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | endJob () override |
int | matchToTruth (reco::GsfElectron const &electron, edm::View< reco::GenParticle > const &genParticles) const |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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> | |
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<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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) |
Description: Ntuplizer for training and testing electron MVA IDs.
Implementation: [Notes on implementation]
Definition at line 45 of file ElectronMVANtuplizer.cc.
|
explicit |
Definition at line 149 of file ElectronMVANtuplizer.cc.
References edm::EDConsumerBase::consumes(), doEnergyMatrix_, ele3Q_, eleIsEB_, eleIsEBEEGap_, eleIsEBEtaGap_, eleIsEBPhiGap_, eleIsEE_, eleIsEEDeeGap_, eleIsEERingGap_, eleMapBranchNames_, eleMapTags_, eleMapTokens_, eleQ_, energyMatrix_, genNpu_, MVAVariableManager< ParticleType >::getName(), mps_fire::i, isMC_, dqmdumpme::k, TFileService::kSharedResource, TFileService::make(), matchedToGenEle_, mvaCatBranchNames_, mvaCats_, mvaCatTags_, mvaCatTokens_, mvaPasses_, mvaValues_, mvaVarMngr_, nCats_, nEleMaps_, nEvent_, nLumi_, nRun_, nValMaps_, nVars_, GlobalPosition_Frontier_DevDB_cff::tag, tree_, valMapBranchNames_, valMapTags_, valMapTokens_, vars_, and vtxN_.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 237 of file ElectronMVANtuplizer.cc.
References simKBmtfDigis_cfi::bx, doEnergyMatrix_, ebRecHits_, eeRecHits_, ele3Q_, eleIsEB_, eleIsEBEEGap_, eleIsEBEtaGap_, eleIsEBPhiGap_, eleIsEE_, eleIsEEDeeGap_, eleIsEERingGap_, eleMapTokens_, eleQ_, energyMatrix_, energyMatrixSize_, genNpu_, genParticles2HepMC_cfi::genParticles, genParticles_, MVAVariableHelper::getAuxVariables(), MVAVariableManager< ParticleType >::getValue(), iEvent, isMC_, dqmdumpme::k, matchedToGenEle_, matchToTruth(), mvaCats_, mvaCatTokens_, mvaPasses_, mvaValues_, mvaVarMngr_, nCats_, nEleMaps_, nEvent_, nLumi_, nRun_, nValMaps_, nVars_, mixOne_premix_on_sim_cfi::pileup, pileup_, ptThreshold_, muons2muons_cfi::pu, SurveyInfoScenario_cff::seed, TrackRefitter_38T_cff::src, src_, tree_, valMapTokens_, contentValuesCheck::values, variableHelper_, vars_, pwdgSkimBPark_cfi::vertices, vertices_, and vtxN_.
|
inlineoverrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 55 of file ElectronMVANtuplizer.cc.
|
inlineoverrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 57 of file ElectronMVANtuplizer.cc.
|
static |
Definition at line 371 of file ElectronMVANtuplizer.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), HLT_2018_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 336 of file ElectronMVANtuplizer.cc.
References funct::abs(), electronAnalyzer_cfi::DeltaR, deltaR_, HGC3DClusterGenMatchSelector_cfi::dR, HPSPFTauProducerPuppi_cfi::electron, reco::GenParticle::fromHardProcessFinalState(), genParticles2HepMC_cfi::genParticles, reco::GenParticle::isDirectHardProcessTauDecayProductFinalState(), TRUE_ELECTRON_FROM_TAU, TRUE_NON_PROMPT_ELECTRON, TRUE_PROMPT_ELECTRON, and UNMATCHED.
Referenced by analyze().
|
private |
Definition at line 88 of file ElectronMVANtuplizer.cc.
Referenced by matchToTruth().
|
private |
Definition at line 131 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 113 of file ElectronMVANtuplizer.cc.
Referenced by analyze().
|
private |
Definition at line 114 of file ElectronMVANtuplizer.cc.
Referenced by analyze().
|
private |
Definition at line 72 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 78 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 82 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 80 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 81 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 79 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 83 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 84 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 94 of file ElectronMVANtuplizer.cc.
Referenced by ElectronMVANtuplizer().
|
private |
Definition at line 92 of file ElectronMVANtuplizer.cc.
Referenced by ElectronMVANtuplizer().
|
private |
Definition at line 93 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 71 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 75 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 132 of file ElectronMVANtuplizer.cc.
Referenced by analyze().
|
private |
Definition at line 67 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 112 of file ElectronMVANtuplizer.cc.
Referenced by analyze().
|
private |
Definition at line 87 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 73 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 105 of file ElectronMVANtuplizer.cc.
Referenced by ElectronMVANtuplizer().
|
private |
Definition at line 119 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 103 of file ElectronMVANtuplizer.cc.
Referenced by ElectronMVANtuplizer().
|
private |
Definition at line 104 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 117 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 118 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 127 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 106 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 95 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 64 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 66 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 65 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 101 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 128 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 111 of file ElectronMVANtuplizer.cc.
Referenced by analyze().
|
private |
Definition at line 89 of file ElectronMVANtuplizer.cc.
Referenced by analyze().
|
private |
Definition at line 109 of file ElectronMVANtuplizer.cc.
Referenced by analyze().
|
private |
Definition at line 125 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 100 of file ElectronMVANtuplizer.cc.
Referenced by ElectronMVANtuplizer().
|
private |
Definition at line 98 of file ElectronMVANtuplizer.cc.
Referenced by ElectronMVANtuplizer().
|
private |
Definition at line 99 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 122 of file ElectronMVANtuplizer.cc.
Referenced by analyze().
|
private |
Definition at line 129 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().
|
private |
Definition at line 110 of file ElectronMVANtuplizer.cc.
Referenced by analyze().
|
private |
Definition at line 68 of file ElectronMVANtuplizer.cc.
Referenced by analyze(), and ElectronMVANtuplizer().