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 26 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 147 of file PATMETSlimmer.cc.
References pat::MET::ElectronEnDown, pat::MET::ElectronEnUp, edm::InputTag::encode(), Exception, HLT_2022v12_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 236 of file PATMETSlimmer.cc.
References pat::MET::corPx(), pat::MET::corPy(), pat::MET::corSumEt(), makeMEIFBenchmarkPlots::ev, personalPlayback::level, BTaggingMonitor_cfi::met, reco::LeafCandidate::px(), reco::LeafCandidate::py(), edm::shift, pat::MET::shiftedPx(), pat::MET::shiftedPy(), pat::MET::shiftedSumEt(), TrackRefitter_38T_cff::src, reco::MET::sumEt(), unpackBuffers-CaloStage2::token, and pat::MET::Type01.
|
private |
Definition at line 50 of file PATMETSlimmer.cc.
|
private |
Definition at line 52 of file PATMETSlimmer.cc.
|
private |
Definition at line 47 of file PATMETSlimmer.cc.
|
private |
Definition at line 46 of file PATMETSlimmer.cc.
Referenced by OneMETShift().
|
private |
Definition at line 49 of file PATMETSlimmer.cc.
|
private |
Definition at line 48 of file PATMETSlimmer.cc.
Referenced by OneMETShift().
|
private |
Definition at line 51 of file PATMETSlimmer.cc.