Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-07-31 09:02:34

0001 // AUTOMATICALLY GENERATED FILE - DO NOT EDIT
0002 
0003 #ifndef EDM4HEP_RawTimeSeriesDATA_H
0004 #define EDM4HEP_RawTimeSeriesDATA_H
0005 
0006 #include <cstdint>
0007 
0008 namespace edm4hep {
0009 
0010 /** @class RawTimeSeriesData
0011  *  Raw data of a detector readout
0012  *  @author: EDM4hep authors
0013  */
0014 class RawTimeSeriesData {
0015 public:
0016   std::uint64_t cellID{}; ///< detector specific cell id
0017   std::int32_t quality{}; ///< quality flag for the hit
0018   float time{};           ///< time of the hit [ns]
0019   float charge{};         ///< integrated charge of the hit [fC]
0020   float interval{};       ///< interval of each sampling [ns]
0021 
0022   unsigned int adcCounts_begin{};
0023   unsigned int adcCounts_end{};
0024 };
0025 
0026 namespace v6 {
0027   using RawTimeSeriesData = edm4hep::RawTimeSeriesData;
0028 } // namespace v6
0029 
0030 // Definition for older versions
0031 namespace v5 {
0032   class RawTimeSeriesData {
0033   public:
0034     std::uint64_t cellID{}; ///< detector specific cell id
0035     std::int32_t quality{}; ///< quality flag for the hit
0036     float time{};           ///< time of the hit [ns]
0037     float charge{};         ///< integrated charge of the hit [fC]
0038     float interval{};       ///< interval of each sampling [ns]
0039 
0040     unsigned int adcCounts_begin{};
0041     unsigned int adcCounts_end{};
0042   };
0043 } // namespace v5
0044 namespace v4 {
0045   class RawTimeSeriesData {
0046   public:
0047     std::uint64_t cellID{}; ///< detector specific cell id
0048     std::int32_t quality{}; ///< quality flag for the hit
0049     float time{};           ///< time of the hit [ns]
0050     float charge{};         ///< integrated charge of the hit [fC]
0051     float interval{};       ///< interval of each sampling [ns]
0052 
0053     unsigned int adcCounts_begin{};
0054     unsigned int adcCounts_end{};
0055   };
0056 } // namespace v4
0057 namespace v3 {
0058   class RawTimeSeriesData {
0059   public:
0060     std::uint64_t cellID{}; ///< detector specific cell id
0061     std::int32_t quality{}; ///< quality flag for the hit
0062     float time{};           ///< time of the hit [ns]
0063     float charge{};         ///< integrated charge of the hit [fC]
0064     float interval{};       ///< interval of each sampling [ns]
0065 
0066     unsigned int adcCounts_begin{};
0067     unsigned int adcCounts_end{};
0068   };
0069 } // namespace v3
0070 namespace v2 {
0071   class RawTimeSeriesData {
0072   public:
0073     std::uint64_t cellID{}; ///< detector specific cell id
0074     std::int32_t quality{}; ///< quality flag for the hit
0075     float time{};           ///< time of the hit [ns]
0076     float charge{};         ///< integrated charge of the hit [fC]
0077     float interval{};       ///< interval of each sampling [ns]
0078 
0079     unsigned int adcCounts_begin{};
0080     unsigned int adcCounts_end{};
0081   };
0082 } // namespace v2
0083 
0084 } // namespace edm4hep
0085 
0086 #endif