145 return gdataCollectionMap;
158 return gdataCollectionMap;
202 std::map<std::string, std::unique_ptr<GDataCollection>> gdataCollectionMap;
214 void collectDetectorDigitizedData(
const std::string& sdName,
const std::unique_ptr<GDigitizedData>& data);
Per-sensitive-detector container that owns truth and digitized data objects.
Owns and updates the run-level detector summary map.
auto getDataCollectionMap() const -> const std::map< std::string, std::unique_ptr< GDataCollection > > &
Returns read-only access to the detector summary map.
void collect_event_data_collection(const std::shared_ptr< GEventDataCollection > edc)
Integrates one event collection into the run summary.
GRunDataCollection(const std::shared_ptr< GOptions > &gopts, std::unique_ptr< GRunHeader > header)
Constructs a run data collection with an owned run header.
void collect_event_data_collections(const std::string &sdName, std::unique_ptr< GDigitizedData > ddata)
Integrates one digitized object into the named detector entry.
void merge(const GRunDataCollection &other)
Merges another run accumulator into this one.
auto getHeader() const -> const std::unique_ptr< GRunHeader > &
Returns read-only access to the owned run header.
auto get_events_processed() const -> int
Returns the total processed-event count stored in the header.
auto get_events_with_payload() const -> int
Returns the number of processed events that contributed payload.
auto getMutableDataCollectionMap() -> std::map< std::string, std::unique_ptr< GDataCollection > > &
Returns mutable access to the detector summary map.
auto getRunNumber() const -> int
Returns the run number stored in the owned header.
Defines GEventDataCollection, the event-level aggregation of detector hit data.
constexpr const char * GRUNDATA_LOGGER
GOptions defineOptions()
Defines the options subtree used by the digitized-data logger domain.
auto defineOptions() -> GOptions
Aggregates the option groups needed by event-level data containers.
auto defineOptions() -> GOptions
Aggregates the option groups needed by run-level data containers.