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) const |
Private Attributes | |
const bool | corShift |
const bool | isSmeared |
const pat::MET::METCorrectionType | level |
const pat::MET::METUncertainty | shift |
const bool | t0FromMiniAOD |
edm::EDGetTokenT < pat::METCollection > | token |
const bool | uncShift |
Definition at line 27 of file PATMETSlimmer.cc.
|
inline |
Definition at line 29 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 109 of file PATMETSlimmer.cc.
References pat::MET::ElectronEnDown, pat::MET::ElectronEnUp, edm::InputTag::encode(), Exception, HLT_25ns10e33_v2_cff::InputTag, pat::MET::JetEnDown, pat::MET::JetEnUp, pat::MET::JetResDown, pat::MET::JetResUp, pat::MET::MuonEnDown, pat::MET::MuonEnUp, pat::MET::NoShift, pat::MET::PhotonEnDown, pat::MET::PhotonEnUp, 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 | ||
) | const |
Definition at line 160 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(), unpackBuffers-CaloStage2::token, and pat::MET::Type01.
|
private |
Definition at line 38 of file PATMETSlimmer.cc.
|
private |
Definition at line 40 of file PATMETSlimmer.cc.
|
private |
Definition at line 35 of file PATMETSlimmer.cc.
|
private |
Definition at line 34 of file PATMETSlimmer.cc.
Referenced by OneMETShift().
|
private |
Definition at line 37 of file PATMETSlimmer.cc.
|
private |
Definition at line 36 of file PATMETSlimmer.cc.
Referenced by OneMETShift().
|
private |
Definition at line 39 of file PATMETSlimmer.cc.