#include <PFMETProducer.h>
Public Member Functions | |
PFMETProducer (const edm::ParameterSet &) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~PFMETProducer () 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 |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Member Functions | |
reco::METCovMatrix | getMETCovMatrix (const edm::Event &event, const edm::EventSetup &, const edm::Handle< edm::View< reco::Candidate >> &input) const |
Private Attributes | |
bool | applyWeight_ |
bool | calculateSignificance_ |
double | globalThreshold_ |
edm::EDGetTokenT< edm::View< reco::Candidate > > | inputToken_ |
edm::ESGetToken< JME::JetResolutionObject, JetResolutionRcd > | jetResPhiToken_ |
edm::ESGetToken< JME::JetResolutionObject, JetResolutionRcd > | jetResPtToken_ |
edm::ESGetToken< JME::JetResolutionObject, JetResolutionScaleFactorRcd > | jetSFToken_ |
double | jetThreshold_ |
edm::EDGetTokenT< edm::View< reco::Jet > > | jetToken_ |
std::vector< edm::EDGetTokenT< edm::View< reco::Candidate > > > | lepTokens_ |
metsig::METSignificance * | metSigAlgo_ |
edm::EDGetTokenT< double > | rhoToken_ |
edm::InputTag | src_ |
edm::ValueMap< float > const * | weights_ |
edm::EDGetTokenT< edm::ValueMap< float > > | weightsToken_ |
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 |
Definition at line 57 of file PFMETProducer.h.
|
explicit |
Definition at line 17 of file PFMETProducer.cc.
References SiStripOfflineCRack_cfg::alias, applyWeight_, calculateSignificance_, deDxTools::esConsumes(), edm::ParameterSet::getParameter(), jetResPhiToken_, jetResPtToken_, jetSFToken_, jetToken_, edm::InputTag::label(), lepTokens_, metSigAlgo_, METSignificance_cfi::METSignificance, rhoToken_, src_, HLT_2022v11_cff::srcWeights, AlCaHLTBitMon_QueryRunRegistry::string, and weightsToken_.
|
inlineoverride |
Definition at line 60 of file PFMETProducer.h.
|
static |
Definition at line 132 of file PFMETProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, HLT_2022v11_cff::InputTag, submitPVValidationJobs::params, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 86 of file PFMETProducer.cc.
References metsig::METSignificance::getCovariance(), HLT_2022v11_cff::inputJets, jetResPhiToken_, jetResPtToken_, jetSFToken_, jetToken_, lepTokens_, HLT_2022v11_cff::leptons, metSigAlgo_, rhoToken_, singleTopDQM_cfi::setup, met_cff::sumPtUnclustered, trackerHitRTTI::vector, and weights_.
Referenced by produce().
|
override |
Definition at line 54 of file PFMETProducer.cc.
References applyWeight_, calculateSignificance_, edm::ValueMap< T >::get(), getMETCovMatrix(), globalThreshold_, input, inputToken_, CommonMETData::met, CommonMETData::mex, CommonMETData::mey, eostools::move(), packedPFCandidateRefMixer_cfi::pf, reco::MET::setIsWeighted(), reco::MET::setSignificanceMatrix(), singleTopDQM_cfi::setup, timingPdfMaker::specific, CommonMETData::sumet, extraflags_cff::vtx, weights_, and weightsToken_.
|
private |
Definition at line 84 of file PFMETProducer.h.
Referenced by PFMETProducer(), and produce().
|
private |
Definition at line 71 of file PFMETProducer.h.
Referenced by PFMETProducer(), and produce().
|
private |
Definition at line 74 of file PFMETProducer.h.
Referenced by produce().
|
private |
Definition at line 69 of file PFMETProducer.h.
Referenced by produce().
|
private |
Definition at line 82 of file PFMETProducer.h.
Referenced by getMETCovMatrix(), and PFMETProducer().
|
private |
Definition at line 81 of file PFMETProducer.h.
Referenced by getMETCovMatrix(), and PFMETProducer().
|
private |
Definition at line 80 of file PFMETProducer.h.
Referenced by getMETCovMatrix(), and PFMETProducer().
|
private |
Definition at line 75 of file PFMETProducer.h.
|
private |
Definition at line 77 of file PFMETProducer.h.
Referenced by getMETCovMatrix(), and PFMETProducer().
|
private |
Definition at line 78 of file PFMETProducer.h.
Referenced by getMETCovMatrix(), and PFMETProducer().
|
private |
Definition at line 72 of file PFMETProducer.h.
Referenced by getMETCovMatrix(), and PFMETProducer().
|
private |
Definition at line 83 of file PFMETProducer.h.
Referenced by getMETCovMatrix(), and PFMETProducer().
|
private |
Definition at line 68 of file PFMETProducer.h.
Referenced by PFMETProducer().
|
private |
Definition at line 86 of file PFMETProducer.h.
Referenced by getMETCovMatrix(), and produce().
|
private |
Definition at line 85 of file PFMETProducer.h.
Referenced by PFMETProducer(), and produce().