#include <AddCorrectionsToGenericMET.h>
Public Member Functions | |
AddCorrectionsToGenericMET () | |
reco::CaloMET | getCorrectedCaloMET (const reco::CaloMET &srcMET, edm::Event &evt) |
reco::MET | getCorrectedMET (const reco::MET &srcMET, edm::Event &evt) |
reco::PFMET | getCorrectedPFMET (const reco::PFMET &srcMET, edm::Event &evt) |
void | setCorTokens (std::vector< edm::EDGetTokenT< CorrMETData > > const &corrTokens) |
~AddCorrectionsToGenericMET () | |
Private Member Functions | |
reco::Candidate::LorentzVector | constructP4From (const reco::MET &met, const CorrMETData &correction) |
CorrMETData | getCorrection (const reco::MET &srcMET, edm::Event &evt) |
Private Attributes | |
std::vector< edm::EDGetTokenT< CorrMETData > > | corrTokens_ |
generic class for MET corrections
Definition at line 27 of file AddCorrectionsToGenericMET.h.
|
inline |
Definition at line 29 of file AddCorrectionsToGenericMET.h.
|
inline |
Definition at line 30 of file AddCorrectionsToGenericMET.h.
|
private |
Definition at line 7 of file AddCorrectionsToGenericMET.cc.
References pfMETCorrectionType0_cfi::correction, BTaggingMonitor_cfi::met, DiDispStaMuonMonitor_cfi::pt, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, and mathSSE::sqrt().
Referenced by getCorrectedCaloMET(), getCorrectedMET(), and getCorrectedPFMET().
reco::CaloMET AddCorrectionsToGenericMET::getCorrectedCaloMET | ( | const reco::CaloMET & | srcMET, |
edm::Event & | evt | ||
) |
Definition at line 47 of file AddCorrectionsToGenericMET.cc.
References constructP4From(), alignCSCRings::corr, getCorrection(), and correctionTermsCaloMet_cff::srcMET.
Referenced by CorrectedCaloMETProducer::produce().
reco::MET AddCorrectionsToGenericMET::getCorrectedMET | ( | const reco::MET & | srcMET, |
edm::Event & | evt | ||
) |
Definition at line 28 of file AddCorrectionsToGenericMET.cc.
References constructP4From(), alignCSCRings::corr, getCorrection(), and correctionTermsCaloMet_cff::srcMET.
Referenced by CorrectedPATMETProducer::produce(), CorrectedPatMETProducer::produce(), and runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::toolCode().
reco::PFMET AddCorrectionsToGenericMET::getCorrectedPFMET | ( | const reco::PFMET & | srcMET, |
edm::Event & | evt | ||
) |
Definition at line 36 of file AddCorrectionsToGenericMET.cc.
References constructP4From(), alignCSCRings::corr, getCorrection(), and correctionTermsCaloMet_cff::srcMET.
Referenced by CorrectedPFMETProducer::produce(), and CorrectedPatMETProducer::produce().
|
private |
Definition at line 15 of file AddCorrectionsToGenericMET.cc.
References alignCSCRings::corr, corrTokens_, edm::Event::getByToken(), and trackerHitRTTI::vector.
Referenced by JetReCalibrator.JetReCalibrator::correct(), getCorrectedCaloMET(), getCorrectedMET(), and getCorrectedPFMET().
void AddCorrectionsToGenericMET::setCorTokens | ( | std::vector< edm::EDGetTokenT< CorrMETData > > const & | corrTokens | ) |
Definition at line 3 of file AddCorrectionsToGenericMET.cc.
References corrTokens_.
Referenced by CorrectedCaloMETProducer::CorrectedCaloMETProducer(), CorrectedPatMETProducer::CorrectedPatMETProducer(), CorrectedPATMETProducer::CorrectedPATMETProducer(), and CorrectedPFMETProducer::CorrectedPFMETProducer().
|
private |
Definition at line 41 of file AddCorrectionsToGenericMET.h.
Referenced by getCorrection(), and setCorTokens().