#include <NoPileUpPFMEtDataProducer.h>
Public Member Functions | |
NoPileUpPFMEtDataProducer (const edm::ParameterSet &) | |
~NoPileUpPFMEtDataProducer () | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 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) |
Produce input objects used to compute MVA/No-PU MET
Definition at line 41 of file NoPileUpPFMEtDataProducer.h.
NoPileUpPFMEtDataProducer::NoPileUpPFMEtDataProducer | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 16 of file NoPileUpPFMEtDataProducer.cc.
References edm::ParameterSet::addParameter(), dZcut_, Exception, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), jetEnOffsetCorrLabel_, jetIdSelection_, PileupJetIdentifier::kLoose, PileupJetIdentifier::kMedium, PileupJetIdentifier::kTight, looseJetIdAlgo_, maxWarnings_, minJetPt_, minJetPtForMEtCov_, numWarnings_, pfMEtSignInterface_, srcHardScatterVertex_, srcJetIds_, srcJets_, srcJetsForMEtCov_, srcPFCandidates_, srcPFCandidatesView_, srcPFCandToVertexAssociations_, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity_.
NoPileUpPFMEtDataProducer::~NoPileUpPFMEtDataProducer | ( | ) |
Definition at line 58 of file NoPileUpPFMEtDataProducer.cc.
References reco::deltaR2(), dR2Min, edm::View< T >::empty(), flags, reco::PFJet::getPFConstituents(), edm::Ptr< T >::id(), training_settings::idx, createfilelist::int, edm::Ptr< T >::key(), looseJetIdAlgo_, reco::LeafCandidate::p4(), pfMEtSignInterface_, edm::View< T >::ptrAt(), edm::View< T >::size(), and relativeConstraints::value.
|
private |
Definition at line 125 of file NoPileUpPFMEtDataProducer.cc.
References PFMEtSignInterfaceBase::compResolution(), funct::cos(), DEFINE_FWK_MODULE, dZcut_, reco::LeafCandidate::energy(), Exception, flag_isWithinFakeJet, flag_isWithinJetForMEtCov, flag_isWithinSelectedJet, edm::Ptr< T >::get(), metsig::SigInputObj::get_energy(), metsig::SigInputObj::get_phi(), metsig::SigInputObj::get_sigma_e(), metsig::SigInputObj::get_sigma_tan(), metsig::SigInputObj::get_type(), edm::Event::getByToken(), JetCorrector::getJetCorrector(), training_settings::idx, edm::EDGetTokenT< T >::isUninitialized(), noPuUtils::isVertexAssociated_fast(), reco::PUSubMETCandInfo::isWithinJet(), metsig::jet, jetEnOffsetCorrLabel_, jetIdSelection_, fwrapper::jets, reco::PUSubMETCandInfo::kChHS, noPuUtils::kChHSAssoc, reco::PUSubMETCandInfo::kChPU, edm::Ptr< T >::key(), reco::PUSubMETCandInfo::kHS, reco::PUSubMETCandInfo::kNeutral, reco::PUSubMETCandInfo::kPU, LogDebug, maxWarnings_, minJetPt_, minJetPtForMEtCov_, moduleLabel_, eostools::move(), numWarnings_, PileupJetIdentifier::passJetId(), slimmedMuons_cfi::pfCandidates, pfMEtSignInterface_, edm::Event::put(), noPuUtils::reversePFCandToVertexAssociation(), metsig::SigInputObj::set(), reco::PUSubMETCandInfo::setCharge(), reco::PUSubMETCandInfo::setChargedEnFrac(), reco::PUSubMETCandInfo::setIsWithinJet(), reco::PUSubMETCandInfo::setMEtSignObj(), reco::PUSubMETCandInfo::setOffsetEnCorr(), reco::PUSubMETCandInfo::setP4(), reco::LeafCandidate::setP4(), reco::PUSubMETCandInfo::setPassesLooseJetId(), reco::PUSubMETCandInfo::setType(), funct::sin(), srcHardScatterVertex_, srcJetIds_, srcJets_, srcJetsForMEtCov_, srcPFCandidates_, srcPFCandidatesView_, and srcPFCandToVertexAssociations_.
|
private |
Definition at line 66 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 58 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 57 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 68 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and ~NoPileUpPFMEtDataProducer().
|
private |
Definition at line 72 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 56 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 64 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 52 of file NoPileUpPFMEtDataProducer.h.
Referenced by Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and produce().
|
private |
Definition at line 73 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 70 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), produce(), and ~NoPileUpPFMEtDataProducer().
|
private |
Definition at line 65 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 55 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 54 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 63 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 60 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 61 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 62 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 75 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer().