Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-17 08:53:40

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/io/ImportLivermorePE.hh
0006 //---------------------------------------------------------------------------//
0007 #pragma once
0008 
0009 #include <vector>
0010 
0011 #include "celeritas/inp/Grid.hh"
0012 
0013 namespace celeritas
0014 {
0015 //---------------------------------------------------------------------------//
0016 /*!
0017  * Livermore EPICS2014 photoelectric cross section data for a single element.
0018  */
0019 struct ImportLivermoreSubshell
0020 {
0021     double binding_energy;  //!< Ionization energy [MeV]
0022     std::vector<double> param_lo;  //!< Low energy xs fit parameters
0023     std::vector<double> param_hi;  //!< High energy xs fit parameters
0024     inp::Grid xs;  //!< Tabulated cross sections [b]
0025 };
0026 
0027 struct ImportLivermorePE
0028 {
0029     inp::Grid xs_lo;  //!< Low energy range tabulated xs [b]
0030     inp::Grid xs_hi;  //!< High energy range tabulated xs [b]
0031     double thresh_lo;  //!< Threshold for low energy fit [MeV]
0032     double thresh_hi;  //!< Threshold for high energy fit [MeV]
0033     std::vector<ImportLivermoreSubshell> shells;
0034 };
0035 
0036 //---------------------------------------------------------------------------//
0037 }  // namespace celeritas