File indexing completed on 2026-01-03 10:02:08
0001
0002
0003
0004
0005
0006
0007 #pragma once
0008
0009 #include <memory>
0010
0011 #include "celeritas/phys/Applicability.hh"
0012 #include "celeritas/phys/ImportedProcessAdapter.hh"
0013 #include "celeritas/phys/ParticleParams.hh"
0014 #include "celeritas/phys/Process.hh"
0015
0016 namespace celeritas
0017 {
0018
0019
0020
0021
0022 class ComptonProcess : public Process
0023 {
0024 public:
0025
0026
0027 using SPConstParticles = std::shared_ptr<ParticleParams const>;
0028 using SPConstImported = std::shared_ptr<ImportedProcesses const>;
0029
0030
0031 public:
0032
0033 ComptonProcess(SPConstParticles particles, SPConstImported process_data);
0034
0035
0036 VecModel build_models(ActionIdIter start_id) const final;
0037
0038
0039 XsGrid macro_xs(Applicability range) const final;
0040
0041
0042 EnergyLossGrid energy_loss(Applicability range) const final;
0043
0044
0045 bool supports_integral_xs() const final { return false; }
0046
0047
0048 bool applies_at_rest() const final { return imported_.applies_at_rest(); }
0049
0050
0051 std::string_view label() const final;
0052
0053 private:
0054 SPConstParticles particles_;
0055 ImportedProcessAdapter imported_;
0056 };
0057
0058
0059 }