Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-15 10:11:02

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/setup/Events.hh
0006 //---------------------------------------------------------------------------//
0007 #pragma once
0008 
0009 #include <memory>
0010 #include <vector>
0011 
0012 #include "celeritas/inp/Events.hh"
0013 
0014 namespace celeritas
0015 {
0016 struct Primary;
0017 class ParticleParams;
0018 
0019 namespace setup
0020 {
0021 //---------------------------------------------------------------------------//
0022 // Load events
0023 std::vector<std::vector<Primary>>
0024 events(inp::Events const& inp,
0025        std::shared_ptr<ParticleParams const> const& particles);
0026 
0027 //---------------------------------------------------------------------------//
0028 }  // namespace setup
0029 }  // namespace celeritas