#include <NoPileUpPFMEtDataProducer.h>
Private Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) |
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<> | |
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 |
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::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 39 of file NoPileUpPFMEtDataProducer.h.
NoPileUpPFMEtDataProducer::NoPileUpPFMEtDataProducer | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 16 of file NoPileUpPFMEtDataProducer.cc.
References edm::ParameterSet::addParameter(), dZcut_, edm::hlt::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 looseJetIdAlgo_, and pfMEtSignInterface_.
|
privatevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 121 of file NoPileUpPFMEtDataProducer.cc.
References reco::MVAMEtPFCandInfo::charge_, PFMEtSignInterfaceBase::compResolution(), JetCorrector::correction(), funct::cos(), dZcut_, reco::LeafCandidate::energy(), edm::hlt::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(), customizeTrackingMonitorSeedNumber::idx, if(), edm::EDGetTokenT< T >::isUninitialized(), isVertexAssociated_fast(), reco::MVAMEtPFCandInfo::isWithinJet_, metsig::jet, jetEnOffsetCorrLabel_, jetIdSelection_, fwrapper::jets, noPuUtils::kChHSAssoc, edm::Ptr< T >::key(), reco::MVAMEtPFCandInfo::kNeutral, reco::MVAMEtJetInfo::kNoPileUp, reco::MVAMEtPFCandInfo::kNoPileUpCharged, reco::MVAMEtJetInfo::kPileUp, reco::MVAMEtPFCandInfo::kPileUpCharged, LogDebug, maxWarnings_, minJetPt_, minJetPtForMEtCov_, moduleLabel_, reco::MVAMEtJetInfo::neutralEnFrac_, numWarnings_, reco::MVAMEtJetInfo::offsetEnCorr_, reco::MVAMEtJetInfo::p4_, reco::MVAMEtPFCandInfo::p4_, reco::MVAMEtJetInfo::passesLooseJetId_, reco::MVAMEtPFCandInfo::passesLooseJetId_, PileupJetIdentifier::passJetId(), reco::tau::pfCandidates(), pfMEtSignInterface_, reco::MVAMEtJetInfo::pfMEtSignObj_, reco::MVAMEtPFCandInfo::pfMEtSignObj_, edm::Event::put(), reversePFCandToVertexAssociation(), metsig::SigInputObj::set(), reco::LeafCandidate::setP4(), funct::sin(), srcHardScatterVertex_, srcJetIds_, srcJets_, srcJetsForMEtCov_, srcPFCandidates_, srcPFCandidatesView_, srcPFCandToVertexAssociations_, reco::MVAMEtJetInfo::type_, and reco::MVAMEtPFCandInfo::type_.
|
private |
Definition at line 64 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 55 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 66 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and ~NoPileUpPFMEtDataProducer().
|
private |
Definition at line 70 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 62 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 50 of file NoPileUpPFMEtDataProducer.h.
Referenced by Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and produce().
|
private |
Definition at line 71 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 68 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), produce(), and ~NoPileUpPFMEtDataProducer().
|
private |
Definition at line 63 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 52 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 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 60 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer(), and produce().
|
private |
Definition at line 73 of file NoPileUpPFMEtDataProducer.h.
Referenced by NoPileUpPFMEtDataProducer().