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_SimTrackerHitDATA_H
0004 #define EDM4HEP_SimTrackerHitDATA_H
0005 
0006 #include "edm4hep/Vector3d.h"
0007 #include "edm4hep/Vector3f.h"
0008 #include <cstdint>
0009 
0010 namespace edm4hep {
0011 
0012 /** @class SimTrackerHitData
0013  *  Simulated tracker hit
0014  *  @author: EDM4hep authors
0015  */
0016 class SimTrackerHitData {
0017 public:
0018   std::uint64_t cellID{};         ///< ID of the sensor that created this hit
0019   float eDep{};                   ///< energy deposited in the hit [GeV]
0020   float time{};                   ///< proper time of the hit in the lab frame [ns]
0021   float pathLength{};             ///< path length of the particle in the sensitive material that resulted in this hit
0022   std::int32_t quality{};         ///< quality bit flag
0023   ::edm4hep::Vector3d position{}; ///< the hit position [mm]
0024   ::edm4hep::Vector3f momentum{}; ///< the 3-momentum of the particle at the hits position [GeV]
0025 };
0026 
0027 namespace v6 {
0028   using SimTrackerHitData = edm4hep::SimTrackerHitData;
0029 } // namespace v6
0030 
0031 // Definition for older versions
0032 namespace v5 {
0033   class SimTrackerHitData {
0034   public:
0035     std::uint64_t cellID{}; ///< ID of the sensor that created this hit
0036     float eDep{};           ///< energy deposited in the hit [GeV]
0037     float time{};           ///< proper time of the hit in the lab frame [ns]
0038     float pathLength{};     ///< path length of the particle in the sensitive material that resulted in this hit
0039     std::int32_t quality{}; ///< quality bit flag
0040     ::edm4hep::v5::Vector3d position{}; ///< the hit position [mm]
0041     ::edm4hep::v5::Vector3f momentum{}; ///< the 3-momentum of the particle at the hits position [GeV]
0042   };
0043 } // namespace v5
0044 namespace v4 {
0045   class SimTrackerHitData {
0046   public:
0047     std::uint64_t cellID{}; ///< ID of the sensor that created this hit
0048     float eDep{};           ///< energy deposited in the hit [GeV]
0049     float time{};           ///< proper time of the hit in the lab frame [ns]
0050     float pathLength{};     ///< path length of the particle in the sensitive material that resulted in this hit
0051     std::int32_t quality{}; ///< quality bit flag
0052     ::edm4hep::v4::Vector3d position{}; ///< the hit position [mm]
0053     ::edm4hep::v4::Vector3f momentum{}; ///< the 3-momentum of the particle at the hits position [GeV]
0054   };
0055 } // namespace v4
0056 namespace v3 {
0057   class SimTrackerHitData {
0058   public:
0059     std::uint64_t cellID{}; ///< ID of the sensor that created this hit
0060     float eDep{};           ///< energy deposited in the hit [GeV]
0061     float time{};           ///< proper time of the hit in the lab frame [ns]
0062     float pathLength{};     ///< path length of the particle in the sensitive material that resulted in this hit
0063     std::int32_t quality{}; ///< quality bit flag
0064     ::edm4hep::v3::Vector3d position{}; ///< the hit position [mm]
0065     ::edm4hep::v3::Vector3f momentum{}; ///< the 3-momentum of the particle at the hits position [GeV]
0066   };
0067 } // namespace v3
0068 namespace v2 {
0069   class SimTrackerHitData {
0070   public:
0071     std::uint64_t cellID{}; ///< ID of the sensor that created this hit
0072     float eDep{};           ///< energy deposited in the hit [GeV]
0073     float time{};           ///< proper time of the hit in the lab frame [ns]
0074     float pathLength{};     ///< path length of the particle in the sensitive material that resulted in this hit
0075     std::int32_t quality{}; ///< quality bit flag
0076     ::edm4hep::v2::Vector3d position{}; ///< the hit position [mm]
0077     ::edm4hep::v2::Vector3f momentum{}; ///< the 3-momentum of the particle at the hits position [GeV]
0078   };
0079 } // namespace v2
0080 
0081 } // namespace edm4hep
0082 
0083 #endif