CMS 3D CMS Logo

BaseMETv0 Class Reference

#include <DataFormats/METObjects/interface/BaseMET.h>

Inheritance diagram for BaseMETv0:

METv0 TowerMETv0

List of all members.

Public Member Functions

 BaseMETv0 ()
void clearMET ()
std::vector< CommonMETv0DatagetAllCorr () const
double MET () const
double MEx () const
double MEy () const
double MEz () const
double phi () const
void pushDelta ()
void setMET (double MET)
void setMEx (double MEx)
void setMEy (double MEy)
void setMEz (double MEz)
void setPhi (double Phi)
void setSumET (double SumET)
double SumET () const

Private Attributes

std::vector< CommonMETv0Datacorr
CommonMETv0Data data


Detailed Description

Definition at line 21 of file BaseMET.h.


Constructor & Destructor Documentation

BaseMETv0::BaseMETv0 (  ) 

Definition at line 10 of file BaseMET.cc.

References clearMET().

00011 {
00012   clearMET();
00013 }


Member Function Documentation

void BaseMETv0::clearMET (  ) 

Reimplemented in TowerMETv0.

Definition at line 15 of file BaseMET.cc.

References data, CommonMETv0Data::met, CommonMETv0Data::mex, CommonMETv0Data::mey, CommonMETv0Data::mez, CommonMETv0Data::phi, and CommonMETv0Data::sumet.

Referenced by BaseMETv0(), and TowerMETv0::clearMET().

00016 {
00017   //data.label[0] = '\0';
00018   data.met   = 0.0;
00019   data.mex   = 0.0;
00020   data.mey   = 0.0;
00021   data.mez   = 0.0;
00022   data.sumet = 0.0;
00023   data.phi   = 0.0;
00024 }

std::vector<CommonMETv0Data> BaseMETv0::getAllCorr (  )  const [inline]

Definition at line 42 of file BaseMET.h.

References corr.

00042 {return corr;}

double BaseMETv0::MET (  )  const [inline]

Definition at line 36 of file BaseMET.h.

References data, and CommonMETv0Data::met.

00036 { return data.met; }

double BaseMETv0::MEx (  )  const [inline]

Definition at line 37 of file BaseMET.h.

References data, and CommonMETv0Data::mex.

00037 { return data.mex; }

double BaseMETv0::MEy (  )  const [inline]

Definition at line 38 of file BaseMET.h.

References data, and CommonMETv0Data::mey.

00038 { return data.mey; }

double BaseMETv0::MEz (  )  const [inline]

Definition at line 39 of file BaseMET.h.

References data, and CommonMETv0Data::mez.

00039 { return data.mez; }

double BaseMETv0::phi (  )  const [inline]

Definition at line 41 of file BaseMET.h.

References data, and CommonMETv0Data::phi.

00041 { return data.phi; }

void BaseMETv0::pushDelta (  )  [inline]

Definition at line 33 of file BaseMET.h.

References corr, and data.

00033 { corr.push_back( data ); }

void BaseMETv0::setMET ( double  MET  )  [inline]

Definition at line 27 of file BaseMET.h.

References data, and CommonMETv0Data::met.

00027 { data.met = MET; } //derived quantity 

void BaseMETv0::setMEx ( double  MEx  )  [inline]

Definition at line 28 of file BaseMET.h.

References data, and CommonMETv0Data::mex.

00028 { data.mex = MEx; }

void BaseMETv0::setMEy ( double  MEy  )  [inline]

Definition at line 29 of file BaseMET.h.

References data, and CommonMETv0Data::mey.

00029 { data.mey = MEy; }

void BaseMETv0::setMEz ( double  MEz  )  [inline]

Definition at line 30 of file BaseMET.h.

References data, and CommonMETv0Data::mez.

00030 { data.mez = MEz; }

void BaseMETv0::setPhi ( double  Phi  )  [inline]

Definition at line 32 of file BaseMET.h.

References data, and CommonMETv0Data::phi.

00032 { data.phi = Phi; } //derived quantity

void BaseMETv0::setSumET ( double  SumET  )  [inline]

Definition at line 31 of file BaseMET.h.

References data, and CommonMETv0Data::sumet.

00031 { data.sumet = SumET; }

double BaseMETv0::SumET (  )  const [inline]

Definition at line 40 of file BaseMET.h.

References data, and CommonMETv0Data::sumet.

00040 { return data.sumet; }


Member Data Documentation

std::vector<CommonMETv0Data> BaseMETv0::corr [private]

Definition at line 47 of file BaseMET.h.

Referenced by getAllCorr(), and pushDelta().

CommonMETv0Data BaseMETv0::data [private]

Definition at line 46 of file BaseMET.h.

Referenced by clearMET(), MET(), MEx(), MEy(), MEz(), phi(), pushDelta(), setMET(), setMEx(), setMEy(), setMEz(), setPhi(), setSumET(), and SumET().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:14:51 2009 for CMSSW by  doxygen 1.5.4