#include <MultShiftMETcorrDBInputProducer.h>
Public Member Functions | |
MultShiftMETcorrDBInputProducer (const edm::ParameterSet &) | |
~MultShiftMETcorrDBInputProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
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 |
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<> | |
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 |
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 33 of file MultShiftMETcorrDBInputProducer.h.
|
explicit |
Definition at line 38 of file MultShiftMETcorrDBInputProducer.cc.
References looper::cfg, etaMax_, etaMin_, mIsData, mPayloadName, mSampleType, pflow_, HLT_2018_cff::srcWeights, AlCaHLTBitMon_QueryRunRegistry::string, vertices_, and weightsToken_.
|
override |
Definition at line 57 of file MultShiftMETcorrDBInputProducer.cc.
|
overrideprivate |
Definition at line 59 of file MultShiftMETcorrDBInputProducer.cc.
References funct::abs(), HltBtagPostValidation_cff::c, counts_, MEtXYcorrectParameters::definitions(), Exception, MEtXYcorrectParametersCollection::findLabel(), MEtXYcorrectParameters::Definitions::formula(), formula_x_, formula_y_, edm::EventSetup::get(), get, edm::Event::getByToken(), 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, eostools::move(), mPayloadName, 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_, tools::TF1, translateTypeToAbsPdgId(), heppy_batch::val, MEtXYcorrectParametersCollection::validKeys(), vertices_, mps_merge::weight, HLT_2018_cff::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 50 of file MultShiftMETcorrDBInputProducer.h.
|
private |
Definition at line 53 of file MultShiftMETcorrDBInputProducer.h.
Referenced by produce().
|
private |
Definition at line 52 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer().
|
private |
Definition at line 52 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer().
|
private |
Definition at line 55 of file MultShiftMETcorrDBInputProducer.h.
Referenced by produce().
|
private |
Definition at line 56 of file MultShiftMETcorrDBInputProducer.h.
Referenced by produce().
|
private |
Definition at line 47 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer(), and produce().
|
private |
Definition at line 44 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 45 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer(), and produce().
|
private |
Definition at line 46 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer(), and produce().
|
private |
Definition at line 42 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer(), and produce().
|
private |
Definition at line 54 of file MultShiftMETcorrDBInputProducer.h.
Referenced by produce().
|
private |
Definition at line 43 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer(), and produce().
|
private |
Definition at line 48 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer(), and produce().