Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-15 08:55:57

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