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() [1/2]

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() [2/2]

CorrMETData::CorrMETData ( const CorrMETData corr)
inline

Definition at line 22 of file CorrMETData.h.

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

Member Function Documentation

◆ operator*=()

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

Definition at line 31 of file CorrMETData.h.

References mex, mey, and sumet.

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

◆ operator+=()

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

◆ operator* [1/2]

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

Definition at line 40 of file CorrMETData.h.

40 { return CorrMETData(rhs) *= lhs; }

◆ operator* [2/2]

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

Definition at line 42 of file CorrMETData.h.

42 { return CorrMETData(lhs) *= rhs; }

◆ operator+

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

◆ mex

double CorrMETData::mex

◆ mey

double CorrMETData::mey

◆ sumet

double CorrMETData::sumet