|
gdata
|
#include <gIntegralPayload.h>
Public Member Functions | |
| GIntegralPayload (int c, int s, int ch, int q, int t, std::shared_ptr< GLogger > logger) | |
| Construct an integral payload. | |
| ~GIntegralPayload () | |
| Destructor (logs for debug builds/configurations). | |
| std::vector< int > | getPayload () const |
| Export payload as a fixed-order vector of integers. | |
Definition at line 23 of file gIntegralPayload.h.
|
inline |
Stores the provided values and emits a debug log message. Logging is intended for diagnostics in examples/tests and can be controlled via logger configuration.
| c | Crate number (readout address component). |
| s | Slot number (module position within the crate). |
| ch | Channel number within the slot/module. |
| q | Integrated charge (or ADC proxy). |
| t | Time value (or TDC proxy). |
| logger | Logger instance used for debug traces. |
Definition at line 40 of file gIntegralPayload.h.
|
inline |
The payload owns no external resources; destruction is only relevant for lifecycle tracing.
Definition at line 52 of file gIntegralPayload.h.
|
inline |
Order is: 0) crate 1) slot 2) channel 3) charge 4) time
This ordering matches the expectation in addIntegralPayload().
{crate, slot, channel, charge, time}. Definition at line 73 of file gIntegralPayload.h.