00001 #ifndef ROOT_MTHardroc1Chip 00002 #define ROOT_MTHardroc1Chip 00003 00004 #include "root/MTChip.hh" 00005 class Hardroc1Chip; 00006 00007 //////////////////////////////////////////////////////////////////////////////////////// 00008 /// CLASS MTHARDROC1CHIP(containing dirac chip configuration) 00009 /////////////////////////////////////////////////////////////////////////////////////// 00010 class MTHardroc1Chip : public MTChip { 00011 00012 public: 00013 MTHardroc1Chip(UInt_t id = 0); 00014 MTHardroc1Chip(const Hardroc1Chip& aChip); 00015 ~MTHardroc1Chip(); 00016 MTHardroc1Chip& operator=(const Hardroc1Chip& aChip); 00017 00018 private: 00019 00020 // equivalent informations are stored in Chip class 00021 UInt_t thresholdDac_0; 00022 UInt_t thresholdDac_1; 00023 00024 00025 public: 00026 00027 UInt_t GetThresholdDac_0() const { return thresholdDac_0;}; 00028 UInt_t GetThresholdDac_1() const { return thresholdDac_1;}; 00029 00030 void SetThresholdDac_0(UInt_t value) { thresholdDac_0 = value;}; 00031 void SetThresholdDac_1(UInt_t value) { thresholdDac_1 = value;}; 00032 00033 00034 void Info(void) const; 00035 ClassDef(MTHardroc1Chip, 34) //MTChip structure 00036 }; 00037 00038 00039 #endif