BoardSlowControl Class Reference

#include <BoardSlowControl.hh>

Collaboration diagram for BoardSlowControl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BoardSlowControl (const std::string aName, const ui32 aChamberId, const ui32 aDifId, const ui32 aBoardId)
 ~BoardSlowControl ()
 BoardSlowControl (const BoardSlowControl &aSc)
BoardSlowControloperator= (const BoardSlowControl &aSc)
void setParams (const MeshParams_t &aMesh, const DriftParams_t &aDrift)
const DriftParams_tgetDrift () const
const MeshParams_tgetMesh () const

Protected Attributes

std::string name
ui32 chamberId
ui32 difId
ui32 boardId
DriftParams_t drift
MeshParams_t mesh

Friends

class SlowControl

Detailed Description

Definition at line 11 of file BoardSlowControl.hh.


Constructor & Destructor Documentation

BoardSlowControl::BoardSlowControl ( const std::string  aName,
const ui32  aChamberId,
const ui32  aDifId,
const ui32  aBoardId 
) [inline]

Definition at line 21 of file BoardSlowControl.hh.

00022       : name(aName), chamberId(aChamberId) , difId(aDifId) ,boardId(aBoardId)  { };

BoardSlowControl::~BoardSlowControl (  ) 

Definition at line 14 of file BoardSlowControl.cpp.

00015 {
00016   
00017 }

BoardSlowControl::BoardSlowControl ( const BoardSlowControl aSc  ) 

Definition at line 20 of file BoardSlowControl.cpp.

00021 {
00022    (*this) = aSc; // appel operator=
00023 }


Member Function Documentation

BoardSlowControl & BoardSlowControl::operator= ( const BoardSlowControl aSc  ) 

Definition at line 26 of file BoardSlowControl.cpp.

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 }

void BoardSlowControl::setParams ( const MeshParams_t aMesh,
const DriftParams_t aDrift 
)

Definition at line 38 of file BoardSlowControl.cpp.

00039 {
00040     mesh = aMesh;
00041     drift = aDrift;
00042 
00043 //    cout << "chamber["<< chamberId << "] dif[" << difId << "], board[" << boardId << "]  mesh.voltage[" << mesh.voltage <<"]" <<  endl;
00044 
00045 }

const DriftParams_t& BoardSlowControl::getDrift (  )  const [inline]

Definition at line 28 of file BoardSlowControl.hh.

Referenced by Event::getBoardDriftVolt(), and MTEvent::operator=().

00028 { return drift; };

const MeshParams_t& BoardSlowControl::getMesh (  )  const [inline]

Definition at line 29 of file BoardSlowControl.hh.

Referenced by Event::getBoardMeshVolt(), and MTEvent::operator=().

00029 {return mesh; };


Friends And Related Function Documentation

friend class SlowControl [friend]

Definition at line 12 of file BoardSlowControl.hh.


Member Data Documentation

std::string BoardSlowControl::name [protected]

Definition at line 14 of file BoardSlowControl.hh.

Referenced by operator=().

ui32 BoardSlowControl::chamberId [protected]

Definition at line 15 of file BoardSlowControl.hh.

Referenced by operator=().

ui32 BoardSlowControl::difId [protected]

Definition at line 16 of file BoardSlowControl.hh.

Referenced by operator=().

ui32 BoardSlowControl::boardId [protected]

Definition at line 17 of file BoardSlowControl.hh.

Referenced by operator=().

DriftParams_t BoardSlowControl::drift [protected]

Definition at line 18 of file BoardSlowControl.hh.

Referenced by getDrift(), operator=(), and setParams().

MeshParams_t BoardSlowControl::mesh [protected]

Definition at line 19 of file BoardSlowControl.hh.

Referenced by getMesh(), operator=(), and setParams().


The documentation for this class was generated from the following files:
Generated on Mon Jan 7 13:17:59 2013 for MicromegasFramework by  doxygen 1.4.7