#include <MultShiftMETcorrInputProducer.h>
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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
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_alisetup::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_.
MultShiftMETcorrInputProducer::~MultShiftMETcorrInputProducer | ( | ) |
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 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().