![]() |
![]() |
#include <RecoEgamma/PhotonIdentification/plugins/PhotonMVANtuplizer.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
![]() | |
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 |
Private Attributes | |
int | genNpu_ |
const bool | isMC_ |
const std::vector< std::string > | mvaCatBranchNames_ |
std::vector< int > | mvaCats_ |
const std::vector< std::string > | mvaCatTags_ |
std::vector< edm::EDGetTokenT< edm::ValueMap< int > > > | mvaCatTokens_ |
std::vector< int > | mvaPasses_ |
std::vector< float > | mvaValues_ |
const size_t | nCats_ |
int | nEvent_ |
int | nLumi_ |
const size_t | nPhoMaps_ |
int | nRun_ |
const size_t | nValMaps_ |
int | nVars_ |
const std::vector< std::string > | phoMapBranchNames_ |
const std::vector< std::string > | phoMapTags_ |
std::vector< edm::EDGetTokenT< edm::ValueMap< bool > > > | phoMapTokens_ |
MultiTokenT< std::vector< PileupSummaryInfo > > | pileup_ |
const double | ptThreshold_ |
MultiTokenT< edm::View< reco::Photon > > | src_ |
TTree * | tree_ |
const std::vector< std::string > | valMapBranchNames_ |
const std::vector< std::string > | valMapTags_ |
std::vector< edm::EDGetTokenT< edm::ValueMap< float > > > | valMapTokens_ |
std::vector< float > | vars_ |
MultiTokenT< std::vector< reco::Vertex > > | vertices_ |
int | vtxN_ |
Additional Inherited Members | |
![]() | |
typedef EDAnalyzerBase | ModuleType |
![]() | |
typedef ProductLabels | Labels |
![]() | |
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: Ntuplizer to use for testing photon MVA IDs.
Implementation: [Notes on implementation]
Definition at line 56 of file PhotonMVANtuplizer.cc.
|
explicit |
Definition at line 130 of file PhotonMVANtuplizer.cc.
References edm::EDConsumerBase::consumes(), genNpu_, mps_fire::i, isMC_, gen::k, TFileService::kSharedResource, TFileService::make(), mvaCatBranchNames_, mvaCats_, mvaCatTags_, mvaCatTokens_, mvaPasses_, mvaValues_, nCats_, nEvent_, nLumi_, nPhoMaps_, nRun_, nValMaps_, nVars_, phoMapBranchNames_, phoMapTags_, phoMapTokens_, tree_, valMapBranchNames_, valMapTags_, valMapTokens_, vars_, and vtxN_.
|
override |
Definition at line 202 of file PhotonMVANtuplizer.cc.
|
overrideprivate |
Definition at line 217 of file PhotonMVANtuplizer.cc.
References edm::EventID::event(), genNpu_, edm::Event::getByToken(), MultiTokenT< T >::getValidHandle(), edm::EventBase::id(), createfilelist::int, isMC_, gen::k, edm::EventBase::luminosityBlock(), mvaCats_, mvaCatTokens_, mvaPasses_, mvaValues_, nCats_, nEvent_, nLumi_, nPhoMaps_, nRun_, nValMaps_, phoMapTokens_, ElectronMVANtuplizer_cfg::pileup, pileup_, ptThreshold_, muons2muons_cfi::pu, edm::EventID::run(), TrackRefitter_38T_cff::src, src_, tree_, valMapTokens_, MuonErrorMatrixValues_cff::values, electrons_cff::vertices, vertices_, and vtxN_.
|
inlineoverrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 69 of file PhotonMVANtuplizer.cc.
|
inlineoverrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 71 of file PhotonMVANtuplizer.cc.
|
static |
Definition at line 295 of file PhotonMVANtuplizer.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), edm::ParameterSetDescription::addUntracked(), and DEFINE_FWK_MODULE.
|
private |
Definition at line 83 of file PhotonMVANtuplizer.cc.
Referenced by analyze(), and PhotonMVANtuplizer().
|
private |
Definition at line 109 of file PhotonMVANtuplizer.cc.
Referenced by analyze(), and PhotonMVANtuplizer().
|
private |
Definition at line 105 of file PhotonMVANtuplizer.cc.
Referenced by PhotonMVANtuplizer().
|
private |
Definition at line 89 of file PhotonMVANtuplizer.cc.
Referenced by analyze(), and PhotonMVANtuplizer().
|
private |
Definition at line 103 of file PhotonMVANtuplizer.cc.
Referenced by PhotonMVANtuplizer().
|
private |
Definition at line 104 of file PhotonMVANtuplizer.cc.
Referenced by analyze(), and PhotonMVANtuplizer().
|
private |
Definition at line 87 of file PhotonMVANtuplizer.cc.
Referenced by analyze(), and PhotonMVANtuplizer().
|
private |
Definition at line 88 of file PhotonMVANtuplizer.cc.
Referenced by analyze(), and PhotonMVANtuplizer().
|
private |
Definition at line 106 of file PhotonMVANtuplizer.cc.
Referenced by analyze(), and PhotonMVANtuplizer().
|
private |
Definition at line 82 of file PhotonMVANtuplizer.cc.
Referenced by analyze(), and PhotonMVANtuplizer().
|
private |
Definition at line 82 of file PhotonMVANtuplizer.cc.
Referenced by analyze(), and PhotonMVANtuplizer().
|
private |
Definition at line 95 of file PhotonMVANtuplizer.cc.
Referenced by analyze(), and PhotonMVANtuplizer().
|
private |
Definition at line 82 of file PhotonMVANtuplizer.cc.
Referenced by analyze(), and PhotonMVANtuplizer().
|
private |
Definition at line 101 of file PhotonMVANtuplizer.cc.
Referenced by analyze(), and PhotonMVANtuplizer().
|
private |
Definition at line 79 of file PhotonMVANtuplizer.cc.
Referenced by PhotonMVANtuplizer().
|
private |
Definition at line 94 of file PhotonMVANtuplizer.cc.
Referenced by PhotonMVANtuplizer().
|
private |
Definition at line 92 of file PhotonMVANtuplizer.cc.
Referenced by PhotonMVANtuplizer().
|
private |
Definition at line 93 of file PhotonMVANtuplizer.cc.
Referenced by analyze(), and PhotonMVANtuplizer().
|
private |
Definition at line 115 of file PhotonMVANtuplizer.cc.
Referenced by analyze().
|
private |
Definition at line 110 of file PhotonMVANtuplizer.cc.
Referenced by analyze().
|
private |
Definition at line 113 of file PhotonMVANtuplizer.cc.
Referenced by analyze().
|
private |
Definition at line 71 of file PhotonMVANtuplizer.cc.
Referenced by analyze(), and PhotonMVANtuplizer().
|
private |
Definition at line 100 of file PhotonMVANtuplizer.cc.
Referenced by PhotonMVANtuplizer().
|
private |
Definition at line 98 of file PhotonMVANtuplizer.cc.
Referenced by PhotonMVANtuplizer().
|
private |
Definition at line 99 of file PhotonMVANtuplizer.cc.
Referenced by analyze(), and PhotonMVANtuplizer().
|
private |
Definition at line 78 of file PhotonMVANtuplizer.cc.
Referenced by PhotonMVANtuplizer().
|
private |
Definition at line 114 of file PhotonMVANtuplizer.cc.
Referenced by analyze().
|
private |
Definition at line 84 of file PhotonMVANtuplizer.cc.
Referenced by analyze(), and PhotonMVANtuplizer().