#include <PhysicsTools/NanoAOD/plugins/LeptonJetVarProducer.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::global::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
std::tuple< float, float, float > | calculatePtRatioRel (edm::Ptr< reco::Candidate > lep, edm::Ptr< pat::Jet > jet, const reco::Vertex &vtx) const |
void | produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override |
Private Attributes | |
edm::EDGetTokenT< edm::View< pat::Jet > > | srcJet_ |
edm::EDGetTokenT< edm::View< T > > | srcLep_ |
edm::EDGetTokenT< std::vector< reco::Vertex > > | srcVtx_ |
Additional Inherited Members | |
Public Types inherited from edm::global::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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 48 of file LeptonJetVarProducer.cc.
|
inlineexplicit |
Definition at line 50 of file LeptonJetVarProducer.cc.
|
inlineoverride |
Definition at line 60 of file LeptonJetVarProducer.cc.
References LeptonJetVarProducer< T >::calculatePtRatioRel(), LeptonJetVarProducer< T >::fillDescriptions(), metsig::jet, LeptonJetVarProducer< T >::produce(), and badGlobalMuonTaggersAOD_cff::vtx.
|
private |
Definition at line 156 of file LeptonJetVarProducer.cc.
References pat::Jet::correctedP4(), edmIntegrityCheck::d, pat::Jet::daughterPtrVector(), boostedElectronIsolation_cff::deltaR, MillePedeFileConverter_cfg::e, objects.autophobj::float, pat::Jet::jecFactor(), reco::Candidate::p4(), reco::Vertex::position(), reco::LeafCandidate::pt(), and dttmaxenums::R.
Referenced by LeptonJetVarProducer< T >::produce(), and LeptonJetVarProducer< T >::~LeptonJetVarProducer().
|
static |
Definition at line 192 of file LeptonJetVarProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by LeptonJetVarProducer< T >::~LeptonJetVarProducer().
|
overrideprivate |
Definition at line 92 of file LeptonJetVarProducer.cc.
References LeptonJetVarProducer< T >::calculatePtRatioRel(), edm::helper::Filler< Map >::fill(), edm::Event::getByToken(), edm::helper::Filler< Map >::insert(), metsig::jet, electrons_cff::jetForLepJetVar, electrons_cff::jetNDauChargedMVASel, matchByCommonSourceCandidatePtr(), eostools::move(), electrons_cff::ptRatio, electrons_cff::ptRel, edm::Event::put(), MetAnalyzer::pv(), electrons_cff::srcJet, LeptonJetVarProducer< T >::srcJet_, electrons_cff::srcLep, LeptonJetVarProducer< T >::srcLep_, electrons_cff::srcVtx, and LeptonJetVarProducer< T >::srcVtx_.
Referenced by LeptonJetVarProducer< T >::~LeptonJetVarProducer().
|
private |
Definition at line 71 of file LeptonJetVarProducer.cc.
Referenced by LeptonJetVarProducer< T >::produce().
|
private |
Definition at line 72 of file LeptonJetVarProducer.cc.
Referenced by LeptonJetVarProducer< T >::produce().
|
private |
Definition at line 73 of file LeptonJetVarProducer.cc.
Referenced by LeptonJetVarProducer< T >::produce().