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)
 
CorrMETDataoperator= (const CorrMETData &)=default
 

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

References mex, mey, and sumet.

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

References mex, mey, and sumet.

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

◆ operator=()

CorrMETData& CorrMETData::operator= ( const CorrMETData )
default

Friends And Related Function Documentation

◆ operator* [1/2]

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

Definition at line 42 of file CorrMETData.h.

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

◆ operator* [2/2]

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

Definition at line 44 of file CorrMETData.h.

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

◆ operator+

CorrMETData operator+ ( const CorrMETData lhs,
const CorrMETData rhs 
)
friend

Definition at line 40 of file CorrMETData.h.

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

Member Data Documentation

◆ mex

double CorrMETData::mex

◆ mey

double CorrMETData::mey

◆ sumet

double CorrMETData::sumet