Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/edm4eic/HGCROCSample.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // AUTOMATICALLY GENERATED FILE - DO NOT EDIT
0002 
0003 #ifndef EDM4EIC_HGCROCSample_H
0004 #define EDM4EIC_HGCROCSample_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 HGCROCSample
0017  *  
0018  *  @author: 
0019  */
0020 class HGCROCSample {
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   bool TOTInProgress{}; ///< Flag which indicates if TOT calculation is ongoing, ADC value may be corrupted if this is true
0026   bool TOTComplete{}; ///< Flag which indicates if a TOT calculation is complete and TOT value is valid
0027 
0028 
0029 };
0030 
0031 std::ostream& operator<<(std::ostream& o, const HGCROCSample& value);
0032 
0033 #if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
0034 void to_json(nlohmann::json& j, const HGCROCSample& value);
0035 #endif
0036 
0037 namespace v850 {
0038 using HGCROCSample = edm4eic::HGCROCSample;
0039 } // namespace v850
0040 
0041 
0042 } // namespace edm4eic
0043 
0044 
0045 #endif