Container Module
The container class manages per-file typed data containers used by
sampletracer to store events, graphs, selections, and metadata for each
ROOT/HDF5 file. One container instance is created per (file, label) pair.
Struct: entry_t
Header: <container/container.h>
entry_t is the fundamental storage record; each unique event hash maps to
exactly one entry_t.
Field |
Type |
Description |
|---|---|---|
|
|
18-character event hash (key in the |
|
|
Compiled |
|
|
Compiled |
|
|
Compiled |
|
|
Compiled |
entry_t Methods:
Signature |
Description |
|---|---|
|
Initialises the slot (called when the slot is first created). |
|
Frees all stored object pointers. |
|
Returns |
|
Returns |
|
Returns |
|
Deletes and clears each element in c. |
Class: container
Header: <container/container.h>
Inheritance: tools
Public Fields
Field |
Type |
Description |
|---|---|---|
|
|
Pointer to the dataset metadata object (one per file, shared). |
|
|
Pointer to the source ROOT/HDF5 file path. |
|
|
Pointer to the output directory path. |
|
|
Dataset label (as registered with |
|
|
Maps event hash → |
|
|
Pointer to the merged selection map (set by |
Public Methods
Signature |
Description |
|---|---|
|
Sets |
|
Returns |
|
Adds a compiled event to the slot for its hash. Returns |
|
Adds a compiled graph. Returns |
|
Adds a selection result. Returns |
|
Populates inpt from all selections stored in |
|
Appends events with matching label to the output vector. |
|
Transfers all |
|
Worker-thread entry point: compiles all events, graphs, and selections assigned to this thread. |
|
Returns the total number of entries in |
|
Creates (if not already present) and returns the |