Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-17 08:20:49

0001 // AUTOMATICALLY GENERATED FILE - DO NOT EDIT
0002 
0003 #ifndef EDM4EIC_CALOROC1ASample_H
0004 #define EDM4EIC_CALOROC1ASample_H
0005 
0006 #include <cstdint>
0007 #include <ostream>
0008 
0009 #if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
0010 #include "nlohmann/json_fwd.hpp"
0011 #endif
0012 
0013 namespace edm4eic {
0014 
0015 
0016 /** @class CALOROC1ASample
0017  *  
0018  *  @author: 
0019  */
0020 class CALOROC1ASample {
0021 public:
0022   std::uint16_t ADC{}; ///< [ADC Counts], amplitude of signal during sample, valid IFF TOTInProgress is false
0023   std::uint16_t timeOfArrival{}; ///< Time of arrival (TOA) [TDC counts], nonzero IFF ADC crossed threshold upwards during sample
0024   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
0025 
0026 
0027 };
0028 
0029 std::ostream& operator<<(std::ostream& o, const CALOROC1ASample& value);
0030 
0031 #if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
0032 void to_json(nlohmann::json& j, const CALOROC1ASample& value);
0033 #endif
0034 
0035 namespace v890 {
0036 using CALOROC1ASample = edm4eic::CALOROC1ASample;
0037 } // namespace v890
0038 
0039 
0040 } // namespace edm4eic
0041 
0042 
0043 #endif