CDCChannelData.
More...
#include <CDCChannelData.h>
|
| CDCChannelData (int board, int ch, int len, int tot, int adc, int tdc, int tdc2) |
| Constructor of the class fo the "2 hits" event.
|
|
| CDCChannelData (int board, int ch, int len, int tot, int adc, int tdc) |
| Constructor of the class fo the "1 hit" event.
|
|
void | setTDC2ndHit (int tdc) |
| Set 2nd hit timing.
|
|
unsigned short | getChannel () const |
| Get the channel ID.
|
|
unsigned short | getBoard () const |
| Get the board ID.
|
|
unsigned short | getTDCCount () const |
| Get the TDC.
|
|
unsigned short | getTDCCount2ndHit () const |
| Get the 2nd TDC.
|
|
unsigned short | getADCCount () const |
| Get the ADC.
|
|
bool | is2ndHit () const |
| Get the flag of 2nd hit.
|
|
unsigned short | getDataLength () const |
| Get data length.
|
|
unsigned short | getTOT () const |
| Get time over threshold.
|
|
|
unsigned short | m_board |
| Board ID (0-300).
|
|
unsigned short | m_channel |
| Channel ID (0-47).
|
|
unsigned short | m_length |
| Data length.
|
|
unsigned short | m_tot |
| Time over threshold.
|
|
unsigned short | m_adc |
| FADC count.
|
|
unsigned short | m_tdc |
| TDC count.
|
|
unsigned short | m_tdc2 |
| TDC count of 2nd hit.
|
|
bool | m_f2ndHit |
| Flag for 2nd hit.
|
|
CDCChannelData.
CDC channel data contains the real data for 1 hit channel.
Definition at line 26 of file CDCChannelData.h.
◆ CDCChannelData() [1/3]
Definition at line 29 of file CDCChannelData.h.
unsigned short m_length
Data length.
unsigned short m_tdc2
TDC count of 2nd hit.
unsigned short m_tdc
TDC count.
unsigned short m_adc
FADC count.
unsigned short m_channel
Channel ID (0-47).
bool m_f2ndHit
Flag for 2nd hit.
unsigned short m_tot
Time over threshold.
unsigned short m_board
Board ID (0-300).
◆ CDCChannelData() [2/3]
CDCChannelData |
( |
int |
board, |
|
|
int |
ch, |
|
|
int |
len, |
|
|
int |
tot, |
|
|
int |
adc, |
|
|
int |
tdc, |
|
|
int |
tdc2 |
|
) |
| |
|
inline |
Constructor of the class fo the "2 hits" event.
Definition at line 37 of file CDCChannelData.h.
◆ CDCChannelData() [3/3]
CDCChannelData |
( |
int |
board, |
|
|
int |
ch, |
|
|
int |
len, |
|
|
int |
tot, |
|
|
int |
adc, |
|
|
int |
tdc |
|
) |
| |
|
inline |
Constructor of the class fo the "1 hit" event.
Definition at line 53 of file CDCChannelData.h.
◆ getADCCount()
unsigned short getADCCount |
( |
| ) |
const |
|
inline |
◆ getBoard()
unsigned short getBoard |
( |
| ) |
const |
|
inline |
◆ getChannel()
unsigned short getChannel |
( |
| ) |
const |
|
inline |
◆ getDataLength()
unsigned short getDataLength |
( |
| ) |
const |
|
inline |
◆ getTDCCount()
unsigned short getTDCCount |
( |
| ) |
const |
|
inline |
◆ getTDCCount2ndHit()
unsigned short getTDCCount2ndHit |
( |
| ) |
const |
|
inline |
◆ getTOT()
unsigned short getTOT |
( |
| ) |
const |
|
inline |
◆ is2ndHit()
Get the flag of 2nd hit.
true : 2 hit event, false : 1 hit event.
Definition at line 120 of file CDCChannelData.h.
◆ setTDC2ndHit()
void setTDC2ndHit |
( |
int |
tdc | ) |
|
|
inline |
◆ m_adc
◆ m_board
◆ m_channel
◆ m_f2ndHit
◆ m_length
◆ m_tdc
◆ m_tdc2
◆ m_tot
The documentation for this class was generated from the following file: