Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-15 09:06:31

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