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 double &rhs)
 
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 double &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 double &  rhs)
inline

Definition at line 36 of file CorrMETData.h.

References mex, mey, significance, and sumet.

37  {
38  mex *= rhs;
39  mey *= rhs;
40  sumet *= rhs;
41  significance *= rhs;
42  return *this;
43  }
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::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 50 of file CorrMETData.h.

51  {
52  return CorrMETData(rhs) *= lhs;
53  }
CorrMETData operator* ( const CorrMETData lhs,
const double &  rhs 
)
friend

Definition at line 55 of file CorrMETData.h.

56  {
57  return CorrMETData(lhs) *= rhs;
58  }
CorrMETData operator+ ( const CorrMETData lhs,
const CorrMETData rhs 
)
friend

Definition at line 45 of file CorrMETData.h.

46  {
47  return CorrMETData(lhs) += rhs;
48  }

Member Data Documentation

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

Definition at line 21 of file CorrMETData.h.

Referenced by operator*=(), and operator+=().

double CorrMETData::sumet