00001 /* @version $Revision: 1328 $ * @modifiedby $Author: jacquem $ * @lastmodified $Date: 2011-10-03 17:04:17 +0200 (Mon, 03 Oct 2011) $ */ 00002 #ifndef BOARDSLOWCONTROL_HH 00003 #define BOARDSLOWCONTROL_HH 00004 00005 #include "mTypes.h" 00006 #include <list> 00007 #include "DriftParams_t.hh" 00008 #include "MeshParams_t.hh" 00009 00010 00011 class BoardSlowControl { 00012 friend class SlowControl; 00013 protected: 00014 std::string name; 00015 ui32 chamberId; 00016 ui32 difId; 00017 ui32 boardId; 00018 DriftParams_t drift; 00019 MeshParams_t mesh; 00020 public: 00021 BoardSlowControl(const std::string aName,const ui32 aChamberId, const ui32 aDifId, const ui32 aBoardId) 00022 : name(aName), chamberId(aChamberId) , difId(aDifId) ,boardId(aBoardId) { }; 00023 ~BoardSlowControl(); 00024 BoardSlowControl(const BoardSlowControl& aSc); 00025 BoardSlowControl& operator=(const BoardSlowControl& aSc); 00026 00027 void setParams(const MeshParams_t& aMesh, const DriftParams_t& aDrift); 00028 const DriftParams_t& getDrift() const { return drift; }; 00029 const MeshParams_t& getMesh() const {return mesh; }; 00030 }; 00031 00032 #endif