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