Skip to content

XTC1Traits::DiscoveryState

#include <sbio/formats/xtc1/xtc1_traits.hh>
struct DiscoveryState

Defined in src/lib/sbio/formats/xtc1/xtc1_traits.hh:120

A convenience struct to keep track of indices into offset buffers and the total number of events and transitions seen.

Name Kind Owner
last_l1_idx_seen variable Declared here
next_bd_offset variable Declared here
seen_end_run variable Declared here
l1_offset_idx variable Declared here
trans_offset_idx variable Declared here
events_per_read variable Declared here
Return Name Description
ssize_t last_l1_idx_seen
std::uint64_t next_bd_offset
bool seen_end_run
std::size_t l1_offset_idx
std::size_t trans_offset_idx
std::size_t events_per_read

ssize_t last_l1_idx_seen { -1 }

Defined in src/lib/sbio/formats/xtc1/xtc1_traits.hh:121


std::uint64_t next_bd_offset { 0 }

Defined in src/lib/sbio/formats/xtc1/xtc1_traits.hh:122


bool seen_end_run { false }

Defined in src/lib/sbio/formats/xtc1/xtc1_traits.hh:123


std::size_t l1_offset_idx { 0 }

Defined in src/lib/sbio/formats/xtc1/xtc1_traits.hh:124


std::size_t trans_offset_idx { 0 }

Defined in src/lib/sbio/formats/xtc1/xtc1_traits.hh:125


std::size_t events_per_read { 0 }

Defined in src/lib/sbio/formats/xtc1/xtc1_traits.hh:126