Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-18 09:12:07

0001 // AUTOMATICALLY GENERATED FILE - DO NOT EDIT
0002 
0003 #ifndef EDM4HEP_CalorimeterHitDATA_H
0004 #define EDM4HEP_CalorimeterHitDATA_H
0005 
0006 #include "edm4hep/Vector3f.h"
0007 #include <cstdint>
0008 
0009 namespace edm4hep {
0010 
0011 /** @class CalorimeterHitData
0012  *  Calorimeter hit
0013  *  @author: EDM4hep authors
0014  */
0015 class CalorimeterHitData {
0016 public:
0017   std::uint64_t cellID{};         ///< detector specific (geometrical) cell id
0018   float energy{};                 ///< energy of the hit [GeV]
0019   float energyError{};            ///< error of the hit energy [GeV]
0020   float time{};                   ///< time of the hit [ns]
0021   ::edm4hep::Vector3f position{}; ///< position of the hit in world coordinates [mm]
0022   std::int32_t type{};            ///< type of hit
0023 };
0024 
0025 namespace v6 {
0026   using CalorimeterHitData = edm4hep::CalorimeterHitData;
0027 } // namespace v6
0028 
0029 // Definition for older versions
0030 namespace v5 {
0031   class CalorimeterHitData {
0032   public:
0033     std::uint64_t cellID{};             ///< detector specific (geometrical) cell id
0034     float energy{};                     ///< energy of the hit [GeV]
0035     float energyError{};                ///< error of the hit energy [GeV]
0036     float time{};                       ///< time of the hit [ns]
0037     ::edm4hep::v5::Vector3f position{}; ///< position of the hit in world coordinates [mm]
0038     std::int32_t type{};                ///< type of hit
0039   };
0040 } // namespace v5
0041 namespace v4 {
0042   class CalorimeterHitData {
0043   public:
0044     std::uint64_t cellID{};             ///< detector specific (geometrical) cell id
0045     float energy{};                     ///< energy of the hit [GeV]
0046     float energyError{};                ///< error of the hit energy [GeV]
0047     float time{};                       ///< time of the hit [ns]
0048     ::edm4hep::v4::Vector3f position{}; ///< position of the hit in world coordinates [mm]
0049     std::int32_t type{};                ///< type of hit
0050   };
0051 } // namespace v4
0052 namespace v3 {
0053   class CalorimeterHitData {
0054   public:
0055     std::uint64_t cellID{};             ///< detector specific (geometrical) cell id
0056     float energy{};                     ///< energy of the hit [GeV]
0057     float energyError{};                ///< error of the hit energy [GeV]
0058     float time{};                       ///< time of the hit [ns]
0059     ::edm4hep::v3::Vector3f position{}; ///< position of the hit in world coordinates [mm]
0060     std::int32_t type{};                ///< type of hit
0061   };
0062 } // namespace v3
0063 namespace v2 {
0064   class CalorimeterHitData {
0065   public:
0066     std::uint64_t cellID{};             ///< detector specific (geometrical) cell id
0067     float energy{};                     ///< energy of the hit [GeV]
0068     float energyError{};                ///< error of the hit energy [GeV]
0069     float time{};                       ///< time of the hit [ns]
0070     ::edm4hep::v2::Vector3f position{}; ///< position of the hit in world coordinates [mm]
0071     std::int32_t type{};                ///< type of hit
0072   };
0073 } // namespace v2
0074 
0075 } // namespace edm4hep
0076 
0077 #endif