#include <MultShiftMETcorrInputProducer.h>
Public Member Functions | |
MultShiftMETcorrInputProducer (const edm::ParameterSet &) | |
~MultShiftMETcorrInputProducer () 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_ |
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_ |
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 32 of file MultShiftMETcorrInputProducer.h.
|
explicit |
Definition at line 37 of file MultShiftMETcorrInputProducer.cc.
References mps_setup::append, looper::cfg, cfgCorrParameters_, counts_, etaMax_, etaMin_, formula_x_, formula_y_, mps_fire::i, moduleLabel_, pflow_, HLT_2023v12_cff::srcWeights, AlCaHLTBitMon_QueryRunRegistry::string, sumPt_, type_, findQualityFiles::v, varType_, vertices_, and weightsToken_.
|
override |
Definition at line 82 of file MultShiftMETcorrInputProducer.cc.
|
overrideprivate |
Definition at line 84 of file MultShiftMETcorrInputProducer.cc.
References funct::abs(), HltBtagPostValidation_cff::c, cfgCorrParameters_, counts_, etaMax_, etaMin_, spr::find(), formula_x_, formula_y_, edm::Event::getByToken(), mps_fire::i, edm::EDGetTokenT< T >::isUninitialized(), edm::HandleBase::isValid(), dqmiolumiharvest::j, eostools::move(), TrackCollections2monitor_cff::nVertices, pfLinker_cff::particleFlow, pflow_, position, edm::Event::put(), rho, sumPt_, translateTypeToAbsPdgId(), type_, parallelization::uint, findQualityFiles::v, heppy_batch::val, varType_, vertices_, mps_merge::weight, hltDeepSecondaryVertexTagInfosPFPuppi_cfi::weights, weightsToken_, and z.
|
staticprivate |
Definition at line 15 of file MultShiftMETcorrInputProducer.cc.
References MillePedeFileConverter_cfg::e, CustomPhysics_cfi::gamma, h, amptDefaultParameters_cff::mu, and X.
Referenced by produce().
|
private |
Definition at line 46 of file MultShiftMETcorrInputProducer.h.
Referenced by MultShiftMETcorrInputProducer(), and produce().
|
private |
Definition at line 49 of file MultShiftMETcorrInputProducer.h.
Referenced by MultShiftMETcorrInputProducer(), and produce().
|
private |
Definition at line 48 of file MultShiftMETcorrInputProducer.h.
Referenced by MultShiftMETcorrInputProducer(), and 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 52 of file MultShiftMETcorrInputProducer.h.
Referenced by MultShiftMETcorrInputProducer(), and produce().
|
private |
Definition at line 43 of file MultShiftMETcorrInputProducer.h.
Referenced by ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Modules.SwitchProducer::insertInto(), Mixins._TypedParameterizable::insertInto(), MultShiftMETcorrInputProducer(), Modules.ESSource::nameInProcessDesc_(), and Modules.ESProducer::nameInProcessDesc_().
|
private |
Definition at line 41 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 49 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(), ExternalGeneratorFilter.ExternalGeneratorFilter::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 49 of file MultShiftMETcorrInputProducer.h.
Referenced by MultShiftMETcorrInputProducer(), and produce().
|
private |
Definition at line 42 of file MultShiftMETcorrInputProducer.h.
Referenced by MultShiftMETcorrInputProducer(), and produce().
|
private |
Definition at line 44 of file MultShiftMETcorrInputProducer.h.
Referenced by MultShiftMETcorrInputProducer(), and produce().