#include <NoPileUpPFMEtDataProducer.h>
Public Member Functions | |
NoPileUpPFMEtDataProducer (const edm::ParameterSet &) | |
~NoPileUpPFMEtDataProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
double | dZcut_ |
std::string | jetEnOffsetCorrLabel_ |
PileupJetIdentifier::Id | jetIdSelection_ |
PFJetIDSelectionFunctor * | looseJetIdAlgo_ |
int | maxWarnings_ |
double | minJetPt_ |
double | minJetPtForMEtCov_ |
std::string | moduleLabel_ |
int | numWarnings_ |
PFMEtSignInterfaceBase * | pfMEtSignInterface_ |
edm::EDGetTokenT < reco::VertexCollection > | srcHardScatterVertex_ |
edm::EDGetTokenT < edm::ValueMap< int > > | srcJetIds_ |
edm::EDGetTokenT < reco::PFJetCollection > | srcJets_ |
edm::EDGetTokenT < reco::PFJetCollection > | srcJetsForMEtCov_ |
edm::EDGetTokenT < reco::PFCandidateCollection > | srcPFCandidates_ |
edm::EDGetTokenT< edm::View < reco::PFCandidate > > | srcPFCandidatesView_ |
edm::EDGetTokenT < PFCandToVertexAssMap > | srcPFCandToVertexAssociations_ |
int | verbosity_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T...> |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T...> |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
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 15 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_.
|
override |
Definition at line 59 of file NoPileUpPFMEtDataProducer.cc.
References looseJetIdAlgo_, and pfMEtSignInterface_.
|
overrideprivate |
Definition at line 130 of file NoPileUpPFMEtDataProducer.cc.
References PFMEtSignInterfaceBase::compResolution(), funct::cos(), 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(), 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 63 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 65 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and ~NoPileUpPFMEtDataProducer().
|
private |
Definition at line 69 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 53 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 49 of file NoPileUpPFMEtDataProducer.h.
Referenced by ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Modules.SwitchProducer::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and produce().
|
private |
Definition at line 70 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 67 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), produce(), and ~NoPileUpPFMEtDataProducer().
|
private |
Definition at line 62 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 52 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 51 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 57 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 59 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 72 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer().