![]() |
|
|||
File indexing completed on 2025-09-17 08:53:41
0001 //------------------------------- -*- C++ -*- -------------------------------// 0002 // Copyright Celeritas contributors: see top-level COPYRIGHT file for details 0003 // SPDX-License-Identifier: (Apache-2.0 OR MIT) 0004 //---------------------------------------------------------------------------// 0005 //! \file celeritas/neutron/interactor/detail/CascadeParticle.hh 0006 //---------------------------------------------------------------------------// 0007 #pragma once 0008 0009 #include "corecel/Types.hh" 0010 #include "celeritas/Quantities.hh" 0011 #include "celeritas/Types.hh" 0012 #include "celeritas/phys/FourVector.hh" 0013 0014 namespace celeritas 0015 { 0016 //---------------------------------------------------------------------------// 0017 /*! 0018 * Particle data to track the intra-nuclear cascade interactions. 0019 */ 0020 struct CascadeParticle 0021 { 0022 //! Types of cascade particles in intra-nuclear interactions 0023 enum class ParticleType 0024 { 0025 unknown, 0026 proton, 0027 neutron, 0028 gamma 0029 }; 0030 0031 ParticleType type{ParticleType::unknown}; //!< Particle type 0032 units::MevMass mass; //!< Particle mass 0033 FourVector four_vec; //!< Four momentum in natural units 0034 }; 0035 0036 //---------------------------------------------------------------------------// 0037 } // namespace celeritas
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |