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 15 of file CorrMETData.h.

Constructor & Destructor Documentation

CorrMETData::CorrMETData ( )
inline

Definition at line 24 of file CorrMETData.h.

24 : mex(0.0), mey(0.0), sumet(0.0), significance(0.0) { }
double significance
Definition: CorrMETData.h:22
double sumet
Definition: CorrMETData.h:21
double mey
Definition: CorrMETData.h:19
double mex
Definition: CorrMETData.h:18
CorrMETData::CorrMETData ( const CorrMETData corr)
inline

Definition at line 26 of file CorrMETData.h.

26 : mex(corr.mex), mey(corr.mey), sumet(corr.sumet), significance(corr.significance) { }
double significance
Definition: CorrMETData.h:22
double sumet
Definition: CorrMETData.h:21
double mey
Definition: CorrMETData.h:19
double mex
Definition: CorrMETData.h:18

Member Function Documentation

CorrMETData& CorrMETData::operator*= ( const double &  rhs)
inline

Definition at line 37 of file CorrMETData.h.

References mex, mey, significance, and sumet.

38  {
39  mex *= rhs;
40  mey *= rhs;
41  sumet *= rhs;
42  significance *= rhs;
43  return *this;
44  }
double significance
Definition: CorrMETData.h:22
double sumet
Definition: CorrMETData.h:21
double mey
Definition: CorrMETData.h:19
double mex
Definition: CorrMETData.h:18
CorrMETData& CorrMETData::operator+= ( const CorrMETData rhs)
inline

Definition at line 28 of file CorrMETData.h.

References mex, mey, significance, and sumet.

29  {
30  mex += rhs.mex;
31  mey += rhs.mey;
32  sumet += rhs.sumet;
34  return *this;
35  }
double significance
Definition: CorrMETData.h:22
double sumet
Definition: CorrMETData.h:21
double mey
Definition: CorrMETData.h:19
double mex
Definition: CorrMETData.h:18

Friends And Related Function Documentation

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

Definition at line 51 of file CorrMETData.h.

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

Definition at line 56 of file CorrMETData.h.

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

Definition at line 46 of file CorrMETData.h.

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

Member Data Documentation

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

Definition at line 22 of file CorrMETData.h.

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

double CorrMETData::sumet