Classes | |
struct | objectEntryType |
Public Member Functions | |
ShiftedPFCandidateProducerForPFMVAMEt (const edm::ParameterSet &) | |
~ShiftedPFCandidateProducerForPFMVAMEt () 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 | |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
double | dR2match_Object_ |
double | dR2match_PFCandidate_ |
double | dRmatch_Object_ |
double | dRmatch_PFCandidate_ |
std::string | moduleLabel_ |
std::vector< objectEntryType > | objects_ |
edm::EDGetTokenT < reco::PFCandidateCollection > | srcPFCandidatesToken_ |
edm::EDGetTokenT< CandidateView > | srcShiftedObjectsToken_ |
edm::EDGetTokenT< CandidateView > | srcUnshiftedObjectsToken_ |
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 coinciding in eta-phi with selected electrons/muons/tau-jets/jets by electron/muon/tau-jet/jet energy uncertainty.
NOTE: Auxiliary class specific to estimating systematic uncertainty on PFMET reconstructed by MVA-based algorithm (implemented in RecoMET/METPUSubtraction/src/PFMETProducerMVA.cc)
Definition at line 30 of file ShiftedPFCandidateProducerForPFMVAMEt.cc.
|
private |
Definition at line 36 of file ShiftedPFCandidateProducerForPFMVAMEt.cc.
|
explicit |
Definition at line 78 of file ShiftedPFCandidateProducerForPFMVAMEt.cc.
References dR2match_Object_, dR2match_PFCandidate_, dRmatch_Object_, dRmatch_PFCandidate_, edm::ParameterSet::exists(), and edm::ParameterSet::getParameter().
|
override |
Definition at line 92 of file ShiftedPFCandidateProducerForPFMVAMEt.cc.
|
overrideprivate |
Definition at line 96 of file ShiftedPFCandidateProducerForPFMVAMEt.cc.
References reco::deltaR2(), dR2match_Object_, dR2match_PFCandidate_, dRDefault, edm::Event::getByToken(), match(), eostools::move(), objects_, edm::Event::put(), reco::LeafCandidate::setP4(), edm::shift, mathSSE::sqrt(), srcPFCandidatesToken_, srcShiftedObjectsToken_, and srcUnshiftedObjectsToken_.
|
private |
Definition at line 50 of file ShiftedPFCandidateProducerForPFMVAMEt.cc.
Referenced by produce(), and ShiftedPFCandidateProducerForPFMVAMEt().
|
private |
Definition at line 49 of file ShiftedPFCandidateProducerForPFMVAMEt.cc.
Referenced by produce(), and ShiftedPFCandidateProducerForPFMVAMEt().
|
private |
Definition at line 47 of file ShiftedPFCandidateProducerForPFMVAMEt.cc.
Referenced by ShiftedPFCandidateProducerForPFMVAMEt().
|
private |
Definition at line 46 of file ShiftedPFCandidateProducerForPFMVAMEt.cc.
Referenced by ShiftedPFCandidateProducerForPFMVAMEt().
|
private |
Definition at line 40 of file ShiftedPFCandidateProducerForPFMVAMEt.cc.
Referenced by ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Modules.SwitchProducer::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), and Modules.ESProducer::nameInProcessDesc_().
|
private |
Definition at line 73 of file ShiftedPFCandidateProducerForPFMVAMEt.cc.
Referenced by produce().
|
private |
Definition at line 42 of file ShiftedPFCandidateProducerForPFMVAMEt.cc.
Referenced by produce().
|
private |
Definition at line 44 of file ShiftedPFCandidateProducerForPFMVAMEt.cc.
Referenced by produce().
|
private |
Definition at line 43 of file ShiftedPFCandidateProducerForPFMVAMEt.cc.
Referenced by produce().