3#ifndef EDM4EIC_HGCROCSample_H
4#define EDM4EIC_HGCROCSample_H
9#if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
10#include "nlohmann/json_fwd.hpp"
32#if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
33void to_json(nlohmann::json& j,
const HGCROCSample& value);
Definition HGCROCSample.h:19
std::uint16_t timeOfArrival
Time of arrival (TOA) [TDC counts], nonzero IFF ADC crossed threshold upwards during sample.
Definition HGCROCSample.h:22
bool TOTComplete
Flag which indicates if a TOT calculation is complete and TOT value is valid.
Definition HGCROCSample.h:25
std::uint16_t ADC
[ADC Counts], amplitude of signal during sample, valid IFF TOTInProgress is false
Definition HGCROCSample.h:21
bool TOTInProgress
Flag which indicates if TOT calculation is ongoing, ADC value may be corrupted if this is true.
Definition HGCROCSample.h:24
std::uint16_t timeOverThreshold
Time over threshold (TOT) [TDC counts], nonzero IFF ADC crossed threshold downwards during sample AND...
Definition HGCROCSample.h:23
Definition CalorimeterHit.cc:17
std::ostream & operator<<(std::ostream &o, const CalorimeterHit &value)
Definition CalorimeterHit.cc:103