Public Member Functions | |
OneMETShift () | |
OneMETShift (pat::MET::METUncertainty shift_, pat::MET::METUncertaintyLevel level_, const edm::InputTag &baseTag, edm::ConsumesCollector &&cc) | |
void | readAndSet (const edm::Event &ev, pat::MET &met) |
Public Attributes | |
pat::MET::METUncertaintyLevel | level |
pat::MET::METUncertainty | shift |
edm::EDGetTokenT < pat::METCollection > | token |
Definition at line 27 of file PATMETSlimmer.cc.
|
inline |
Definition at line 28 of file PATMETSlimmer.cc.
pat::PATMETSlimmer::OneMETShift::OneMETShift | ( | pat::MET::METUncertainty | shift_, |
pat::MET::METUncertaintyLevel | level_, | ||
const edm::InputTag & | baseTag, | ||
edm::ConsumesCollector && | cc | ||
) |
Definition at line 72 of file PATMETSlimmer.cc.
References pat::MET::ElectronEnDown, pat::MET::ElectronEnUp, edm::InputTag::encode(), edm::hlt::Exception, pat::MET::JetEnDown, pat::MET::JetEnUp, pat::MET::JetResDown, pat::MET::JetResUp, pat::MET::MuonEnDown, pat::MET::MuonEnUp, shift, AlCaHLTBitMon_QueryRunRegistry::string, pat::MET::TauEnDown, pat::MET::TauEnUp, token, pat::MET::UnclusteredEnDown, and pat::MET::UnclusteredEnUp.
void pat::PATMETSlimmer::OneMETShift::readAndSet | ( | const edm::Event & | ev, |
pat::MET & | met | ||
) |
Definition at line 114 of file PATMETSlimmer.cc.
References edm::Event::getByToken(), testEve_cfg::level, reco::LeafCandidate::px(), reco::LeafCandidate::py(), pat::MET::setShift(), edm::shift, alcazmumu_cfi::src, and reco::MET::sumEt().
pat::MET::METUncertaintyLevel pat::PATMETSlimmer::OneMETShift::level |
Definition at line 31 of file PATMETSlimmer.cc.
pat::MET::METUncertainty pat::PATMETSlimmer::OneMETShift::shift |
Definition at line 30 of file PATMETSlimmer.cc.
Referenced by OneMETShift().
edm::EDGetTokenT<pat::METCollection> pat::PATMETSlimmer::OneMETShift::token |
Definition at line 32 of file PATMETSlimmer.cc.
Referenced by OneMETShift().