#include <MultShiftMETcorrDBInputProducer.h>
Public Member Functions | |
MultShiftMETcorrDBInputProducer (const edm::ParameterSet &) | |
~MultShiftMETcorrDBInputProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () 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_ |
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 32 of file MultShiftMETcorrDBInputProducer.h.
|
explicit |
Definition at line 31 of file MultShiftMETcorrDBInputProducer.cc.
References etaMax_, etaMin_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), mIsData, mPayloadName, mSampleType, pflow_, AlCaHLTBitMon_QueryRunRegistry::string, and vertices_.
|
override |
Definition at line 50 of file MultShiftMETcorrDBInputProducer.cc.
|
overrideprivate |
Definition at line 54 of file MultShiftMETcorrDBInputProducer.cc.
References funct::abs(), EnergyCorrector::c, counts_, DEFINE_FWK_MODULE, MEtXYcorrectParameters::definitions(), reco::Candidate::eta(), Exception, MEtXYcorrectParametersCollection::findLabel(), MEtXYcorrectParameters::Definitions::formula(), formula_x_, formula_y_, edm::EventSetup::get(), edm::Event::getByToken(), metFilters_cff::goodVertices, mps_fire::i, MEtXYcorrectParametersCollection::isShiftData(), MEtXYcorrectParametersCollection::isShiftDY(), MEtXYcorrectParametersCollection::isShiftMC(), MEtXYcorrectParametersCollection::isShiftTTJets(), MEtXYcorrectParametersCollection::isShiftWJets(), edm::HandleBase::isValid(), relativeConstraints::keys, mIsData, eostools::move(), mPayloadName, mSampleType, MEtXYcorrectParameters::Record::nParameters(), MEtXYcorrectParameters::Record::parameter(), pfLinker_cff::particleFlow, MEtXYcorrectParameters::Definitions::parVar(), reco::Candidate::pdgId(), pflow_, position, reco::Candidate::pt(), MEtXYcorrectParameters::Definitions::PtclType(), edm::Event::put(), MEtXYcorrectParameters::record(), rho, AlCaHLTBitMon_QueryRunRegistry::string, sumPt_, translateTypeToAbsPdgId(), heppy_batch::val, MEtXYcorrectParametersCollection::validKeys(), vertices_, 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, RPCpg::mu, and X.
Referenced by produce().
|
private |
Definition at line 52 of file MultShiftMETcorrDBInputProducer.h.
|
private |
Definition at line 55 of file MultShiftMETcorrDBInputProducer.h.
Referenced by produce().
|
private |
Definition at line 54 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer().
|
private |
Definition at line 54 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer().
|
private |
Definition at line 57 of file MultShiftMETcorrDBInputProducer.h.
Referenced by produce().
|
private |
Definition at line 58 of file MultShiftMETcorrDBInputProducer.h.
Referenced by produce().
|
private |
Definition at line 50 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer(), and produce().
|
private |
Definition at line 47 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 48 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer(), and produce().
|
private |
Definition at line 49 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 56 of file MultShiftMETcorrDBInputProducer.h.
Referenced by produce().
|
private |
Definition at line 46 of file MultShiftMETcorrDBInputProducer.h.
Referenced by MultShiftMETcorrDBInputProducer(), and produce().