Calibration constants of a singe ASIC channel: pedestals, gains and time axis.
More...
#include <TOPASICChannel.h>
Calibration constants of a singe ASIC channel: pedestals, gains and time axis.
Definition at line 25 of file TOPASICChannel.h.
◆ TOPASICChannel()
Constructor with module ID, hardware channel number and number of ASIC windows.
- Parameters
-
moduleID | module ID |
channel | hardware channel number |
numWindows | number of active windows per ASIC |
Definition at line 41 of file TOPASICChannel.h.
44 for (
int i = 0; i < numWindows; i++)
m_pedestals.push_back(NULL);
unsigned m_channel
hardware channel number
std::vector< TOPASICPedestals * > m_pedestals
pedestals
◆ getChannel()
unsigned getChannel |
( |
| ) |
const |
|
inline |
Return hardware channel number.
- Returns
- channel number
Definition at line 145 of file TOPASICChannel.h.
◆ getGains() [1/2]
◆ getGains() [2/2]
Return gains of an ASIC window.
- Parameters
-
- Returns
- pointer to gains or NULL
Definition at line 178 of file TOPASICChannel.h.
◆ getModuleID()
int getModuleID |
( |
| ) |
const |
|
inline |
◆ getNumofGoodWindows()
unsigned getNumofGoodWindows |
( |
| ) |
const |
|
inline |
Return number of good ASIC windows (e.g.
those with defined pedestals)
- Returns
- number of good windows
Definition at line 195 of file TOPASICChannel.h.
◆ getNumofWindows()
unsigned getNumofWindows |
( |
| ) |
const |
|
inline |
Return number of ASIC windows.
- Returns
- number of windows
Definition at line 151 of file TOPASICChannel.h.
◆ getPedestals() [1/2]
Returns a vector of pedestals.
- Returns
- pedestals
Definition at line 171 of file TOPASICChannel.h.
◆ getPedestals() [2/2]
Return pedestals of an ASIC window.
- Parameters
-
- Returns
- pointer to pedestals or NULL
Definition at line 161 of file TOPASICChannel.h.
◆ setGains()
Set gains of a single ASIC window.
- Parameters
-
- Returns
- true on success
Definition at line 118 of file TOPASICChannel.h.
◆ setPedestals()
Set pedestals of a single ASIC window.
- Parameters
-
pedestals | ASIC window pedestals |
- Returns
- true on success
Definition at line 99 of file TOPASICChannel.h.
The documentation for this class was generated from the following file: