Binary record interpretation for raw BH SPC event.
This interprets the FIFO format used by most BH SPC models, except for SPC-600, SPC-630, and TDC models.
|
|
constexpr auto | adc_value () const noexcept -> u16np |
| | Read the ADC value (i.e., difference time) if this event represents a photon.
|
|
constexpr auto | gap_flag () const noexcept -> bool |
| | Read the 'gap' (data lost) flag.
|
| auto | gap_flag (bool gap) noexcept -> bh_spc_event & |
| | Set or clear the gap flag of this event.
|
|
constexpr auto | invalid_flag () const noexcept -> bool |
| | Read the 'invalid' flag.
|
|
constexpr auto | is_multiple_macrotime_overflow () const noexcept -> bool |
| | Determine if this event represents multiple macrotime overflows.
|
|
constexpr auto | macrotime () const noexcept -> u16np |
| | Read the macrotime counter value (no rollover correction).
|
|
constexpr auto | macrotime_overflow_flag () const noexcept -> bool |
| | Read the 'macrotime overflow' flag.
|
|
constexpr auto | marker_bits () const noexcept -> u8np |
| | Read the marker bits (mask) if this event represents markers.
|
|
constexpr auto | marker_flag () const noexcept -> bool |
| | Read the 'marker' flag.
|
|
constexpr auto | multiple_macrotime_overflow_count () const noexcept -> u32np |
| | Read the macrotime overflow count if this event represents multiple macrotime overflows.
|
|
constexpr auto | routing_signals () const noexcept -> u8np |
| | Read the routing signals (usually the detector channel) if this event represents a photon.
|
|
| static constexpr auto | make_invalid_photon (u16np macrotime, u16np adc_value) -> bh_spc_event |
| | Make an event representing an invalid photon event.
|
| static constexpr auto | make_marker (u16np macrotime, u8np marker_bits, bool macrotime_overflow=false) -> bh_spc_event |
| | Make an event representing a marker.
|
| static constexpr auto | make_marker0_with_intensity_count (u16np macrotime, u8np marker_bits, u16np count, bool macrotime_overflow=false) -> bh_spc_event |
| | Make an event representing a marker, with marker 0 intensity count as generated by SPC-160 and SPC-180N.
|
| static constexpr auto | make_multiple_macrotime_overflow (u32np count) -> bh_spc_event |
| | Make an event representing a multiple macrotime overflow.
|
| static constexpr auto | make_photon (u16np macrotime, u16np adc_value, u8np route, bool macrotime_overflow=false) -> bh_spc_event |
| | Make an event representing a valid photon event.
|