MTMicrorocChip Class Reference

#include <MTMicrorocChip.hh>

Inheritance diagram for MTMicrorocChip:

Inheritance graph
[legend]
Collaboration diagram for MTMicrorocChip:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MTMicrorocChip (UInt_t id=0)
 MTMicrorocChip (const MicrorocChip &aChip)
 ~MTMicrorocChip ()
MTMicrorocChipoperator= (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

Detailed Description

CLASS MTMICROROCCHIP(containing microroc chip configuration)

Definition at line 21 of file MTMicrorocChip.hh.


Constructor & Destructor Documentation

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 (  ) 

Definition at line 31 of file MTMicrorocChip.cpp.

00032 {
00033 
00034 }


Member Function Documentation

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]

Definition at line 49 of file MTMicrorocChip.hh.

00049 { thresholdDac_0 = value;};

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

Definition at line 50 of file MTMicrorocChip.hh.

00050 { thresholdDac_1 = value;};

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

Definition at line 51 of file MTMicrorocChip.hh.

00051 { thresholdDac_2 = value;};

UInt_t MTMicrorocChip::GetShaper_lg (  )  const [inline]

Definition at line 54 of file MTMicrorocChip.hh.

Referenced by main().

00054 { return shaper_lg;};

UInt_t MTMicrorocChip::GetShaper_hg (  )  const [inline]

Definition at line 55 of file MTMicrorocChip.hh.

Referenced by main().

00055 { return shaper_hg;};

void MTMicrorocChip::SetShaper_lg ( UInt_t  value  )  [inline]

Definition at line 57 of file MTMicrorocChip.hh.

00057 { shaper_lg = value;};

void MTMicrorocChip::SetShaper_hg ( UInt_t  value  )  [inline]

Definition at line 58 of file MTMicrorocChip.hh.

00058 { shaper_hg = value;};

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 }


Member Data Documentation

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().


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