![]() |
|
|||
File indexing completed on 2025-10-15 08:55:04
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/phys/Primary.hh 0006 //---------------------------------------------------------------------------// 0007 #pragma once 0008 0009 #include "corecel/Types.hh" 0010 #include "celeritas/Types.hh" 0011 0012 #include "ParticleData.hh" 0013 0014 namespace celeritas 0015 { 0016 //---------------------------------------------------------------------------// 0017 /*! 0018 * Starting "source" particle. 0019 * 0020 * One or more of these are emitted by an Event. 0021 */ 0022 struct Primary 0023 { 0024 ParticleId particle_id; 0025 units::MevEnergy energy; 0026 Real3 position{0, 0, 0}; 0027 Real3 direction{0, 0, 0}; 0028 real_type time{}; 0029 EventId event_id; 0030 }; 0031 0032 //---------------------------------------------------------------------------// 0033 } // 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 |
![]() ![]() |