00001 #ifndef PMSLOWCONTROL_HH 00002 #define PMSLOWCONTROL_HH 00003 00004 #include "PMParams_t.hh" 00005 #include "mTypes.h" 00006 00007 00008 class PMSlowControl { 00009 friend class SlowControl; 00010 public: 00011 std::string name; 00012 ui32 id; 00013 PMParams_t params; 00014 public: 00015 PMSlowControl(const std::string aName, const ui32 aId) 00016 : name(aName), id(aId) { }; 00017 void setParams(const PMParams_t& aVoltages) { params = aVoltages; }; 00018 PMParams_t& getParams() { return params; } ; 00019 }; 00020 00021 #endif