#include <PhysicsTools/NanoAOD/plugins/BetaStarVarProducer.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, float > | calculateCHSEnergies (edm::Ptr< pat::Jet > const &jet, double chefrompv0) const |
void | fillValueMaps (std::string valueName, const std::vector< float > &values, edm::Handle< edm::View< pat::Jet >> &srcJet, edm::Event &iEvent) const |
void | produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override |
Private Attributes | |
double | maxDR_ |
edm::EDGetTokenT< edm::View < pat::Jet > > | srcJet_ |
edm::EDGetTokenT< edm::View< T > > | srcPF_ |
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::ProducerBase | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Description: This produces value maps to store CHS-related variables for JERC. This includes the charged hadrons associated to CHS jets, and those associated to PU that are within the CHS jet.
Implementation: This uses a ValueMap producer functionality, and loops over the input candidates (usually PackedCandidates) that are associated to each jet, counting the candidates associated to the PV and those not.
Definition at line 42 of file BetaStarVarProducer.cc.
|
inlineexplicit |
Definition at line 44 of file BetaStarVarProducer.cc.
|
inlineoverride |
Definition at line 53 of file BetaStarVarProducer.cc.
|
private |
Definition at line 134 of file BetaStarVarProducer.cc.
References pat::PackedCandidate::energy().
|
static |
Definition at line 166 of file BetaStarVarProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, timingPdfMaker::modname, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 122 of file BetaStarVarProducer.cc.
References edm::helper::Filler< Map >::fill(), edm::helper::Filler< Map >::insert(), eostools::move(), and edm::Event::put().
|
overrideprivatevirtual |
Implements edm::global::EDProducerBase.
Definition at line 72 of file BetaStarVarProducer.cc.
References reco::deltaR(), HLT_FULL_cff::dRMin, edm::Event::getByToken(), metsig::jet, and or.
|
private |
Definition at line 68 of file BetaStarVarProducer.cc.
|
private |
Definition at line 66 of file BetaStarVarProducer.cc.
|
private |
Definition at line 67 of file BetaStarVarProducer.cc.