MTHardroc1Chip Class Reference

#include <MTHardroc1Chip.hh>

Inheritance diagram for MTHardroc1Chip:

Inheritance graph
[legend]
Collaboration diagram for MTHardroc1Chip:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MTHardroc1Chip (UInt_t id=0)
 MTHardroc1Chip (const Hardroc1Chip &aChip)
 ~MTHardroc1Chip ()
MTHardroc1Chipoperator= (const Hardroc1Chip &aChip)
UInt_t GetThresholdDac_0 () const
UInt_t GetThresholdDac_1 () const
void SetThresholdDac_0 (UInt_t value)
void SetThresholdDac_1 (UInt_t value)
void Info (void) const

Private Attributes

UInt_t thresholdDac_0
UInt_t thresholdDac_1

Detailed Description

CLASS MTHARDROC1CHIP(containing dirac chip configuration)

Definition at line 10 of file MTHardroc1Chip.hh.


Constructor & Destructor Documentation

MTHardroc1Chip::MTHardroc1Chip ( UInt_t  id = 0  ) 

MTHardroc1Chip::MTHardroc1Chip ( const Hardroc1Chip aChip  ) 

Definition at line 21 of file MTHardroc1Chip.cpp.

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

MTHardroc1Chip::~MTHardroc1Chip (  ) 

Definition at line 29 of file MTHardroc1Chip.cpp.

00030 {
00031 
00032 }


Member Function Documentation

MTHardroc1Chip & MTHardroc1Chip::operator= ( const Hardroc1Chip aChip  ) 

Definition at line 34 of file MTHardroc1Chip.cpp.

00035 {
00036 // FILE_LOG(logINFO) << "MTHardroc1Chip& MTHardroc1Chip::operator=(const Hardroc1Chip& aChip)" << endl;
00037    thresholdDac_0 = aChip.getThresholdDac_0();
00038    thresholdDac_1 = aChip.getThresholdDac_1();
00039 }

UInt_t MTHardroc1Chip::GetThresholdDac_0 (  )  const [inline]

Definition at line 27 of file MTHardroc1Chip.hh.

Referenced by main().

00027 { return thresholdDac_0;};

UInt_t MTHardroc1Chip::GetThresholdDac_1 (  )  const [inline]

Definition at line 28 of file MTHardroc1Chip.hh.

Referenced by main().

00028 { return thresholdDac_1;};

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

Definition at line 30 of file MTHardroc1Chip.hh.

00030 { thresholdDac_0 = value;};

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

Definition at line 31 of file MTHardroc1Chip.hh.

00031 { thresholdDac_1 = value;};

void MTHardroc1Chip::Info ( void   )  const

Reimplemented from MTChip.

Definition at line 42 of file MTHardroc1Chip.cpp.

00043 {
00044 
00045    cout << "threshold Dac 0:[" << thresholdDac_0  << endl;
00046    cout << "threshold Dac 1:[" << thresholdDac_1  << endl;
00047 }


Member Data Documentation

UInt_t MTHardroc1Chip::thresholdDac_0 [private]

Definition at line 21 of file MTHardroc1Chip.hh.

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

UInt_t MTHardroc1Chip::thresholdDac_1 [private]

Definition at line 22 of file MTHardroc1Chip.hh.

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


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