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