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

22 : mex(0.0), mey(0.0), sumet(0.0) { }
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 24 of file CorrMETData.h.

24 : mex(corr.mex), mey(corr.mey), sumet(corr.sumet) { }
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 34 of file CorrMETData.h.

References mex, mey, and sumet.

35  {
36  mex *= rhs;
37  mey *= rhs;
38  sumet *= rhs;
39  return *this;
40  }
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 26 of file CorrMETData.h.

References mex, mey, and sumet.

27  {
28  mex += rhs.mex;
29  mey += rhs.mey;
30  sumet += rhs.sumet;
31  return *this;
32  }
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 47 of file CorrMETData.h.

48  {
49  return CorrMETData(rhs) *= lhs;
50  }
CorrMETData operator* ( const CorrMETData lhs,
const double &  rhs 
)
friend

Definition at line 52 of file CorrMETData.h.

53  {
54  return CorrMETData(lhs) *= rhs;
55  }
CorrMETData operator+ ( const CorrMETData lhs,
const CorrMETData rhs 
)
friend

Definition at line 42 of file CorrMETData.h.

43  {
44  return CorrMETData(lhs) += rhs;
45  }

Member Data Documentation

double CorrMETData::mex
double CorrMETData::mey
double CorrMETData::sumet