Skip to content

ConfigBlock

#include <sbio/formats/random/randfmt.hh>
struct ConfigBlock

Defined in src/lib/sbio/formats/random/randfmt.hh:149

The payload of a ConfigBlock.

Name Kind Owner
seed variable Declared here
pattern_type variable Declared here
total_events variable Declared here
flags variable Declared here
_reserved variable Declared here
Return Name Description
hd_std::uint32_t seed Seed if using PNRG data filling.
hd_std::uint8_t pattern_type Input data: 0 = PNRG, 1 = Sequential, 2 = Fixed.
hd_std::uint64_t total_events Total events in stream. 0 = Unknown.
hd_std::uint8_t flags Any additional flags (e.g. to write SuperBlock offsets)
hd_std::uint16_t _reserved Reserved for future use.

hd_std::uint32_t seed { 42 }

Defined in src/lib/sbio/formats/random/randfmt.hh:150

Seed if using PNRG data filling.


hd_std::uint8_t pattern_type { 0 }

Defined in src/lib/sbio/formats/random/randfmt.hh:151

Input data: 0 = PNRG, 1 = Sequential, 2 = Fixed.


hd_std::uint64_t total_events { 0 }

Defined in src/lib/sbio/formats/random/randfmt.hh:152

Total events in stream. 0 = Unknown.


hd_std::uint8_t flags { 0 }

Defined in src/lib/sbio/formats/random/randfmt.hh:153

Any additional flags (e.g. to write SuperBlock offsets)


hd_std::uint16_t _reserved { 0 }

Defined in src/lib/sbio/formats/random/randfmt.hh:154

Reserved for future use.