Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-11-07 10:11:32

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/g4/GeantOffloadUtils.hh
0006 //---------------------------------------------------------------------------//
0007 #pragma once
0008 
0009 class G4Step;
0010 
0011 namespace celeritas
0012 {
0013 namespace optical
0014 {
0015 struct GeneratorDistributionData;
0016 }
0017 
0018 //---------------------------------------------------------------------------//
0019 // FREE FUNCTIONS
0020 //---------------------------------------------------------------------------//
0021 
0022 // Populate a \c GeneratorDistributionData with \c G4Step data
0023 optical::GeneratorDistributionData distribution_from_step(G4Step const&);
0024 
0025 //---------------------------------------------------------------------------//
0026 }  // namespace celeritas