Definition at line 34 of file BertiniSingleNeutronModel.h.
◆ BertiniSingleNeutronModel()
Definition at line 36 of file BertiniSingleNeutronModel.h.
39 threshold_{parameters.getParameter<double>("hard_particle_threshold")},
40 zmin_{parameters.getParameter<int>("zmin")},
41 emin_{parameters.getParameter<double>("emin")},
42 count_light_ions_{parameters.getParameter<bool>("count_light_ions")} {}
PhotoNuclearModel(const std::string &name, const framework::config::Parameters ¶meters)
Base class does not take any parameters or do anything in particular, but any derived class may.
◆ constructGammaProcess()
| void simcore::BertiniSingleNeutronModel::constructGammaProcess |
( |
G4ProcessManager * | processManager | ) |
|
|
virtual |
The primary part of the model interface, responsible for adding the desired G4HadronicInteraction to the process manager for the G4Gamma class.
- Parameters
-
| [in] | processManager | the process manager for the G4Gamma class, passed in automatically by the GammaPhysics module_. |
Implements simcore::PhotoNuclearModel.
Definition at line 29 of file BertiniSingleNeutronModel.cxx.
30 {
31 auto photo_nuclear_process{
32 new G4HadronInelasticProcess("photonNuclear", G4Gamma::Definition())};
33 auto model{new BertiniSingleNeutronProcess{threshold_, zmin_, emin_,
34 count_light_ions_}};
35 model->SetMaxEnergy(15 * CLHEP::GeV);
37 photo_nuclear_process->RegisterMe(model);
38 processManager->AddDiscreteProcess(photo_nuclear_process);
39}
virtual void addPNCrossSectionData(G4HadronInelasticProcess *process) const
Default implementation for adding XS data for the process.
References simcore::PhotoNuclearModel::addPNCrossSectionData().
◆ count_light_ions_
| bool simcore::BertiniSingleNeutronModel::count_light_ions_ |
|
private |
◆ emin_
| double simcore::BertiniSingleNeutronModel::emin_ |
|
private |
◆ threshold_
| double simcore::BertiniSingleNeutronModel::threshold_ |
|
private |
◆ zmin_
| int simcore::BertiniSingleNeutronModel::zmin_ |
|
private |
The documentation for this class was generated from the following files: