#include <ShiftedJetProducerT.h>
Public Member Functions | |
ShiftedJetProducerT (const edm::ParameterSet &cfg) | |
~ShiftedJetProducerT () 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 std::vector< T > | JetCollection |
Private Member Functions | |
void | produce (edm::Event &evt, const edm::EventSetup &es) override |
Private Attributes | |
bool | addResidualJES_ |
JetCorrectionUncertainty * | jecUncertainty_ |
double | jecUncertaintyValue_ |
double | jetCorrEtaMax_ |
Textractor | jetCorrExtractor_ |
edm::FileInPath | jetCorrInputFileName_ |
edm::InputTag | jetCorrLabelUpToL3_ |
edm::InputTag | jetCorrLabelUpToL3Res_ |
JetCorrectorParameters * | jetCorrParameters_ |
std::string | jetCorrPayloadName_ |
edm::EDGetTokenT< reco::JetCorrector > | jetCorrTokenUpToL3_ |
edm::EDGetTokenT< reco::JetCorrector > | jetCorrTokenUpToL3Res_ |
std::string | jetCorrUncertaintyTag_ |
std::string | moduleLabel_ |
double | shiftBy_ |
edm::InputTag | src_ |
edm::EDGetTokenT< JetCollection > | srcToken_ |
int | verbosity_ |
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 jets by +/- 1 standard deviation, in order to estimate resulting uncertainty on MET
NOTE: energy scale uncertainties are taken from the Database
Definition at line 37 of file ShiftedJetProducerT.h.
|
private |
Definition at line 38 of file ShiftedJetProducerT.h.
|
inlineexplicit |
Definition at line 41 of file ShiftedJetProducerT.h.
References ShiftedJetProducerT< T, Textractor >::addResidualJES_, looper::cfg, edm::FileInPath::fullPath(), ShiftedJetProducerT< T, Textractor >::jecUncertainty_, ShiftedJetProducerT< T, Textractor >::jecUncertaintyValue_, ShiftedJetProducerT< T, Textractor >::jetCorrEtaMax_, ShiftedJetProducerT< T, Textractor >::jetCorrInputFileName_, ShiftedJetProducerT< T, Textractor >::jetCorrLabelUpToL3_, ShiftedJetProducerT< T, Textractor >::jetCorrLabelUpToL3Res_, ShiftedJetProducerT< T, Textractor >::jetCorrParameters_, ShiftedJetProducerT< T, Textractor >::jetCorrPayloadName_, ShiftedJetProducerT< T, Textractor >::jetCorrTokenUpToL3_, ShiftedJetProducerT< T, Textractor >::jetCorrTokenUpToL3Res_, ShiftedJetProducerT< T, Textractor >::jetCorrUncertaintyTag_, edm::FileInPath::location(), ShiftedJetProducerT< T, Textractor >::shiftBy_, AlCaHLTBitMon_QueryRunRegistry::string, edm::FileInPath::Unknown, and ShiftedJetProducerT< T, Textractor >::verbosity_.
|
inlineoverride |
Definition at line 82 of file ShiftedJetProducerT.h.
References ShiftedJetProducerT< T, Textractor >::jecUncertainty_, and ShiftedJetProducerT< T, Textractor >::jetCorrParameters_.
|
inlineoverrideprivate |
Definition at line 88 of file ShiftedJetProducerT.h.
References ShiftedJetProducerT< T, Textractor >::addResidualJES_, gather_cfg::cout, edm::EventSetup::get(), get, edm::Event::getByToken(), JetCorrectionUncertainty::getUncertainty(), edm::EventBase::isRealData(), ShiftedJetProducerT< T, Textractor >::jecUncertainty_, ShiftedJetProducerT< T, Textractor >::jecUncertaintyValue_, ShiftedJetProducerT< T, Textractor >::jetCorrEtaMax_, ShiftedJetProducerT< T, Textractor >::jetCorrExtractor_, ShiftedJetProducerT< T, Textractor >::jetCorrLabelUpToL3_, ShiftedJetProducerT< T, Textractor >::jetCorrLabelUpToL3Res_, ShiftedJetProducerT< T, Textractor >::jetCorrPayloadName_, ShiftedJetProducerT< T, Textractor >::jetCorrTokenUpToL3_, ShiftedJetProducerT< T, Textractor >::jetCorrTokenUpToL3Res_, ShiftedJetProducerT< T, Textractor >::jetCorrUncertaintyTag_, edm::InputTag::label(), ShiftedJetProducerT< T, Textractor >::moduleLabel_, eostools::move(), edm::Handle< T >::product(), edm::Event::put(), JetCorrectionUncertainty::setJetEta(), JetCorrectionUncertainty::setJetPt(), edm::shift, ShiftedJetProducerT< T, Textractor >::shiftBy_, mathSSE::sqrt(), ShiftedJetProducerT< T, Textractor >::src_, ShiftedJetProducerT< T, Textractor >::srcToken_, relativeConstraints::value, and ShiftedJetProducerT< T, Textractor >::verbosity_.
|
private |
Definition at line 182 of file ShiftedJetProducerT.h.
Referenced by ShiftedJetProducerT< T, Textractor >::produce(), and ShiftedJetProducerT< T, Textractor >::ShiftedJetProducerT().
|
private |
Definition at line 180 of file ShiftedJetProducerT.h.
Referenced by ShiftedJetProducerT< T, Textractor >::produce(), ShiftedJetProducerT< T, Textractor >::ShiftedJetProducerT(), and ShiftedJetProducerT< T, Textractor >::~ShiftedJetProducerT().
|
private |
Definition at line 194 of file ShiftedJetProducerT.h.
Referenced by ShiftedJetProducerT< T, Textractor >::produce(), and ShiftedJetProducerT< T, Textractor >::ShiftedJetProducerT().
|
private |
Definition at line 187 of file ShiftedJetProducerT.h.
Referenced by ShiftedJetProducerT< T, Textractor >::produce(), and ShiftedJetProducerT< T, Textractor >::ShiftedJetProducerT().
|
private |
Definition at line 192 of file ShiftedJetProducerT.h.
Referenced by ShiftedJetProducerT< T, Textractor >::produce().
|
private |
Definition at line 176 of file ShiftedJetProducerT.h.
Referenced by ShiftedJetProducerT< T, Textractor >::ShiftedJetProducerT().
|
private |
Definition at line 183 of file ShiftedJetProducerT.h.
Referenced by ShiftedJetProducerT< T, Textractor >::produce(), and ShiftedJetProducerT< T, Textractor >::ShiftedJetProducerT().
|
private |
Definition at line 185 of file ShiftedJetProducerT.h.
Referenced by ShiftedJetProducerT< T, Textractor >::produce(), and ShiftedJetProducerT< T, Textractor >::ShiftedJetProducerT().
|
private |
Definition at line 179 of file ShiftedJetProducerT.h.
Referenced by ShiftedJetProducerT< T, Textractor >::ShiftedJetProducerT(), and ShiftedJetProducerT< T, Textractor >::~ShiftedJetProducerT().
|
private |
Definition at line 177 of file ShiftedJetProducerT.h.
Referenced by ShiftedJetProducerT< T, Textractor >::produce(), and ShiftedJetProducerT< T, Textractor >::ShiftedJetProducerT().
|
private |
Definition at line 184 of file ShiftedJetProducerT.h.
Referenced by ShiftedJetProducerT< T, Textractor >::produce(), and ShiftedJetProducerT< T, Textractor >::ShiftedJetProducerT().
|
private |
Definition at line 186 of file ShiftedJetProducerT.h.
Referenced by ShiftedJetProducerT< T, Textractor >::produce(), and ShiftedJetProducerT< T, Textractor >::ShiftedJetProducerT().
|
private |
Definition at line 178 of file ShiftedJetProducerT.h.
Referenced by ShiftedJetProducerT< T, Textractor >::produce(), and ShiftedJetProducerT< T, Textractor >::ShiftedJetProducerT().
|
private |
Definition at line 171 of file ShiftedJetProducerT.h.
Referenced by ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Modules.SwitchProducer::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and ShiftedJetProducerT< T, Textractor >::produce().
|
private |
Definition at line 196 of file ShiftedJetProducerT.h.
Referenced by ShiftedJetProducerT< T, Textractor >::produce(), and ShiftedJetProducerT< T, Textractor >::ShiftedJetProducerT().
|
private |
Definition at line 173 of file ShiftedJetProducerT.h.
Referenced by ShiftedJetProducerT< T, Textractor >::produce().
|
private |
Definition at line 174 of file ShiftedJetProducerT.h.
Referenced by ShiftedJetProducerT< T, Textractor >::produce().
|
private |
Definition at line 198 of file ShiftedJetProducerT.h.
Referenced by ShiftedJetProducerT< T, Textractor >::produce(), and ShiftedJetProducerT< T, Textractor >::ShiftedJetProducerT().