#include <MTMicrorocChip.hh>
Inheritance diagram for MTMicrorocChip:
Public Member Functions | |
MTMicrorocChip (UInt_t id=0) | |
MTMicrorocChip (const MicrorocChip &aChip) | |
~MTMicrorocChip () | |
MTMicrorocChip & | operator= (const MicrorocChip &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) |
UInt_t | GetShaper_lg () const |
UInt_t | GetShaper_hg () const |
void | SetShaper_lg (UInt_t value) |
void | SetShaper_hg (UInt_t value) |
void | Info (void) const |
Private Attributes | |
UInt_t | thresholdDac_0 |
UInt_t | thresholdDac_1 |
UInt_t | thresholdDac_2 |
UInt_t | shaper_lg |
UInt_t | shaper_hg |
Definition at line 21 of file MTMicrorocChip.hh.
MTMicrorocChip::MTMicrorocChip | ( | UInt_t | id = 0 |
) |
MTMicrorocChip::MTMicrorocChip | ( | const MicrorocChip & | aChip | ) |
Definition at line 23 of file MTMicrorocChip.cpp.
00024 :MTChip(dynamic_cast<const Chip&>(aChip)) 00025 { 00026 (*this) = aChip; // appelle operator 00027 }
MTMicrorocChip::~MTMicrorocChip | ( | ) |
MTMicrorocChip & MTMicrorocChip::operator= | ( | const MicrorocChip & | aChip | ) |
Definition at line 37 of file MTMicrorocChip.cpp.
00038 { 00039 thresholdDac_0 = aChip.getThresholdDac_0(); 00040 thresholdDac_1 = aChip.getThresholdDac_1(); 00041 thresholdDac_2 = aChip.getThresholdDac_2(); 00042 shaper_lg = aChip.getShaper_lg(); 00043 shaper_hg = aChip.getShaper_hg(); 00044 return *this; 00045 }
UInt_t MTMicrorocChip::GetThresholdDac_0 | ( | ) | const [inline] |
Definition at line 45 of file MTMicrorocChip.hh.
Referenced by main().
00045 { return thresholdDac_0;};
UInt_t MTMicrorocChip::GetThresholdDac_1 | ( | ) | const [inline] |
Definition at line 46 of file MTMicrorocChip.hh.
Referenced by main().
00046 { return thresholdDac_1;};
UInt_t MTMicrorocChip::GetThresholdDac_2 | ( | ) | const [inline] |
Definition at line 47 of file MTMicrorocChip.hh.
Referenced by main().
00047 { return thresholdDac_2;};
void MTMicrorocChip::SetThresholdDac_0 | ( | UInt_t | value | ) | [inline] |
void MTMicrorocChip::SetThresholdDac_1 | ( | UInt_t | value | ) | [inline] |
void MTMicrorocChip::SetThresholdDac_2 | ( | UInt_t | value | ) | [inline] |
UInt_t MTMicrorocChip::GetShaper_lg | ( | ) | const [inline] |
UInt_t MTMicrorocChip::GetShaper_hg | ( | ) | const [inline] |
void MTMicrorocChip::SetShaper_lg | ( | UInt_t | value | ) | [inline] |
void MTMicrorocChip::SetShaper_hg | ( | UInt_t | value | ) | [inline] |
void MTMicrorocChip::Info | ( | void | ) | const |
Reimplemented from MTChip.
Definition at line 48 of file MTMicrorocChip.cpp.
00049 { 00050 00051 00052 cout << "threshold Dac 0:[" << thresholdDac_0 << endl; 00053 cout << "threshold Dac 1:[" << thresholdDac_1 << endl; 00054 cout << "threshold Dac 2:[" << thresholdDac_2 << endl; 00055 00056 cout << "shaper low gain :[" << shaper_lg << endl; 00057 cout << "shaper high gain :[" << shaper_hg << endl; 00058 }
UInt_t MTMicrorocChip::thresholdDac_0 [private] |
Definition at line 33 of file MTMicrorocChip.hh.
Referenced by GetThresholdDac_0(), Info(), operator=(), and SetThresholdDac_0().
UInt_t MTMicrorocChip::thresholdDac_1 [private] |
Definition at line 34 of file MTMicrorocChip.hh.
Referenced by GetThresholdDac_1(), Info(), operator=(), and SetThresholdDac_1().
UInt_t MTMicrorocChip::thresholdDac_2 [private] |
Definition at line 35 of file MTMicrorocChip.hh.
Referenced by GetThresholdDac_2(), Info(), operator=(), and SetThresholdDac_2().
UInt_t MTMicrorocChip::shaper_lg [private] |
Definition at line 38 of file MTMicrorocChip.hh.
Referenced by GetShaper_lg(), Info(), operator=(), and SetShaper_lg().
UInt_t MTMicrorocChip::shaper_hg [private] |
Definition at line 39 of file MTMicrorocChip.hh.
Referenced by GetShaper_hg(), Info(), operator=(), and SetShaper_hg().