EDM4eic
EIC data model
Loading...
Searching...
No Matches
HGCROCSample.h
Go to the documentation of this file.
1// AUTOMATICALLY GENERATED FILE - DO NOT EDIT
2
3#ifndef EDM4EIC_HGCROCSample_H
4#define EDM4EIC_HGCROCSample_H
5
6#include <cstdint>
7#include <ostream>
8
9#if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
10#include "nlohmann/json_fwd.hpp"
11#endif
12
13namespace edm4eic {
14
15
16/** @class HGCROCSample
17 *
18 * @author:
19 */
21public:
22 std::uint16_t ADC{}; ///< [ADC Counts], amplitude of signal during sample, valid IFF TOTInProgress is false
23 std::uint16_t timeOfArrival{}; ///< Time of arrival (TOA) [TDC counts], nonzero IFF ADC crossed threshold upwards during sample
24 std::uint16_t timeOverThreshold{}; ///< Time over threshold (TOT) [TDC counts], nonzero IFF ADC crossed threshold downwards during sample AND if TOA fired in a previous sample
25 bool TOTInProgress{}; ///< Flag which indicates if TOT calculation is ongoing, ADC value may be corrupted if this is true
26 bool TOTComplete{}; ///< Flag which indicates if a TOT calculation is complete and TOT value is valid
27
28
29};
30
31std::ostream& operator<<(std::ostream& o, const HGCROCSample& value);
32
33#if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
34void to_json(nlohmann::json& j, const HGCROCSample& value);
35#endif
36
37namespace v850 {
39} // namespace v850
40
41
42} // namespace edm4eic
43
44
45#endif
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