Data from one eRx ("link") sub-packet of an ECON-D packet that is not a normal channel.
More...
#include <ECONDEventInfo.h>
|
| void | set (int stat, bool is_empty, int adc_cm0, int adc_cm1, uint32_t calib) |
| | Set the link data.
|
| |
| int | getStat () const |
| | 3-bit Stat field, all ones is good
|
| |
| bool | hasBadStat () const |
| | any of the Stat bits are bad
|
| |
| bool | isEmpty () const |
| | sub-packet had no channel data
|
| |
| int | getADCCM0 () const |
| | common mode 0 ADC
|
| |
| int | getADCCM1 () const |
| | common mode 1 ADC
|
| |
| uint32_t | getCalib () const |
| | calibration channel sample word (HgcrocDigiCollection::Sample format)
|
| |
|
| int | stat_ {0} |
| | 3-bit Stat field
|
| |
| bool | is_empty_ {false} |
| | F flag.
|
| |
| int | adc_cm0_ {0} |
| | common mode 0 ADC
|
| |
| int | adc_cm1_ {0} |
| | common mode 1 ADC
|
| |
| uint32_t | calib_ {0} |
| | calibration channel sample word
|
| |
Data from one eRx ("link") sub-packet of an ECON-D packet that is not a normal channel.
Definition at line 25 of file ECONDEventInfo.h.
◆ getADCCM0()
| int ldmx::ECONDLinkInfo::getADCCM0 |
( |
| ) |
const |
|
inline |
◆ getADCCM1()
| int ldmx::ECONDLinkInfo::getADCCM1 |
( |
| ) |
const |
|
inline |
◆ getCalib()
| uint32_t ldmx::ECONDLinkInfo::getCalib |
( |
| ) |
const |
|
inline |
◆ getStat()
| int ldmx::ECONDLinkInfo::getStat |
( |
| ) |
const |
|
inline |
3-bit Stat field, all ones is good
Definition at line 48 of file ECONDEventInfo.h.
int stat_
3-bit Stat field
References stat_.
◆ hasBadStat()
| bool ldmx::ECONDLinkInfo::hasBadStat |
( |
| ) |
const |
|
inline |
◆ isEmpty()
| bool ldmx::ECONDLinkInfo::isEmpty |
( |
| ) |
const |
|
inline |
◆ set()
| void ldmx::ECONDLinkInfo::set |
( |
int | stat, |
|
|
bool | is_empty, |
|
|
int | adc_cm0, |
|
|
int | adc_cm1, |
|
|
uint32_t | calib ) |
|
inline |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | o, |
|
|
const ECONDLinkInfo & | l ) |
|
friend |
Definition at line 18 of file ECONDEventInfo.cxx.
18 {
19 return o << "ECONDLinkInfo { stat: " << l.stat_ << ", empty: " << l.is_empty_
20 << ", cm0: " << l.adc_cm0_ << ", cm1: " << l.adc_cm1_
21 << ", calib: " << l.calib_ << " }";
22}
◆ adc_cm0_
| int ldmx::ECONDLinkInfo::adc_cm0_ {0} |
|
private |
◆ adc_cm1_
| int ldmx::ECONDLinkInfo::adc_cm1_ {0} |
|
private |
◆ calib_
| uint32_t ldmx::ECONDLinkInfo::calib_ {0} |
|
private |
◆ is_empty_
| bool ldmx::ECONDLinkInfo::is_empty_ {false} |
|
private |
◆ stat_
| int ldmx::ECONDLinkInfo::stat_ {0} |
|
private |
The documentation for this class was generated from the following file: