#include <ShiftedParticleProducer.h>
Classes | |
struct | binningEntryType |
Public Member Functions | |
ShiftedParticleProducer (const edm::ParameterSet &cfg) | |
~ShiftedParticleProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Private Types | |
typedef edm::View< reco::Candidate > | CandidateView |
Private Member Functions | |
double | getUncShift (const CandidateView::const_iterator &originalParticle) |
void | produce (edm::Event &evt, const edm::EventSetup &es) override |
Private Attributes | |
std::vector< binningEntryType * > | binning_ |
std::string | moduleLabel_ |
double | shiftBy_ |
edm::EDGetTokenT< CandidateView > | srcToken_ |
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 |
Vary energy of electrons/muons/tau-jets by +/- 1 standard deviation, in order to estimate resulting uncertainty on MET
NOTE: energy scale uncertainties need to be specified in python config
Definition at line 32 of file ShiftedParticleProducer.h.
|
private |
Definition at line 34 of file ShiftedParticleProducer.h.
|
explicit |
Definition at line 4 of file ShiftedParticleProducer.cc.
References binning_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), moduleLabel_, shiftBy_, srcToken_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 25 of file ShiftedParticleProducer.cc.
References binning_.
|
private |
Definition at line 61 of file ShiftedParticleProducer.cc.
References binning_, and DEFINE_FWK_MODULE.
Referenced by produce().
|
overrideprivate |
Definition at line 34 of file ShiftedParticleProducer.cc.
References edm::View< T >::begin(), edm::View< T >::end(), edm::Event::getByToken(), getUncShift(), edm::isNotFinite(), eostools::move(), edm::Event::put(), edm::shift, shiftBy_, and srcToken_.
|
private |
Definition at line 79 of file ShiftedParticleProducer.h.
Referenced by getUncShift(), ShiftedParticleProducer(), and ~ShiftedParticleProducer().
|
private |
Definition at line 48 of file ShiftedParticleProducer.h.
Referenced by Modules.SwitchProducer::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and ShiftedParticleProducer().
|
private |
Definition at line 81 of file ShiftedParticleProducer.h.
Referenced by produce(), and ShiftedParticleProducer().
|
private |
Definition at line 50 of file ShiftedParticleProducer.h.
Referenced by produce(), and ShiftedParticleProducer().