#include <MultShiftMETcorrInputProducer.h>
Public Member Functions | |
MultShiftMETcorrInputProducer (const edm::ParameterSet &) | |
~MultShiftMETcorrInputProducer () 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_ |
std::vector< int > | counts_ |
std::vector< double > | etaMax_ |
std::vector< double > | etaMin_ |
std::vector< std::unique_ptr< TF1 > > | formula_x_ |
std::vector< std::unique_ptr< TF1 > > | formula_y_ |
std::string | moduleLabel_ |
edm::EDGetTokenT< edm::View< reco::Candidate > > | pflow_ |
std::vector< double > | sumPt_ |
std::vector< int > | type_ |
std::vector< int > | varType_ |
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 31 of file MultShiftMETcorrInputProducer.h.
|
explicit |
Definition at line 27 of file MultShiftMETcorrInputProducer.cc.
References mps_setup::append, cfgCorrParameters_, counts_, etaMax_, etaMin_, formula_x_, formula_y_, edm::ParameterSet::getParameter(), mps_fire::i, moduleLabel_, pflow_, AlCaHLTBitMon_QueryRunRegistry::string, sumPt_, type_, findQualityFiles::v, varType_, and vertices_.
|
override |
Definition at line 63 of file MultShiftMETcorrInputProducer.cc.
|
overrideprivate |
Definition at line 67 of file MultShiftMETcorrInputProducer.cc.
References funct::abs(), EnergyCorrector::c, cfgCorrParameters_, counts_, DEFINE_FWK_MODULE, reco::Candidate::eta(), etaMax_, etaMin_, formula_x_, formula_y_, edm::Event::getByToken(), metFilters_cff::goodVertices, mps_fire::i, edm::HandleBase::isValid(), eostools::move(), pfLinker_cff::particleFlow, reco::Candidate::pdgId(), pflow_, position, reco::Candidate::pt(), edm::Event::put(), rho, sumPt_, translateTypeToAbsPdgId(), type_, findQualityFiles::v, heppy_batch::val, varType_, vertices_, and z.
|
staticprivate |
Definition at line 12 of file MultShiftMETcorrInputProducer.cc.
References MillePedeFileConverter_cfg::e, CustomPhysics_cfi::gamma, h, RPCpg::mu, and X.
Referenced by produce().
|
private |
Definition at line 48 of file MultShiftMETcorrInputProducer.h.
Referenced by MultShiftMETcorrInputProducer(), and produce().
|
private |
Definition at line 51 of file MultShiftMETcorrInputProducer.h.
Referenced by MultShiftMETcorrInputProducer(), and produce().
|
private |
Definition at line 50 of file MultShiftMETcorrInputProducer.h.
Referenced by MultShiftMETcorrInputProducer(), and produce().
|
private |
Definition at line 50 of file MultShiftMETcorrInputProducer.h.
Referenced by MultShiftMETcorrInputProducer(), and produce().
|
private |
Definition at line 53 of file MultShiftMETcorrInputProducer.h.
Referenced by MultShiftMETcorrInputProducer(), and produce().
|
private |
Definition at line 54 of file MultShiftMETcorrInputProducer.h.
Referenced by MultShiftMETcorrInputProducer(), and produce().
|
private |
Definition at line 46 of file MultShiftMETcorrInputProducer.h.
Referenced by Modules.SwitchProducer::insertInto(), Mixins._TypedParameterizable::insertInto(), MultShiftMETcorrInputProducer(), Modules.ESSource::nameInProcessDesc_(), and Modules.ESProducer::nameInProcessDesc_().
|
private |
Definition at line 44 of file MultShiftMETcorrInputProducer.h.
Referenced by MultShiftMETcorrInputProducer(), and produce().
|
private |
Definition at line 52 of file MultShiftMETcorrInputProducer.h.
Referenced by MultShiftMETcorrInputProducer(), and produce().
|
private |
Definition at line 51 of file MultShiftMETcorrInputProducer.h.
Referenced by Modules.Service::__str__(), Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::dumpSequencePython(), RandomRunSource.RandomRunSource::insertInto(), Modules.Service::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), MultShiftMETcorrInputProducer(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), and produce().
|
private |
Definition at line 51 of file MultShiftMETcorrInputProducer.h.
Referenced by MultShiftMETcorrInputProducer(), and produce().
|
private |
Definition at line 45 of file MultShiftMETcorrInputProducer.h.
Referenced by MultShiftMETcorrInputProducer(), and produce().