|
gdata
|
Stores one integrated readout payload sample. More...
#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. | |
| std::vector< int > | getPayload () const |
| Exports the payload as a fixed-order vector of integers. | |
Definition at line 36 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 through logger configuration.
| c | Crate number, the first readout-address component. |
| s | Slot number, the module position within the crate. |
| ch | Channel number within the slot or module. |
| q | Integrated charge or ADC proxy. |
| t | Time value or TDC proxy. |
| logger | Logger instance used for debug traces. |
Definition at line 53 of file gIntegralPayload.h.
|
inline |
The payload owns no external resources. Destruction logging is useful mainly for lifecycle tracing in tests and examples.
Definition at line 66 of file gIntegralPayload.h.
|
inline |
Order is:
This ordering matches the expectation in addIntegralPayload().
{crate, slot, channel, charge, time}. Definition at line 87 of file gIntegralPayload.h.