gdata
Loading...
Searching...
No Matches
gRunHeader.h File Reference

Defines GRunHeader metadata for a run-level data collection. More...

#include "gbase.h"
#include <string>
Include dependency graph for gRunHeader.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  GRunHeader
 Minimal run metadata: run ID and integrated-event counter. More...
 

Namespaces

namespace  grun_header
 

Functions

auto grun_header::defineOptions () -> GOptions
 Defines GOptions for the run-header logger domain.
 

Variables

constexpr const char * GDATARUNHEADER_LOGGER = "run_header"
 

Detailed Description

A run header is a minimal metadata object associated with a GRunDataCollection.

It records:

  • runID : run identifier (application-defined)
  • events_processed : number of events integrated into this run summary so far

The constructor emits a brief log summary. In multi-threaded contexts, an optional thread ID can be attached for diagnostics and provenance.

Note
Synchronization The header does not itself perform synchronization. If multiple threads are meant to update events_processed concurrently, higher-level synchronization is required.

Definition in file gRunHeader.h.

Variable Documentation

◆ GDATARUNHEADER_LOGGER

constexpr const char* GDATARUNHEADER_LOGGER = "run_header"
constexpr

Definition at line 28 of file gRunHeader.h.