#include <NoPileUpPFMEtProducer.h>
Public Member Functions | |
NoPileUpPFMEtProducer (const edm::ParameterSet &) | |
~NoPileUpPFMEtProducer () | |
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 Types | |
typedef std::vector< edm::InputTag > | vInputTag |
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 PFMET objects from no-PU jets + "unclustered" no-PU tracks + "unclustered" neutral particles ("unclustered" particles = particles not within jets)
Definition at line 31 of file NoPileUpPFMEtProducer.h.
|
private |
Definition at line 50 of file NoPileUpPFMEtProducer.h.
NoPileUpPFMEtProducer::NoPileUpPFMEtProducer | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 16 of file NoPileUpPFMEtProducer.cc.
References edm::EDConsumerBase::consumes(), edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), pfMEtSignInterface_, saveInputs_, sfLeptonIsoCones_, sfLeptonIsoConesName_, sfLeptonsName_, sfMEtCovMax_, sfMEtCovMin_, sfNoPUjetOffsetEnCorr_, sfNoPUjetOffsetEnCorrName_, sfNoPUjets_, sfNoPUjetsName_, sfNoPUunclChargedCands_, sfNoPUunclChargedCandsName_, sfPUjets_, sfPUjetsName_, sfPUunclChargedCands_, sfPUunclChargedCandsName_, sfType0Correction_, sfType0CorrectionName_, sfUnclNeutralCands_, sfUnclNeutralCandsName_, srcJetInfo_, srcJetInfoLeptonMatch_, srcLeptons_, srcMEt_, srcMEtCov_, srcPFCandInfo_, srcPFCandInfoLeptonMatch_, srcType0Correction_, and verbosity_.
NoPileUpPFMEtProducer::~NoPileUpPFMEtProducer | ( | ) |
Definition at line 79 of file NoPileUpPFMEtProducer.cc.
References pfMEtSignInterface_.
|
private |
Definition at line 205 of file NoPileUpPFMEtProducer.cc.
References funct::abs(), addToCommonMETData(), edm::View< T >::begin(), NoPileUpMEtUtilities::cleanJets(), NoPileUpMEtUtilities::cleanPFCandidates(), PFMEtSignInterfaceBase::compResolution(), computePFMEtSignificance(), DEFINE_FWK_MODULE, reco::deltaR2(), edm::View< T >::end(), Exception, finalizeCommonMETData(), findBestMatchingLepton(), edm::Event::getByToken(), reco::MET::getSignificanceMatrix(), initializeCommonMETData(), metsig::jet, fwrapper::jets, reco::PUSubMETCandInfo::kChHS, reco::PUSubMETCandInfo::kChPU, reco::PUSubMETCandInfo::kHS, reco::PUSubMETCandInfo::kNeutral, edm::InputTag::label(), AK4PFJetsMCFlavourInfos_cfi::leptons, LogDebug, CorrMETData::mex, CorrMETData::mey, moduleLabel_, eostools::move(), slimmedMuons_cfi::pfCandidates, pfMEtSignInterface_, reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), edm::Event::put(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), saveInputs_, scaleAndAddPFMEtSignObjects(), reco::LeafCandidate::setP4(), reco::MET::setSignificanceMatrix(), sfLeptonIsoCones_, sfLeptonIsoConesName_, sfLeptonsName_, sfMEtCovMax_, sfMEtCovMin_, sfNoPUjetOffsetEnCorr_, sfNoPUjetOffsetEnCorrName_, sfNoPUjets_, sfNoPUjetsName_, sfNoPUunclChargedCands_, sfNoPUunclChargedCandsName_, sfPUjets_, sfPUjetsName_, sfPUunclChargedCands_, sfPUunclChargedCandsName_, sfType0Correction_, sfType0CorrectionName_, sfUnclNeutralCands_, sfUnclNeutralCandsName_, mathSSE::sqrt(), srcJetInfo_, srcJetInfoLeptonMatch_, srcLeptons_, srcMEt_, srcMEtCov_, srcPFCandInfo_, srcPFCandInfoLeptonMatch_, srcType0Correction_, and utils_.
|
private |
Definition at line 42 of file NoPileUpPFMEtProducer.h.
Referenced by Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and produce().
|
private |
Definition at line 74 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), produce(), and ~NoPileUpPFMEtProducer().
|
private |
Definition at line 78 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 62 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 72 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 64 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 76 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 75 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 56 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 66 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 55 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 65 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 58 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 68 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 57 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 67 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 59 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 69 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 61 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 71 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 60 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 70 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 46 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 47 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 51 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 44 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 45 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 48 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 49 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 53 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer(), and produce().
|
private |
Definition at line 82 of file NoPileUpPFMEtProducer.h.
Referenced by produce().
|
private |
Definition at line 80 of file NoPileUpPFMEtProducer.h.
Referenced by NoPileUpPFMEtProducer().