00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef StMtdTriggerDetector_hh
00018 #define StMtdTriggerDetector_hh
00019 #include "StObject.h"
00020 #include "StEnumerations.h"
00021
00022 class StTriggerData;
00023
00024 class StMtdTriggerDetector : public StObject {
00025 public:
00026 StMtdTriggerDetector();
00027 StMtdTriggerDetector(const StTriggerData&);
00028 virtual ~StMtdTriggerDetector();
00029
00030 unsigned int numberOfMtdCounters() const;
00031 unsigned short adc(StBeamDirection eastwest, unsigned int pmt) const;
00032 unsigned short tdc(StBeamDirection eastwest, unsigned int pmt) const;
00033
00034 void setAdc(StBeamDirection eastwest, unsigned int pmt, unsigned short v);
00035 void setTdc(StBeamDirection eastwest, unsigned int pmt, unsigned short v);
00036
00037 protected:
00038 enum {mMaxMtdCounter=8};
00039 unsigned short mADC[2][mMaxMtdCounter];
00040 unsigned short mTDC[2][mMaxMtdCounter];
00041
00042 ClassDef(StMtdTriggerDetector,1)
00043 };
00044 #endif