Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-20 10:08:43

0001 // AUTOMATICALLY GENERATED FILE - DO NOT EDIT
0002 
0003 #ifndef EDM4HEP_CaloHitContributionDATA_H
0004 #define EDM4HEP_CaloHitContributionDATA_H
0005 
0006 #include "edm4hep/Vector3f.h"
0007 #include <cstdint>
0008 
0009 namespace edm4hep {
0010 
0011 /** @class CaloHitContributionData
0012  *  Monte Carlo contribution to SimCalorimeterHit
0013  *  @author: EDM4hep authors
0014  */
0015 class CaloHitContributionData {
0016 public:
0017   std::int32_t PDG{};                 ///< PDG code of the shower particle that caused this contribution
0018   float energy{};                     ///< energy of this contribution [GeV]
0019   float time{};                       ///< time of this contribution [ns]
0020   ::edm4hep::Vector3f stepPosition{}; ///< position of this energy deposition (step) [mm]
0021   float stepLength{};                 ///< Geant4 step length for this contribution [mm]
0022 };
0023 
0024 namespace v5 {
0025   using CaloHitContributionData = edm4hep::CaloHitContributionData;
0026 } // namespace v5
0027 
0028 } // namespace edm4hep
0029 
0030 #endif