#include <PhysicsTools/NanoAOD/plugins/BJetEnergyRegressionVarProducer.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 |
std::tuple< float, float, float > | calculatePtRatioRelSimple (edm::Ptr< reco::Candidate > lep, edm::Ptr< pat::Jet > jet) const |
void | produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override |
Private Attributes | |
edm::EDGetTokenT< std::vector< reco::GenParticle > > | srcGP_ |
edm::EDGetTokenT< edm::View< pat::Jet > > | srcJet_ |
edm::EDGetTokenT< edm::View< reco::VertexCompositePtrCandidate > > | srcSV_ |
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 ESProduct , Transition Tr = Transition::Event> | |
auto | esConsumes (eventsetup::EventSetupRecordKey const &, 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 76 of file BJetEnergyRegressionVarProducer.cc.
|
inlineexplicit |
Definition at line 78 of file BJetEnergyRegressionVarProducer.cc.
|
inlineoverride |
Definition at line 105 of file BJetEnergyRegressionVarProducer.cc.
References BJetEnergyRegressionVarProducer< T >::calculatePtRatioRel(), BJetEnergyRegressionVarProducer< T >::calculatePtRatioRelSimple(), BJetEnergyRegressionVarProducer< T >::fillDescriptions(), metsig::jet, and BJetEnergyRegressionVarProducer< T >::produce().
|
private |
Definition at line 372 of file BJetEnergyRegressionVarProducer.cc.
References pat::Jet::correctedP4(), MillePedeFileConverter_cfg::e, pat::Jet::jecFactor(), reco::Candidate::p4(), reco::LeafCandidate::pt(), and dttmaxenums::R.
Referenced by BJetEnergyRegressionVarProducer< T >::produce(), and BJetEnergyRegressionVarProducer< T >::~BJetEnergyRegressionVarProducer().
|
private |
Definition at line 390 of file BJetEnergyRegressionVarProducer.cc.
References pat::Jet::correctedP4(), MillePedeFileConverter_cfg::e, reco::Candidate::p4(), reco::LeafCandidate::p4(), and dttmaxenums::R.
Referenced by BJetEnergyRegressionVarProducer< T >::produce(), and BJetEnergyRegressionVarProducer< T >::~BJetEnergyRegressionVarProducer().
|
static |
Definition at line 411 of file BJetEnergyRegressionVarProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by BJetEnergyRegressionVarProducer< T >::~BJetEnergyRegressionVarProducer().
|
overrideprivate |
Definition at line 139 of file BJetEnergyRegressionVarProducer.cc.
References funct::abs(), BJetEnergyRegressionVarProducer< T >::calculatePtRatioRel(), BJetEnergyRegressionVarProducer< T >::calculatePtRatioRelSimple(), RecoVertex::convertError(), RecoVertex::convertPos(), edmIntegrityCheck::d, reco::deltaR(), reco::deltaR2(), VertexDistance3D::distance(), Measurement1D::error(), edm::helper::Filler< Map >::fill(), jets_cff::genPtwNu, edm::Event::getByToken(), runTauDisplay::gp, edm::helper::Filler< Map >::insert(), metsig::jet, jets_cff::leadTrackPt, reco::btau::leptonDeltaR, jets_cff::leptonPdgId, jets_cff::leptonPt, jets_cff::leptonPtRatio, reco::btau::leptonPtRel, jets_cff::leptonPtRelInv, eostools::move(), jets_cff::ptD, AlignmentTrackSelector_cfi::ptMax, edm::Event::put(), MetAnalyzer::pv(), Measurement1D::significance(), mathSSE::sqrt(), BJetEnergyRegressionVarProducer< T >::srcGP_, electrons_cff::srcJet, BJetEnergyRegressionVarProducer< T >::srcJet_, BJetEnergyRegressionVarProducer< T >::srcSV_, electrons_cff::srcVtx, BJetEnergyRegressionVarProducer< T >::srcVtx_, TtFullHadEvtBuilder_cfi::sumPt, pfDeepBoostedJetPreprocessParams_cfi::sv, Measurement1D::value(), jets_cff::vtx3deL, jets_cff::vtx3dL, jets_cff::vtxMass, jets_cff::vtxNtrk, and jets_cff::vtxPt.
Referenced by BJetEnergyRegressionVarProducer< T >::~BJetEnergyRegressionVarProducer().
|
private |
Definition at line 120 of file BJetEnergyRegressionVarProducer.cc.
Referenced by BJetEnergyRegressionVarProducer< T >::produce().
|
private |
Definition at line 117 of file BJetEnergyRegressionVarProducer.cc.
Referenced by BJetEnergyRegressionVarProducer< T >::produce().
|
private |
Definition at line 119 of file BJetEnergyRegressionVarProducer.cc.
Referenced by BJetEnergyRegressionVarProducer< T >::produce().
|
private |
Definition at line 118 of file BJetEnergyRegressionVarProducer.cc.
Referenced by BJetEnergyRegressionVarProducer< T >::produce().