#include <MultShiftMETcorrDBInputProducer.h>
Public Member Functions | |
MultShiftMETcorrDBInputProducer (const edm::ParameterSet &) | |
~MultShiftMETcorrDBInputProducer () 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 |
Static Private Member Functions | |
static int | translateTypeToAbsPdgId (reco::PFCandidate::ParticleType type) |
Private Attributes | |
std::vector< edm::ParameterSet > | cfgCorrParameters_ |
int | counts_ |
std::vector< double > | etaMax_ |
std::vector< double > | etaMin_ |
std::unique_ptr< TF1 > | formula_x_ |
std::unique_ptr< TF1 > | formula_y_ |
bool | mIsData |
edm::ESGetToken< MEtXYcorrectParametersCollection, MEtXYcorrectRecord > | mMEtXYcorParaColl_ |
std::string | moduleLabel_ |
std::string | mPayloadName |
std::string | mSampleType |
edm::EDGetTokenT< edm::View< reco::Candidate > > | pflow_ |
double | sumPt_ |
edm::EDGetTokenT< edm::View< reco::Vertex > > | vertices_ |
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 |
Compute MET correction to compensate systematic shift of MET in x/y-direction (cf. https://indico.cern.ch/getFile.py/access?contribId=1&resId=0&materialId=slides&confId=174318 )
Definition at line 36 of file MultShiftMETcorrDBInputProducer.h.
|
explicit |
Definition at line 38 of file MultShiftMETcorrDBInputProducer.cc.
References looper::cfg, etaMax_, etaMin_, mIsData, mMEtXYcorParaColl_, mPayloadName, mSampleType, pflow_, HLT_2023v12_cff::srcWeights, AlCaHLTBitMon_QueryRunRegistry::string, vertices_, and weightsToken_.
|
override |
Definition at line 59 of file MultShiftMETcorrDBInputProducer.cc.
|
overrideprivate |
Definition at line 61 of file MultShiftMETcorrDBInputProducer.cc.
References funct::abs(), HltBtagPostValidation_cff::c, counts_, MEtXYcorrectParameters::definitions(), Exception, MEtXYcorrectParametersCollection::findLabel(), MEtXYcorrectParameters::Definitions::formula(), formula_x_, formula_y_, edm::Event::getByToken(), edm::EventSetup::getHandle(), metFilters_cff::goodVertices, mps_fire::i, MEtXYcorrectParametersCollection::isShiftData(), MEtXYcorrectParametersCollection::isShiftDY(), MEtXYcorrectParametersCollection::isShiftMC(), MEtXYcorrectParametersCollection::isShiftTTJets(), MEtXYcorrectParametersCollection::isShiftWJets(), edm::EDGetTokenT< T >::isUninitialized(), edm::HandleBase::isValid(), relativeConstraints::keys, mIsData, mMEtXYcorParaColl_, eostools::move(), mSampleType, MEtXYcorrectParameters::Record::nParameters(), MEtXYcorrectParameters::Record::parameter(), pfLinker_cff::particleFlow, MEtXYcorrectParameters::Definitions::parVar(), pflow_, position, MEtXYcorrectParameters::Definitions::PtclType(), edm::Event::put(), MEtXYcorrectParameters::record(), rho, AlCaHLTBitMon_QueryRunRegistry::string, sumPt_, translateTypeToAbsPdgId(), heppy_batch::val, MEtXYcorrectParametersCollection::validKeys(), vertices_, mps_merge::weight, hltDeepSecondaryVertexTagInfosPFPuppi_cfi::weights, weightsToken_, MEtXYcorrectParameters::Record::xMax(), MEtXYcorrectParameters::Record::xMin(), and z.
|
staticprivate |
Definition at line 16 of file MultShiftMETcorrDBInputProducer.cc.
References MillePedeFileConverter_cfg::e, CustomPhysics_cfi::gamma, h, amptDefaultParameters_cff::mu, and X.
Referenced by produce().
|
private |
Definition at line 54 of file MultShiftMETcorrDBInputProducer.h.
|
private |
Definition at line 57 of file MultShiftMETcorrDBInputProducer.h.
Referenced by produce().
|
private |
Definition at line 56 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer().
|
private |
Definition at line 56 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer().
|
private |
Definition at line 59 of file MultShiftMETcorrDBInputProducer.h.
Referenced by produce().
|
private |
Definition at line 60 of file MultShiftMETcorrDBInputProducer.h.
Referenced by produce().
|
private |
Definition at line 51 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer(), and produce().
|
private |
Definition at line 47 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer(), and produce().
|
private |
Definition at line 48 of file MultShiftMETcorrDBInputProducer.h.
Referenced by ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Modules.SwitchProducer::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), and Modules.ESProducer::nameInProcessDesc_().
|
private |
Definition at line 49 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer().
|
private |
Definition at line 50 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer(), and produce().
|
private |
Definition at line 45 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer(), and produce().
|
private |
Definition at line 58 of file MultShiftMETcorrDBInputProducer.h.
Referenced by produce().
|
private |
Definition at line 46 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer(), and produce().
|
private |
Definition at line 52 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer(), and produce().