#include <MTHardroc2Chip.hh>
Inheritance diagram for MTHardroc2Chip:
Public Member Functions | |
MTHardroc2Chip (UInt_t id=0) | |
MTHardroc2Chip (const Hardroc2Chip &aChip) | |
~MTHardroc2Chip () | |
MTHardroc2Chip & | operator= (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 |
Definition at line 20 of file MTHardroc2Chip.hh.
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 | ( | ) |
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] |
void MTHardroc2Chip::SetThresholdDac_1 | ( | UInt_t | value | ) | [inline] |
void MTHardroc2Chip::SetThresholdDac_2 | ( | UInt_t | value | ) | [inline] |
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 }
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().