18std::ostream& operator<<(std::ostream& o,
const ECONDLinkInfo& l) {
19 return o <<
"ECONDLinkInfo { stat: " << l.
stat_ <<
", empty: " << l.
is_empty_
21 <<
", calib: " << l.
calib_ <<
" }";
24std::ostream& operator<<(std::ostream& o,
const ECONDSampleInfo& s) {
25 return o <<
"ECONDSampleInfo { econ: " << s.econ_id_
26 <<
", i_sample: " << s.i_sample_ <<
", soi: " << s.is_soi_
27 <<
", length: " << s.payload_length_ <<
", bx: " << s.bx_
28 <<
", l1a: " << s.l1a_ <<
", orbit: " << s.orbit_
29 <<
", corruption: " << s.corruption_
30 <<
", n_links: " << s.links_.size() <<
" }";
33std::ostream& operator<<(std::ostream& o,
const ECONDEventInfo& e) {
34 return o <<
"ECONDEventInfo { corruption: " << e.corruption_
35 <<
", n_samples: " << e.samples_.size()
36 <<
", trailer_n_samples: " << e.trailer_n_samples_
37 <<
", soi: " << e.i_soi_ <<
", skipped: " << e.n_skipped_words_
38 <<
", digis_filled: " << e.digis_filled_ <<
" }";
Classes holding the ECON-D packet data that does not fit into an HgcrocDigiCollection.
Supporting data for one event decoded from a single ECON-D.
void clear()
reset to the default state
int corruption_
frame corruption mask
int n_skipped_words_
words skipped while searching for capture headers
int i_soi_
index of the sample of interest
int trailer_n_samples_
number of samples in the trailer
bool digis_filled_
digis were filled from this event
std::vector< ECONDSampleInfo > samples_
per-sample data
Data from one eRx ("link") sub-packet of an ECON-D packet that is not a normal channel.
uint32_t calib_
calibration channel sample word
int adc_cm1_
common mode 1 ADC
int stat_
3-bit Stat field
int adc_cm0_
common mode 0 ADC
Capture header and ECON-D header data for one sample (L1A)