MTHardroc2Chip Class Reference

#include <MTHardroc2Chip.hh>

Inheritance diagram for MTHardroc2Chip:

Inheritance graph
[legend]
Collaboration diagram for MTHardroc2Chip:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MTHardroc2Chip (UInt_t id=0)
 MTHardroc2Chip (const Hardroc2Chip &aChip)
 ~MTHardroc2Chip ()
MTHardroc2Chipoperator= (const Hardroc2Chip &aChip)
UInt_t GetThresholdDac_0 () const
UInt_t GetThresholdDac_1 () const
UInt_t GetThresholdDac_2 () const
void SetThresholdDac_0 (UInt_t value)
void SetThresholdDac_1 (UInt_t value)
void SetThresholdDac_2 (UInt_t value)
void Info (void) const

Private Attributes

UInt_t thresholdDac_0
UInt_t thresholdDac_1
UInt_t thresholdDac_2

Detailed Description

CLASS MTHARDROC2CHIP(containing hardroc2 chip configuration)

Definition at line 20 of file MTHardroc2Chip.hh.


Constructor & Destructor Documentation

MTHardroc2Chip::MTHardroc2Chip ( UInt_t  id = 0  ) 

MTHardroc2Chip::MTHardroc2Chip ( const Hardroc2Chip aChip  ) 

Definition at line 22 of file MTHardroc2Chip.cpp.

00023 :MTChip(dynamic_cast<const Chip&>(aChip))
00024  {
00025    (*this) = aChip;  // appelle operator
00026  }

MTHardroc2Chip::~MTHardroc2Chip (  ) 

Definition at line 30 of file MTHardroc2Chip.cpp.

00031 {
00032 
00033 }


Member Function Documentation

MTHardroc2Chip & MTHardroc2Chip::operator= ( const Hardroc2Chip aChip  ) 

Definition at line 36 of file MTHardroc2Chip.cpp.

00037 {
00038 // FILE_LOG(logINFO) << "MTHardroc2Chip& MTHardroc2Chip::operator=(const Hardroc2Chip& aChip)" << endl;
00039    thresholdDac_0 = aChip.getThresholdDac_0();
00040    thresholdDac_1 = aChip.getThresholdDac_1();
00041    thresholdDac_2 = aChip.getThresholdDac_2();
00042 }

UInt_t MTHardroc2Chip::GetThresholdDac_0 (  )  const [inline]

Definition at line 38 of file MTHardroc2Chip.hh.

Referenced by main().

00038 { return thresholdDac_0;};

UInt_t MTHardroc2Chip::GetThresholdDac_1 (  )  const [inline]

Definition at line 39 of file MTHardroc2Chip.hh.

Referenced by main().

00039 { return thresholdDac_1;};

UInt_t MTHardroc2Chip::GetThresholdDac_2 (  )  const [inline]

Definition at line 40 of file MTHardroc2Chip.hh.

Referenced by main().

00040 { return thresholdDac_2;};

void MTHardroc2Chip::SetThresholdDac_0 ( UInt_t  value  )  [inline]

Definition at line 42 of file MTHardroc2Chip.hh.

00042 { thresholdDac_0 = value;};

void MTHardroc2Chip::SetThresholdDac_1 ( UInt_t  value  )  [inline]

Definition at line 43 of file MTHardroc2Chip.hh.

00043 { thresholdDac_1 = value;};

void MTHardroc2Chip::SetThresholdDac_2 ( UInt_t  value  )  [inline]

Definition at line 44 of file MTHardroc2Chip.hh.

00044 { thresholdDac_2 = value;};

void MTHardroc2Chip::Info ( void   )  const

Reimplemented from MTChip.

Definition at line 45 of file MTHardroc2Chip.cpp.

00046 {
00047 
00048    cout << "threshold Dac 0:[" << thresholdDac_0  << endl;
00049    cout << "threshold Dac 1:[" << thresholdDac_1  << endl;
00050    cout << "threshold Dac 2:[" << thresholdDac_2  << endl;
00051 }


Member Data Documentation

UInt_t MTHardroc2Chip::thresholdDac_0 [private]

Definition at line 31 of file MTHardroc2Chip.hh.

Referenced by GetThresholdDac_0(), Info(), operator=(), and SetThresholdDac_0().

UInt_t MTHardroc2Chip::thresholdDac_1 [private]

Definition at line 32 of file MTHardroc2Chip.hh.

Referenced by GetThresholdDac_1(), Info(), operator=(), and SetThresholdDac_1().

UInt_t MTHardroc2Chip::thresholdDac_2 [private]

Definition at line 33 of file MTHardroc2Chip.hh.

Referenced by GetThresholdDac_2(), Info(), operator=(), and SetThresholdDac_2().


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