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