00001 /* @version $Revision: 1328 $ * @modifiedby $Author: jacquem $ * @lastmodified $Date: 2011-10-03 17:04:17 +0200 (Mon, 03 Oct 2011) $ */ 00002 00003 00004 #include "slowControl/BoardSlowControl.hh" 00005 00006 #include <iostream> 00007 #include <fstream> 00008 #include <iomanip> 00009 00010 using namespace std; 00011 ////////////////////////////////////////////////////////////////////////// 00012 // Slow Control for board 00013 00014 BoardSlowControl::~BoardSlowControl() 00015 { 00016 00017 } 00018 00019 /*---------------------------------------------------*/ 00020 BoardSlowControl::BoardSlowControl(const BoardSlowControl& aSc) 00021 { 00022 (*this) = aSc; // appel operator= 00023 } 00024 00025 /*---------------------------------------------------*/ 00026 BoardSlowControl& BoardSlowControl::operator=(const BoardSlowControl& aSc) 00027 { 00028 name = aSc.name; 00029 chamberId = aSc.chamberId; 00030 difId = aSc.difId; 00031 boardId = aSc.boardId; 00032 drift = aSc.drift; 00033 mesh = aSc.mesh; 00034 } 00035 00036 00037 /*---------------------------------------------------*/ 00038 void BoardSlowControl::setParams(const MeshParams_t& aMesh, const DriftParams_t& aDrift) 00039 { 00040 mesh = aMesh; 00041 drift = aDrift; 00042 00043 // cout << "chamber["<< chamberId << "] dif[" << difId << "], board[" << boardId << "] mesh.voltage[" << mesh.voltage <<"]" << endl; 00044 00045 } 00046