Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-18 10:16:26

0001 // AUTOMATICALLY GENERATED FILE - DO NOT EDIT
0002 
0003 #ifndef EDM4HEP_MCParticleDATA_H
0004 #define EDM4HEP_MCParticleDATA_H
0005 
0006 #include "edm4hep/Vector3d.h"
0007 #include <cstdint>
0008 
0009 namespace edm4hep {
0010 
0011 /** @class MCParticleData
0012  *  The Monte Carlo particle - based on the lcio::MCParticle.
0013  *  @author: EDM4hep authors
0014  */
0015 class MCParticleData {
0016 public:
0017   std::int32_t PDG{};             ///< PDG code of the particle
0018   std::int32_t generatorStatus{}; ///< status of the particle as defined by the generator
0019   std::int32_t simulatorStatus{}; ///< status of the particle from the simulation program - use BIT constants below
0020   float charge{};                 ///< particle charge [e]
0021   float time{};  ///< creation time of the particle in wrt. the event, e.g. for preassigned decays or decays in flight
0022                  ///< from the simulator [ns]
0023   double mass{}; ///< mass of the particle [GeV]
0024   ::edm4hep::Vector3d vertex{};             ///< production vertex of the particle [mm]
0025   ::edm4hep::Vector3d endpoint{};           ///< endpoint of the particle [mm]
0026   ::edm4hep::Vector3d momentum{};           ///< particle 3-momentum at the production vertex [GeV]
0027   ::edm4hep::Vector3d momentumAtEndpoint{}; ///< particle 3-momentum at the endpoint [GeV]
0028   std::int32_t helicity{9};                 ///< particle helicity (9 if unset)
0029 
0030   unsigned int parents_begin{};
0031   unsigned int parents_end{};
0032   unsigned int daughters_begin{};
0033   unsigned int daughters_end{};
0034 };
0035 
0036 namespace v5 {
0037   using MCParticleData = edm4hep::MCParticleData;
0038 } // namespace v5
0039 
0040 } // namespace edm4hep
0041 
0042 #endif