00001
00006 #ifndef StMuEmcHit__h
00007 #define StMuEmcHit__h
00008
00009 #include "TObject.h"
00010
00011 class StMuEmcHit: public TObject
00012 {
00013 public:
00014 StMuEmcHit();
00015 StMuEmcHit(const StMuEmcHit&);
00016 virtual ~StMuEmcHit();
00017
00018 int getId() const { return (int)mId; }
00019 int getAdc() const { return (int)mAdc; }
00020 int getCalType() const { return (int)mCalType; }
00021 float getEnergy() const { return mEnergy; }
00022
00023 void setId(int id) { mId = (short)id;}
00024 void setAdc(int a) { mAdc = (short)a;}
00025 void setCalType(int a) { mCalType = (char)a;}
00026 void setEnergy(float e){ mEnergy = e;}
00027
00028 protected:
00029 float mEnergy;
00030 short mId;
00031 short mAdc;
00032 char mCalType;
00033
00034 ClassDef(StMuEmcHit,2)
00035 };
00036 #endif