Public Member Functions | |
OneMETShift () | |
OneMETShift (pat::MET::METUncertainty shift_, pat::MET::METCorrectionType level_, const edm::InputTag &baseTag, edm::ConsumesCollector &&cc, bool t0FromMiniAOD_, bool corShift_, bool uncShift_, bool isSmeared_=false) | |
void | readAndSet (const edm::Event &ev, pat::MET &met) |
Public Attributes | |
bool | corShift |
bool | isSmeared |
pat::MET::METCorrectionType | level |
pat::MET::METUncertainty | shift |
bool | t0FromMiniAOD |
edm::EDGetTokenT < pat::METCollection > | token |
bool | uncShift |
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::METCorrectionType | level_, | ||
const edm::InputTag & | baseTag, | ||
edm::ConsumesCollector && | cc, | ||
bool | t0FromMiniAOD_, | ||
bool | corShift_, | ||
bool | uncShift_, | ||
bool | isSmeared_ = false |
||
) |
Definition at line 108 of file PATMETSlimmer.cc.
References pat::MET::ElectronEnDown, pat::MET::ElectronEnUp, edm::InputTag::encode(), edm::hlt::Exception, HLT_25ns14e33_v1_cff::InputTag, pat::MET::JetEnDown, pat::MET::JetEnUp, pat::MET::JetResDown, pat::MET::JetResUp, pat::MET::MuonEnDown, pat::MET::MuonEnUp, pat::MET::NoShift, 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 156 of file PATMETSlimmer.cc.
References pat::MET::corPx(), pat::MET::corPy(), pat::MET::corSumEt(), edm::Event::getByToken(), testEve_cfg::level, reco::LeafCandidate::px(), reco::LeafCandidate::py(), pat::MET::setCorShift(), pat::MET::setUncShift(), edm::shift, pat::MET::shiftedPx(), pat::MET::shiftedPy(), pat::MET::shiftedSumEt(), alcazmumu_cfi::src, reco::MET::sumEt(), and pat::MET::Type01.
bool pat::PATMETSlimmer::OneMETShift::corShift |
Definition at line 35 of file PATMETSlimmer.cc.
bool pat::PATMETSlimmer::OneMETShift::isSmeared |
Definition at line 37 of file PATMETSlimmer.cc.
pat::MET::METCorrectionType pat::PATMETSlimmer::OneMETShift::level |
Definition at line 32 of file PATMETSlimmer.cc.
pat::MET::METUncertainty pat::PATMETSlimmer::OneMETShift::shift |
Definition at line 31 of file PATMETSlimmer.cc.
Referenced by OneMETShift().
bool pat::PATMETSlimmer::OneMETShift::t0FromMiniAOD |
Definition at line 34 of file PATMETSlimmer.cc.
edm::EDGetTokenT<pat::METCollection> pat::PATMETSlimmer::OneMETShift::token |
Definition at line 33 of file PATMETSlimmer.cc.
Referenced by OneMETShift().
bool pat::PATMETSlimmer::OneMETShift::uncShift |
Definition at line 36 of file PATMETSlimmer.cc.