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 20 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 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:45
std::vector<CommonMETv0Data> BaseMETv0::getAllCorr ( ) const
inline

Definition at line 41 of file BaseMET.h.

References corr.

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

Definition at line 35 of file BaseMET.h.

References data, and CommonMETv0Data::met.

Referenced by setMET().

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

Definition at line 36 of file BaseMET.h.

References data, and CommonMETv0Data::mex.

Referenced by setMEx().

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

Definition at line 37 of file BaseMET.h.

References data, and CommonMETv0Data::mey.

Referenced by setMEy().

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

Definition at line 38 of file BaseMET.h.

References data, and CommonMETv0Data::mez.

Referenced by setMEz().

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

Definition at line 40 of file BaseMET.h.

References data, and CommonMETv0Data::phi.

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

Definition at line 32 of file BaseMET.h.

References corr, and data.

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

Definition at line 26 of file BaseMET.h.

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

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

Definition at line 27 of file BaseMET.h.

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

27 { data.mex = MEx; }
CommonMETv0Data data
Definition: BaseMET.h:45
double MEx() const
Definition: BaseMET.h:36
void BaseMETv0::setMEy ( double  MEy)
inline

Definition at line 28 of file BaseMET.h.

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

28 { data.mey = MEy; }
CommonMETv0Data data
Definition: BaseMET.h:45
double MEy() const
Definition: BaseMET.h:37
void BaseMETv0::setMEz ( double  MEz)
inline

Definition at line 29 of file BaseMET.h.

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

29 { data.mez = MEz; }
CommonMETv0Data data
Definition: BaseMET.h:45
double MEz() const
Definition: BaseMET.h:38
void BaseMETv0::setPhi ( double  Phi)
inline

Definition at line 31 of file BaseMET.h.

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

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

Definition at line 30 of file BaseMET.h.

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

30 { data.sumet = SumET; }
CommonMETv0Data data
Definition: BaseMET.h:45
double SumET() const
Definition: BaseMET.h:39
double BaseMETv0::SumET ( ) const
inline

Definition at line 39 of file BaseMET.h.

References data, and CommonMETv0Data::sumet.

Referenced by setSumET().

39 { return data.sumet; }
CommonMETv0Data data
Definition: BaseMET.h:45

Member Data Documentation

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

Definition at line 46 of file BaseMET.h.

Referenced by getAllCorr(), and pushDelta().

CommonMETv0Data BaseMETv0::data
private