Skip to content

DetectorSpec

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

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

A simplified description of a detector to allow specifying how to write payloads.

Name Kind Owner
name variable Declared here
type variable Declared here
rank variable Declared here
shape variable Declared here
dtype variable Declared here
Return Name Description
char name Name of the detector.
char type Type of the detector.
hd_std::uint16_t rank Rank (dims) of the payload.
hd_std::uint32_t shape Shape of the payload.
ncarray::DType dtype Underlying payload data type.

char name

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

Name of the detector.


char type

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

Type of the detector.


hd_std::uint16_t rank { 2 }

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

Rank (dims) of the payload.


hd_std::uint32_t shape { 1024, 1024, 0, 0, 0 }

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

Shape of the payload.


ncarray::DType dtype { ncarray::DType::uint16 }

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

Underlying payload data type.