CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
CorrectedMETProducer_namespace::CorrectedMETFactoryT< pat::MET > Class Template Reference

Public Member Functions

pat::MET operator() (const pat::MET &rawMEt, const CorrMETData &correction) const
 

Detailed Description

template<>
class CorrectedMETProducer_namespace::CorrectedMETFactoryT< pat::MET >

Definition at line 25 of file CorrectedPATMETProducer.cc.

Member Function Documentation

pat::MET CorrectedMETProducer_namespace::CorrectedMETFactoryT< pat::MET >::operator() ( const pat::MET rawMEt,
const CorrMETData correction 
) const
inline

Definition at line 29 of file CorrectedPATMETProducer.cc.

References CorrectedMETProducer_namespace::correctedP4(), and reco::LeafCandidate::setP4().

30  {
31  pat::MET correctedMEt(rawMEt);
32  // CV: cannot set sumEt data-member to corrected value
33  correctedMEt.setP4(correctedP4(rawMEt, correction));
34  return correctedMEt;
35  }
Analysis-level MET class.
Definition: MET.h:42
reco::Candidate::LorentzVector correctedP4(const T &rawMEt, const CorrMETData &correction)