Classes | |
class | CorrectedMETFactoryT |
class | CorrectedMETFactoryT< reco::CaloMET > |
class | CorrectedMETFactoryT< reco::PFMET > |
Functions | |
template<typename T > | |
reco::Candidate::LorentzVector | correctedP4 (const T &rawMEt, const CorrMETData &correction) |
template<typename T > | |
double | correctedSumEt (const T &rawMEt, const CorrMETData &correction) |
reco::Candidate::LorentzVector CorrectedMETProducer_namespace::correctedP4 | ( | const T & | rawMEt, |
const CorrMETData & | correction | ||
) |
Definition at line 38 of file CorrectedMETProducerT.h.
References CorrMETData::mex, CorrMETData::mey, and mathSSE::sqrt().
Referenced by CorrectedMETProducer_namespace::CorrectedMETFactoryT< reco::CaloMET >::operator()(), and CorrectedMETProducer_namespace::CorrectedMETFactoryT< reco::PFMET >::operator()().
{ double correctedMEtPx = rawMEt.px() + correction.mex; double correctedMEtPy = rawMEt.py() + correction.mey; double correctedMEtPt = sqrt(correctedMEtPx*correctedMEtPx + correctedMEtPy*correctedMEtPy); return reco::Candidate::LorentzVector(correctedMEtPx, correctedMEtPy, 0., correctedMEtPt); }
double CorrectedMETProducer_namespace::correctedSumEt | ( | const T & | rawMEt, |
const CorrMETData & | correction | ||
) |
Definition at line 47 of file CorrectedMETProducerT.h.
References CorrMETData::sumet.
Referenced by CorrectedMETProducer_namespace::CorrectedMETFactoryT< reco::CaloMET >::operator()(), and CorrectedMETProducer_namespace::CorrectedMETFactoryT< reco::PFMET >::operator()().
{ return rawMEt.sumEt() + correction.sumet; }