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

Defines GEventDataCollection, the event-level aggregation of detector hit data. More...

#include "gDataCollection.h"
#include "gEventHeader.h"
#include <map>
#include <string>
Include dependency graph for gEventDataCollection.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  GEventDataCollection
 Owns all detector-local data for one event. More...
 

Namespaces

namespace  gevent_data
 

Functions

auto gevent_data::defineOptions () -> GOptions
 Aggregates the option groups needed by event-level data containers.
 

Variables

constexpr const char * GEVENTDATA_LOGGER = "gevent_data"
 

Detailed Description

GEventDataCollection groups all detector-local hit data produced during one event.

Primary organization:

detector name (std::string) -> GDataCollection
- vector<unique_ptr<GTrueInfoData>>
- vector<unique_ptr<GDigitizedData>>
Per-sensitive-detector container that owns truth and digitized data objects.

Event semantics:

  • each insertion appends one hit-side object to the target detector entry
  • detector entries are created lazily on first use
  • ownership of inserted objects is transferred to this collection

Typical workflow:

  • create one event container
  • add truth and digitized objects as hits are produced
  • pass the completed event container downstream for output, analysis, or run integration

Definition in file gEventDataCollection.h.

Variable Documentation

◆ GEVENTDATA_LOGGER

constexpr const char* GEVENTDATA_LOGGER = "gevent_data"
constexpr

Definition at line 35 of file gEventDataCollection.h.