File indexing completed on 2025-02-22 10:31:19
0001
0002
0003
0004
0005
0006
0007
0008 #pragma once
0009
0010 #include <memory>
0011
0012 #include "celeritas/phys/Applicability.hh"
0013 #include "celeritas/phys/ImportedProcessAdapter.hh"
0014 #include "celeritas/phys/ParticleParams.hh"
0015 #include "celeritas/phys/Process.hh"
0016
0017 namespace celeritas
0018 {
0019
0020
0021
0022
0023 class EIonizationProcess : public Process
0024 {
0025 public:
0026
0027
0028 using SPConstParticles = std::shared_ptr<ParticleParams const>;
0029 using SPConstImported = std::shared_ptr<ImportedProcesses const>;
0030
0031
0032
0033 struct Options
0034 {
0035 bool use_integral_xs{true};
0036
0037 };
0038
0039 public:
0040
0041 EIonizationProcess(SPConstParticles particles,
0042 SPConstImported process_data,
0043 Options options);
0044
0045
0046 VecModel build_models(ActionIdIter start_id) const final;
0047
0048
0049 StepLimitBuilders step_limits(Applicability applicability) const final;
0050
0051
0052 bool use_integral_xs() const final { return options_.use_integral_xs; }
0053
0054
0055 std::string_view label() const final;
0056
0057 private:
0058 SPConstParticles particles_;
0059 ImportedProcessAdapter imported_;
0060 Options options_;
0061 };
0062
0063
0064 }