00001 #ifndef L2GBLINVMASS_H_ 00002 #define L2GBLINVMASS_H_ 00003 00005 // 00006 // Purpose: This is the header file that defines a class to help fill the 00007 // tuple correctly with L2 global invariant mass. 00008 // 00009 // Author: Yann Coadou 00010 // Date: 19-Apr-2004 00011 // 00013 00014 00015 #include "TObject.h" 00016 00021 class TMBL2GblInvMass : public TObject { 00022 public: 00023 TMBL2GblInvMass(); //constructor 00024 TMBL2GblInvMass(const TMBL2GblInvMass&); //copy constructor 00025 00026 ~TMBL2GblInvMass() {;} //destructor 00027 00028 // setters 00029 void ObjectID(int x) {objectid = x;} 00030 void BaseObjects(int i,int x) {baseobjects[i] = x;} 00031 void Mass (float x) {mass = x;} 00032 00033 // accessors 00034 int ObjectID() const {return objectid;} 00035 int BaseObjects(int i) const {return baseobjects[i];} 00036 float Mass() const {return mass;} 00037 00038 private: 00039 int objectid; 00040 int baseobjects[6]; 00041 float mass; 00042 00043 ClassDef(TMBL2GblInvMass,1) 00044 00045 }; //end of class TMBL2GblInvMass 00046 #endif // L2GBLINVMASS_H_
1.3.4