![]() |
|
|||
File indexing completed on 2025-02-22 10:31:25
0001 //----------------------------------*-C++-*----------------------------------// 0002 // Copyright 2024 UT-Battelle, LLC, and other Celeritas developers. 0003 // See the top-level COPYRIGHT file for details. 0004 // SPDX-License-Identifier: (Apache-2.0 OR MIT) 0005 //---------------------------------------------------------------------------// 0006 //! \file celeritas/neutron/interactor/detail/CascadeParticle.hh 0007 //---------------------------------------------------------------------------// 0008 #pragma once 0009 0010 #include "corecel/Types.hh" 0011 #include "celeritas/Quantities.hh" 0012 #include "celeritas/Types.hh" 0013 #include "celeritas/phys/FourVector.hh" 0014 0015 namespace celeritas 0016 { 0017 //---------------------------------------------------------------------------// 0018 /*! 0019 * Particle data to track the intra-nuclear cascade interactions. 0020 */ 0021 struct CascadeParticle 0022 { 0023 //! Types of cascade particles in intra-nuclear interactions 0024 enum class ParticleType 0025 { 0026 unknown, 0027 proton, 0028 neutron, 0029 gamma 0030 }; 0031 0032 ParticleType type{ParticleType::unknown}; //!< Particle type 0033 units::MevMass mass; // !< Particle mass 0034 FourVector four_vec; //!< Four momentum in natural MevMomentum and 0035 //!< MevEnergy units 0036 }; 0037 0038 //---------------------------------------------------------------------------// 0039 } // 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 |
![]() ![]() |