Public Member Functions | |
ShiftedPFCandidateProducerForPFNoPUMEt (const edm::ParameterSet &) | |
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 Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
std::unique_ptr < JetCorrectionUncertainty > | jecUncertainty_ |
bool | jecValidFileName_ |
edm::FileInPath | jetCorrInputFileName_ |
std::unique_ptr < JetCorrectorParameters > | jetCorrParameters_ |
std::string | jetCorrPayloadName_ |
edm::ESGetToken < JetCorrectorParametersCollection, JetCorrectionsRecord > | jetCorrPayloadToken_ |
std::string | jetCorrUncertaintyTag_ |
double | minJetPt_ |
std::string | moduleLabel_ |
double | shiftBy_ |
edm::EDGetTokenT < reco::PFJetCollection > | srcJetsToken_ |
edm::EDGetTokenT < reco::PFCandidateCollection > | srcPFCandidatesToken_ |
double | unclEnUncertainty_ |
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 PFCandidates which are (are not) within jets of Pt > 10 GeV by jet energy uncertainty (by 10% "unclustered" energy uncertainty)
NOTE: Auxiliary class specific to estimating systematic uncertainty on PFMET reconstructed by no-PU MET reconstruction algorithm (implemented in JetMETCorrections/Type1MET/src/PFNoPUMETProducer.cc)
In case all PFCandidates not within jets of Pt > 30 GeV would be varied by the 10% "unclustered" energy uncertainty, the systematic uncertainty on the reconstructed no-PU MET would be overestimated significantly !!
Definition at line 40 of file ShiftedPFCandidateProducerForPFNoPUMEt.cc.
|
explicit |
Definition at line 72 of file ShiftedPFCandidateProducerForPFNoPUMEt.cc.
References DeDxTools::esConsumes(), edm::ParameterSet::exists(), edm::FileInPath::fullPath(), edm::ParameterSet::getParameter(), jecUncertainty_, jecValidFileName_, jetCorrInputFileName_, jetCorrParameters_, jetCorrPayloadName_, jetCorrPayloadToken_, jetCorrUncertaintyTag_, edm::FileInPath::location(), minJetPt_, shiftBy_, AlCaHLTBitMon_QueryRunRegistry::string, unclEnUncertainty_, and edm::FileInPath::Unknown.
|
overrideprivate |
Definition at line 105 of file ShiftedPFCandidateProducerForPFNoPUMEt.cc.
References reco::deltaR2(), reco::LeafCandidate::eta(), edm::Event::getByToken(), edm::EventSetup::getData(), jecUncertainty_, metsig::jet, jetCorrPayloadName_, jetCorrPayloadToken_, jetCorrUncertaintyTag_, fwrapper::jets, minJetPt_, eostools::move(), reco::LeafCandidate::pt(), edm::Event::put(), patRefSel_refMuJets_cfi::selectedJets, reco::LeafCandidate::setP4(), edm::shift, shiftBy_, srcJetsToken_, srcPFCandidatesToken_, and unclEnUncertainty_.
|
private |
Definition at line 57 of file ShiftedPFCandidateProducerForPFNoPUMEt.cc.
Referenced by produce(), and ShiftedPFCandidateProducerForPFNoPUMEt().
|
private |
Definition at line 59 of file ShiftedPFCandidateProducerForPFNoPUMEt.cc.
Referenced by ShiftedPFCandidateProducerForPFNoPUMEt().
|
private |
Definition at line 52 of file ShiftedPFCandidateProducerForPFNoPUMEt.cc.
Referenced by ShiftedPFCandidateProducerForPFNoPUMEt().
|
private |
Definition at line 56 of file ShiftedPFCandidateProducerForPFNoPUMEt.cc.
Referenced by ShiftedPFCandidateProducerForPFNoPUMEt().
|
private |
Definition at line 53 of file ShiftedPFCandidateProducerForPFNoPUMEt.cc.
Referenced by produce(), and ShiftedPFCandidateProducerForPFNoPUMEt().
|
private |
Definition at line 54 of file ShiftedPFCandidateProducerForPFNoPUMEt.cc.
Referenced by produce(), and ShiftedPFCandidateProducerForPFNoPUMEt().
|
private |
Definition at line 55 of file ShiftedPFCandidateProducerForPFNoPUMEt.cc.
Referenced by produce(), and ShiftedPFCandidateProducerForPFNoPUMEt().
|
private |
Definition at line 61 of file ShiftedPFCandidateProducerForPFNoPUMEt.cc.
Referenced by produce(), and ShiftedPFCandidateProducerForPFNoPUMEt().
|
private |
Definition at line 47 of file ShiftedPFCandidateProducerForPFNoPUMEt.cc.
Referenced by ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Modules.SwitchProducer::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), and Modules.ESProducer::nameInProcessDesc_().
|
private |
Definition at line 63 of file ShiftedPFCandidateProducerForPFNoPUMEt.cc.
Referenced by produce(), and ShiftedPFCandidateProducerForPFNoPUMEt().
|
private |
Definition at line 50 of file ShiftedPFCandidateProducerForPFNoPUMEt.cc.
Referenced by produce().
|
private |
Definition at line 49 of file ShiftedPFCandidateProducerForPFNoPUMEt.cc.
Referenced by produce().
|
private |
Definition at line 65 of file ShiftedPFCandidateProducerForPFNoPUMEt.cc.
Referenced by produce(), and ShiftedPFCandidateProducerForPFNoPUMEt().