00001 #ifndef __EMCSNGLCALIBTOWERV1_H__ 00002 #define __EMCSNGLCALIBTOWERV1_H__ 00003 00004 #include "PHObject.h" 00005 00011 class EmcSnglCalibTowerv1 : public TObject 00012 { 00013 00014 public: 00015 EmcSnglCalibTowerv1(); 00016 virtual ~EmcSnglCalibTowerv1() {} 00017 00018 short get_id() const {return id;} 00019 void set_id(const short ival) {id = ival; return;} 00020 00021 short get_type() const {return type;} 00022 void set_type(const short ival) {type = ival; return;} 00023 00024 int get_deadmap() const {return deadmap;} 00025 void set_deadmap(const int ival) {deadmap = ival; return;} 00026 00027 int get_hwkey() const {return hwkey;} 00028 void set_hwkey(const int ival) {hwkey = ival; return;} 00029 00030 int get_index() const {return index;} 00031 void set_index(const int ival) {index = ival; return;} 00032 00033 int get_swkey() const {return swkey;} 00034 void set_swkey(const int ival) {swkey = ival; return;} 00035 00036 int get_warnmap() const {return warnmap;} 00037 void set_warnmap(const int ival) {warnmap = ival; return;} 00038 00039 00040 float get_adc() const {return adc;} 00041 void set_adc(const float rval) {adc = rval; return;} 00042 00043 float get_ecal() const {return ecal;} 00044 void set_ecal(const float rval) {ecal = rval; return;} 00045 00046 float get_tac() const {return tac;} 00047 void set_tac(const float rval) {tac = rval; return;} 00048 00049 float get_tof() const {return tof;} 00050 void set_tof(const float rval) {tof = rval; return;} 00051 00052 00053 protected: 00054 short id; 00055 short type; 00056 00057 int deadmap; 00058 int hwkey; 00059 int index; 00060 int swkey; 00061 int warnmap; 00062 00063 float adc; 00064 float ecal; 00065 float tac; 00066 float tof; 00067 00068 ClassDef(EmcSnglCalibTowerv1,1) 00069 }; 00070 00071 #endif /*__EMCSNGLCALIBTOWERV1_H__*/