CMS 3D CMS Logo

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

20 : mex(0.0), mey(0.0), sumet(0.0) {}
double sumet
Definition: CorrMETData.h:18
double mey
Definition: CorrMETData.h:16
double mex
Definition: CorrMETData.h:15
CorrMETData::CorrMETData ( const CorrMETData corr)
inline

Definition at line 22 of file CorrMETData.h.

22 : mex(corr.mex), mey(corr.mey), sumet(corr.sumet) {}
double sumet
Definition: CorrMETData.h:18
double mey
Definition: CorrMETData.h:16
double mex
Definition: CorrMETData.h:15

Member Function Documentation

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

Definition at line 31 of file CorrMETData.h.

31  {
32  mex *= rhs;
33  mey *= rhs;
34  sumet *= rhs;
35  return *this;
36  }
double sumet
Definition: CorrMETData.h:18
double mey
Definition: CorrMETData.h:16
double mex
Definition: CorrMETData.h:15
CorrMETData& CorrMETData::operator+= ( const CorrMETData rhs)
inline

Definition at line 24 of file CorrMETData.h.

References mex, mey, and sumet.

24  {
25  mex += rhs.mex;
26  mey += rhs.mey;
27  sumet += rhs.sumet;
28  return *this;
29  }
double sumet
Definition: CorrMETData.h:18
double mey
Definition: CorrMETData.h:16
double mex
Definition: CorrMETData.h:15

Friends And Related Function Documentation

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

Definition at line 40 of file CorrMETData.h.

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

Definition at line 42 of file CorrMETData.h.

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

Definition at line 38 of file CorrMETData.h.

38 { return CorrMETData(lhs) += rhs; }

Member Data Documentation

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