#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 | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
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<> | |
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 33 of file ShiftedParticleProducer.h.
|
private |
Definition at line 34 of file ShiftedParticleProducer.h.
|
explicit |
Definition at line 4 of file ShiftedParticleProducer.cc.
References binning_, looper::cfg, moduleLabel_, shiftBy_, srcToken_, HLT_2018_cff::srcWeights, AlCaHLTBitMon_QueryRunRegistry::string, and weightsToken_.
|
override |
Definition at line 27 of file ShiftedParticleProducer.cc.
References binning_.
|
private |
Definition at line 71 of file ShiftedParticleProducer.cc.
References binning_, reco::Candidate::energy(), reco::Candidate::eta(), and reco::Candidate::pt().
Referenced by produce().
|
overrideprivate |
Definition at line 33 of file ShiftedParticleProducer.cc.
References edm::View< T >::at(), edm::Event::getByToken(), getUncShift(), mps_fire::i, edm::Ptr< T >::id(), edm::isNotFinite(), edm::EDGetTokenT< T >::isUninitialized(), eostools::move(), reco::Candidate::numberOfSourceCandidatePtrs(), reco::Candidate::p4(), edm::View< T >::ptrAt(), edm::Event::put(), reco::LeafCandidate::setP4(), edm::shift, shiftBy_, edm::View< T >::size(), reco::Candidate::sourceCandidatePtr(), srcToken_, mps_merge::weight, HLT_2018_cff::weights, and weightsToken_.
|
private |
Definition at line 73 of file ShiftedParticleProducer.h.
Referenced by getUncShift(), ShiftedParticleProducer(), and ~ShiftedParticleProducer().
|
private |
Definition at line 45 of file ShiftedParticleProducer.h.
Referenced by ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Modules.SwitchProducer::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and ShiftedParticleProducer().
|
private |
Definition at line 75 of file ShiftedParticleProducer.h.
Referenced by produce(), and ShiftedParticleProducer().
|
private |
Definition at line 47 of file ShiftedParticleProducer.h.
Referenced by produce(), and ShiftedParticleProducer().
|
private |
Definition at line 48 of file ShiftedParticleProducer.h.
Referenced by produce(), and ShiftedParticleProducer().