CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
BaseMETv0 Class Reference

#include <BaseMET.h>

Inheritance diagram for BaseMETv0:
METv0 TowerMETv0

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.

11 {
12  clearMET();
13 }
void clearMET()
Definition: BaseMET.cc:15

Member Function Documentation

void BaseMETv0::clearMET ( )

Definition at line 15 of file BaseMET.cc.

References runTheMatrix::data.

Referenced by TowerMETv0::clearMET().

16 {
17  //data.label[0] = '\0';
18  data.met = 0.0;
19  data.mex = 0.0;
20  data.mey = 0.0;
21  data.mez = 0.0;
22  data.sumet = 0.0;
23  data.phi = 0.0;
24 }
CommonMETv0Data data
Definition: BaseMET.h:46
std::vector<CommonMETv0Data> BaseMETv0::getAllCorr ( ) const
inline

Definition at line 42 of file BaseMET.h.

References corr.

42 {return corr;}
std::vector< CommonMETv0Data > corr
Definition: BaseMET.h:47
double BaseMETv0::MET ( ) const
inline

Definition at line 36 of file BaseMET.h.

References data, and CommonMETv0Data::met.

Referenced by setMET().

36 { return data.met; }
CommonMETv0Data data
Definition: BaseMET.h:46
double BaseMETv0::MEx ( ) const
inline

Definition at line 37 of file BaseMET.h.

References data, and CommonMETv0Data::mex.

Referenced by setMEx().

37 { return data.mex; }
CommonMETv0Data data
Definition: BaseMET.h:46
double BaseMETv0::MEy ( ) const
inline

Definition at line 38 of file BaseMET.h.

References data, and CommonMETv0Data::mey.

Referenced by setMEy().

38 { return data.mey; }
CommonMETv0Data data
Definition: BaseMET.h:46
double BaseMETv0::MEz ( ) const
inline

Definition at line 39 of file BaseMET.h.

References data, and CommonMETv0Data::mez.

Referenced by setMEz().

39 { return data.mez; }
CommonMETv0Data data
Definition: BaseMET.h:46
double BaseMETv0::phi ( ) const
inline

Definition at line 41 of file BaseMET.h.

References data, and CommonMETv0Data::phi.

41 { return data.phi; }
CommonMETv0Data data
Definition: BaseMET.h:46
void BaseMETv0::pushDelta ( )
inline

Definition at line 33 of file BaseMET.h.

References corr, and data.

33 { corr.push_back( data ); }
CommonMETv0Data data
Definition: BaseMET.h:46
std::vector< CommonMETv0Data > corr
Definition: BaseMET.h:47
void BaseMETv0::setMET ( double  MET)
inline

Definition at line 27 of file BaseMET.h.

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

27 { data.met = MET; } //derived quantity
CommonMETv0Data data
Definition: BaseMET.h:46
double MET() const
Definition: BaseMET.h:36
void BaseMETv0::setMEx ( double  MEx)
inline

Definition at line 28 of file BaseMET.h.

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

28 { data.mex = MEx; }
CommonMETv0Data data
Definition: BaseMET.h:46
double MEx() const
Definition: BaseMET.h:37
void BaseMETv0::setMEy ( double  MEy)
inline

Definition at line 29 of file BaseMET.h.

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

29 { data.mey = MEy; }
CommonMETv0Data data
Definition: BaseMET.h:46
double MEy() const
Definition: BaseMET.h:38
void BaseMETv0::setMEz ( double  MEz)
inline

Definition at line 30 of file BaseMET.h.

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

30 { data.mez = MEz; }
CommonMETv0Data data
Definition: BaseMET.h:46
double MEz() const
Definition: BaseMET.h:39
void BaseMETv0::setPhi ( double  Phi)
inline

Definition at line 32 of file BaseMET.h.

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

32 { data.phi = Phi; } //derived quantity
CommonMETv0Data data
Definition: BaseMET.h:46
void BaseMETv0::setSumET ( double  SumET)
inline

Definition at line 31 of file BaseMET.h.

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

31 { data.sumet = SumET; }
CommonMETv0Data data
Definition: BaseMET.h:46
double SumET() const
Definition: BaseMET.h:40
double BaseMETv0::SumET ( ) const
inline

Definition at line 40 of file BaseMET.h.

References data, and CommonMETv0Data::sumet.

Referenced by setSumET().

40 { return data.sumet; }
CommonMETv0Data data
Definition: BaseMET.h:46

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