CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Friends
CorrMETData Class Reference

a MET correction term More...

#include <CorrMETData.h>

Public Member Functions

 CorrMETData ()
 
 CorrMETData (const CorrMETData &corr)
 
CorrMETDataoperator+= (const CorrMETData &rhs)
 

Public Attributes

double mex
 
double mey
 
double significance
 
double sumet
 

Friends

CorrMETData operator* (const double &lhs, const CorrMETData &rhs)
 
CorrMETData operator+ (const CorrMETData &lhs, const CorrMETData &rhs)
 

Detailed Description

a MET correction term

CorrMETData represents a MET correction term.

Author
Michael Schmitt, Richard Cavanaugh The University of Florida; Tai Sakuma, Texas A&M University

Definition at line 14 of file CorrMETData.h.

Constructor & Destructor Documentation

CorrMETData::CorrMETData ( )
inline

Definition at line 23 of file CorrMETData.h.

23 : mex(0.0), mey(0.0), sumet(0.0), significance(0.0) { }
double significance
Definition: CorrMETData.h:21
double sumet
Definition: CorrMETData.h:20
double mey
Definition: CorrMETData.h:18
double mex
Definition: CorrMETData.h:17
CorrMETData::CorrMETData ( const CorrMETData corr)
inline

Definition at line 25 of file CorrMETData.h.

25 : mex(corr.mex), mey(corr.mey), sumet(corr.sumet), significance(corr.significance) { }
double significance
Definition: CorrMETData.h:21
double sumet
Definition: CorrMETData.h:20
double mey
Definition: CorrMETData.h:18
double mex
Definition: CorrMETData.h:17

Member Function Documentation

CorrMETData& CorrMETData::operator+= ( const CorrMETData rhs)
inline

Definition at line 27 of file CorrMETData.h.

References mex, mey, significance, and sumet.

28  {
29  mex += rhs.mex;
30  mey += rhs.mey;
31  sumet += rhs.sumet;
33  return *this;
34  }
double significance
Definition: CorrMETData.h:21
double sumet
Definition: CorrMETData.h:20
double mey
Definition: CorrMETData.h:18
double mex
Definition: CorrMETData.h:17

Friends And Related Function Documentation

CorrMETData operator* ( const double &  lhs,
const CorrMETData rhs 
)
friend

Definition at line 43 of file CorrMETData.h.

44  {
46  ret.mex = lhs*rhs.mex;
47  ret.mey = lhs*rhs.mey;
48  ret.sumet = lhs*rhs.sumet;
49  ret.significance = lhs*rhs.significance;
50  return ret;
51  }
double significance
Definition: CorrMETData.h:21
double sumet
Definition: CorrMETData.h:20
a MET correction term
Definition: CorrMETData.h:14
double mey
Definition: CorrMETData.h:18
double mex
Definition: CorrMETData.h:17
CorrMETData operator+ ( const CorrMETData lhs,
const CorrMETData rhs 
)
friend

Definition at line 36 of file CorrMETData.h.

37  {
38  CorrMETData ret(lhs);
39  ret += rhs;
40  return ret;
41  }
a MET correction term
Definition: CorrMETData.h:14

Member Data Documentation

double CorrMETData::mex
double CorrMETData::mey
double CorrMETData::significance

Definition at line 21 of file CorrMETData.h.

Referenced by operator+=().

double CorrMETData::sumet