CMS 3D CMS Logo

Public Member Functions | Private Attributes

BaseMETv0 Class Reference

#include <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 20 of file BaseMET.h.


Constructor & Destructor Documentation

BaseMETv0::BaseMETv0 ( )

Definition at line 10 of file BaseMET.cc.

{
  clearMET();
}

Member Function Documentation

void BaseMETv0::clearMET ( )

Reimplemented in TowerMETv0.

Definition at line 15 of file BaseMET.cc.

References data.

Referenced by TowerMETv0::clearMET().

{
  //data.label[0] = '\0';
  data.met   = 0.0;
  data.mex   = 0.0;
  data.mey   = 0.0;
  data.mez   = 0.0;
  data.sumet = 0.0;
  data.phi   = 0.0;
}
std::vector<CommonMETv0Data> BaseMETv0::getAllCorr ( ) const [inline]

Definition at line 41 of file BaseMET.h.

References corr.

{return corr;}
double BaseMETv0::MET ( ) const [inline]

Definition at line 35 of file BaseMET.h.

References data, and CommonMETv0Data::met.

Referenced by setMET().

{ return data.met; }
double BaseMETv0::MEx ( ) const [inline]

Definition at line 36 of file BaseMET.h.

References data, and CommonMETv0Data::mex.

Referenced by setMEx().

{ return data.mex; }
double BaseMETv0::MEy ( ) const [inline]

Definition at line 37 of file BaseMET.h.

References data, and CommonMETv0Data::mey.

Referenced by setMEy().

{ return data.mey; }
double BaseMETv0::MEz ( ) const [inline]

Definition at line 38 of file BaseMET.h.

References data, and CommonMETv0Data::mez.

Referenced by setMEz().

{ return data.mez; }
double BaseMETv0::phi ( ) const [inline]

Definition at line 40 of file BaseMET.h.

References data, and CommonMETv0Data::phi.

{ return data.phi; }
void BaseMETv0::pushDelta ( ) [inline]

Definition at line 32 of file BaseMET.h.

References corr, and data.

{ corr.push_back( data ); }
void BaseMETv0::setMET ( double  MET) [inline]

Definition at line 26 of file BaseMET.h.

References data, CommonMETv0Data::met, and MET().

{ data.met = MET; } //derived quantity 
void BaseMETv0::setMEx ( double  MEx) [inline]

Definition at line 27 of file BaseMET.h.

References data, MEx(), and CommonMETv0Data::mex.

{ data.mex = MEx; }
void BaseMETv0::setMEy ( double  MEy) [inline]

Definition at line 28 of file BaseMET.h.

References data, MEy(), and CommonMETv0Data::mey.

{ data.mey = MEy; }
void BaseMETv0::setMEz ( double  MEz) [inline]

Definition at line 29 of file BaseMET.h.

References data, MEz(), and CommonMETv0Data::mez.

{ data.mez = MEz; }
void BaseMETv0::setPhi ( double  Phi) [inline]

Definition at line 31 of file BaseMET.h.

References data, colinearityKinematic::Phi, and CommonMETv0Data::phi.

{ data.phi = Phi; } //derived quantity
void BaseMETv0::setSumET ( double  SumET) [inline]

Definition at line 30 of file BaseMET.h.

References data, CommonMETv0Data::sumet, and SumET().

{ data.sumet = SumET; }
double BaseMETv0::SumET ( ) const [inline]

Definition at line 39 of file BaseMET.h.

References data, and CommonMETv0Data::sumet.

Referenced by setSumET().

{ return data.sumet; }

Member Data Documentation

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

Definition at line 46 of file BaseMET.h.

Referenced by getAllCorr(), and pushDelta().

Definition at line 45 of file BaseMET.h.

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