Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:01:11

0001 // -*- C++ -*-
0002 //
0003 // This file is part of HepMC
0004 // Copyright (C) 2014-2023 The HepMC collaboration (see AUTHORS for details)
0005 //
0006 #ifndef HEPMC3_DATA_GENPARTICLEDATA_H
0007 #define HEPMC3_DATA_GENPARTICLEDATA_H
0008 /**
0009  *  @file GenParticleData.h
0010  *  @brief Definition of \b class GenParticleData
0011  *
0012  *  @struct HepMC3::GenParticleData
0013  *  @brief Stores serializable particle information
0014  *
0015  *  @ingroup data
0016  *
0017  */
0018 #include "HepMC3/FourVector.h"
0019 
0020 namespace HepMC3 {
0021 
0022 // NOTE: Keep in mind the data alignment
0023 //       Currently it's 8b alignment = 56b total
0024 struct GenParticleData {
0025     int        pid;               ///< PDG ID
0026     int        status;            ///< Status
0027     bool       is_mass_set;       ///< Check if generated mass is set
0028     double     mass;              ///< Generated mass (if set)
0029     FourVector momentum;          ///< Momentum
0030 };
0031 
0032 } // namespace HepMC
0033 
0034 #endif