00001 00002 // 00003 // Purpose: This is the header file that defines a class to help fill the 00004 // tuple correctly with TMBL3 MEt and Ht. 00005 // 00006 // Author: Joshua M. Dyer 00007 // Date: 24-Apr-2003 00008 // Modified: Yann Coadou, 27 March 2004 00009 // Renamed variables, inherits from TMBL3Base 00010 // Added missing variable 00011 // YC, 19 July 2004 00012 // Doesn't inherit from TMBL3Base anymore 00013 // 00015 00016 #ifndef TMBL3MET_H_ 00017 #define TMBL3MET_H_ 00018 00019 #include "TObject.h" 00020 #include <string> 00021 00026 class TMBL3MEt : public TObject{ 00027 public: 00028 TMBL3MEt(); //constructor 00029 TMBL3MEt(const TMBL3MEt&); //copy constructor 00030 00031 ~TMBL3MEt() {;} //destructor 00032 00033 // setters 00034 void MEt (float x) {met = x;} 00035 void MEx (float x) {mex = x;} 00036 void MEy (float x) {mey = x;} 00037 void ScalarEt (float x) {scalaret = x;} 00038 void MEtSignif (float x) {metsignif = x;} 00039 void AlgFlag (int x) {algflag = x;} 00040 void Phi(float x) {phi = x;} 00041 void ToolName(const std::string &x) {toolname = x;} 00042 00043 // accessors 00044 float MEt() const {return met;} 00045 float MEx() const {return mex;} 00046 float MEy() const {return mey;} 00047 float ScalarEt() const {return scalaret;} 00048 float MEtSignif() const {return metsignif;} 00049 int AlgFlag() const {return algflag;} 00050 float Phi() const {return phi;} 00051 std::string ToolName() const {return toolname;} 00052 00053 private: 00054 float met; 00055 float mex; 00056 float mey; 00057 float scalaret; 00058 float metsignif; 00059 int algflag; 00060 float phi; 00061 std::string toolname; 00062 00063 ClassDef(TMBL3MEt,1) 00064 00065 }; //end of class TMBL3MEt 00066 #endif // TMBL3MET_H_
1.3.4