action.skip

GeoID v1

This document describes the format of the GeoID struct, version 1.

Description of GeoID

GeoID version 1 consists of four 32-bit words:

  1. Version Number

  2. System Type (upper 16 bits), Region Number (lower 16 bits)

  3. Element Number

  4. Pad word (64b alignment)

C++ Code for GeoID

struct GeoID
{
  enum class SystemType : uint16_t
  {
    kTPC = 1,
    kPDS = 2,
    kDataSelection = 3,
  ...
    kInvalid = 0
  };
  uint32_t version{ 1 };
  SystemType system_type{ SystemType::kInvalid };
  uint16_t region_number{ std::numeric_limits<uint16_t>::max() };
  uint32_t element_number{ std::numeric_limits<uint32_t>::max() };
  uint32_t unused {0xFFFFFFFF};

  GeoID();
  GeoID(SystemType type, uint16_t region, uint32_t element);
};

Notes


Last git commit to the markdown source of this page:

Author: Eric Flumerfelt

Date: Thu Jul 1 14:47:01 2021 -0500

If you see a problem with the documentation on this page, please file an Issue at https://github.com/DUNE-DAQ/daqdataformats/issues