Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:55:35

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 /** @class MCParticleData
0014  *  The Monte Carlo particle - based on the lcio::MCParticle.
0015  *  @author: F.Gaede, DESY
0016  */
0017 class MCParticleData {
0018 public:
0019   std::int32_t PDG{};             ///< PDG code of the particle
0020   std::int32_t generatorStatus{}; ///< status of the particle as defined by the generator
0021   std::int32_t simulatorStatus{}; ///< status of the particle from the simulation program - use BIT constants below
0022   float charge{};                 ///< particle charge
0023   float time{};  ///< creation time of the particle in [ns] wrt. the event, e.g. for preassigned decays or decays in
0024                  ///< flight from the simulator.
0025   double mass{}; ///< mass of the particle in [GeV]
0026   ::edm4hep::Vector3d vertex{};             ///< production vertex of the particle in [mm].
0027   ::edm4hep::Vector3d endpoint{};           ///< endpoint of the particle in [mm]
0028   ::edm4hep::Vector3f momentum{};           ///< particle 3-momentum at the production vertex in [GeV]
0029   ::edm4hep::Vector3f momentumAtEndpoint{}; ///< particle 3-momentum at the endpoint in [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 #endif