Classes | |
struct | binningEntryType |
Public Member Functions | |
ShiftedParticleProducer (const edm::ParameterSet &cfg) | |
~ShiftedParticleProducer () 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 Types | |
typedef edm::View < reco::Candidate > | CandidateView |
Private Member Functions | |
double | getUncShift (const reco::Candidate &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_ |
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 |
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 30 of file ShiftedParticleProducer.cc.
|
private |
Definition at line 31 of file ShiftedParticleProducer.cc.
|
explicit |
Definition at line 75 of file ShiftedParticleProducer.cc.
References binning_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), moduleLabel_, shiftBy_, srcToken_, HLT_FULL_cff::srcWeights, AlCaHLTBitMon_QueryRunRegistry::string, and weightsToken_.
|
override |
Definition at line 98 of file ShiftedParticleProducer.cc.
References binning_.
|
private |
Definition at line 142 of file ShiftedParticleProducer.cc.
References binning_, reco::Candidate::energy(), reco::Candidate::eta(), and reco::Candidate::pt().
Referenced by produce().
|
overrideprivate |
Definition at line 104 of file ShiftedParticleProducer.cc.
References edm::Event::getByToken(), getUncShift(), mps_fire::i, edm::Ptr< T >::id(), edm::isNotFinite(), edm::EDGetTokenT< T >::isUninitialized(), eostools::move(), reco::Candidate::p4(), edm::Event::put(), reco::LeafCandidate::setP4(), edm::shift, shiftBy_, srcToken_, histoStyle::weight, HLT_FULL_cff::weights, and weightsToken_.
|
private |
Definition at line 70 of file ShiftedParticleProducer.cc.
Referenced by getUncShift(), ShiftedParticleProducer(), and ~ShiftedParticleProducer().
|
private |
Definition at line 42 of file ShiftedParticleProducer.cc.
Referenced by ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Modules.SwitchProducer::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and ShiftedParticleProducer().
|
private |
Definition at line 72 of file ShiftedParticleProducer.cc.
Referenced by produce(), and ShiftedParticleProducer().
|
private |
Definition at line 44 of file ShiftedParticleProducer.cc.
Referenced by produce(), and ShiftedParticleProducer().
|
private |
Definition at line 45 of file ShiftedParticleProducer.cc.
Referenced by produce(), and ShiftedParticleProducer().