Definition at line 39 of file BertiniNothingHardModel.h.
◆ BertiniNothingHardModel()
Definition at line 41 of file BertiniNothingHardModel.h.
44 threshold_{parameters.getParameter<double>("hard_particle_threshold")},
45 zmin_{parameters.getParameter<int>("zmin")},
46 emin_{parameters.getParameter<double>("emin")},
47 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::BertiniNothingHardModel::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 20 of file BertiniNothingHardModel.cxx.
21 {
22 auto photo_nuclear_process{
23 new G4HadronInelasticProcess("photonNuclear", G4Gamma::Definition())};
24 auto model{new BertiniNothingHardProcess{threshold_, zmin_, emin_,
25 count_light_ions_}};
26 model->SetMaxEnergy(15 * CLHEP::GeV);
28 photo_nuclear_process->RegisterMe(model);
29 processManager->AddDiscreteProcess(photo_nuclear_process);
30}
virtual void addPNCrossSectionData(G4HadronInelasticProcess *process) const
Default implementation for adding XS data for the process.
References simcore::PhotoNuclearModel::addPNCrossSectionData().
◆ count_light_ions_
| bool simcore::BertiniNothingHardModel::count_light_ions_ |
|
private |
◆ emin_
| double simcore::BertiniNothingHardModel::emin_ |
|
private |
◆ threshold_
| double simcore::BertiniNothingHardModel::threshold_ |
|
private |
◆ zmin_
| int simcore::BertiniNothingHardModel::zmin_ |
|
private |
The documentation for this class was generated from the following files: