|
LDMX Software
|
Physics constructor that replaces the built-in Geant4 electronNuclear process with the GENIE-based GenieElectroNuclearProcess. More...
#include <GenieNuclearPhysics.h>
Public Member Functions | |
| GenieNuclearPhysics (const framework::config::Parameters ¶ms) | |
| Constructor. | |
| void | ConstructParticle () override |
| No new particles to construct. | |
| void | ConstructProcess () override |
| Remove the built-in electronNuclear process and register the GENIE-based replacement. | |
Static Public Attributes | |
| static const std::string | NAME = "GenieNuclear" |
| Name of this physics constructor. | |
Private Attributes | |
| framework::config::Parameters | params_ |
| Stored configuration to forward to the process. | |
| bool | enable_ |
| Is the GENIE process enabled? | |
Physics constructor that replaces the built-in Geant4 electronNuclear process with the GENIE-based GenieElectroNuclearProcess.
Follows the same pattern as APrimePhysics. Registered with the physics list in RunManager::setupPhysics().
Definition at line 24 of file GenieNuclearPhysics.h.
| simcore::GenieNuclearPhysics::GenieNuclearPhysics | ( | const framework::config::Parameters & | params | ) |
Constructor.
| params | Configuration parameters forwarded to the process |
Definition at line 17 of file GenieNuclearPhysics.cxx.
References enable_, framework::config::Parameters::get(), and params_.
|
override |
No new particles to construct.
Definition at line 23 of file GenieNuclearPhysics.cxx.
|
override |
Remove the built-in electronNuclear process and register the GENIE-based replacement.
Definition at line 27 of file GenieNuclearPhysics.cxx.
|
private |
Is the GENIE process enabled?
Definition at line 51 of file GenieNuclearPhysics.h.
Referenced by ConstructProcess(), and GenieNuclearPhysics().
|
static |
Name of this physics constructor.
Definition at line 27 of file GenieNuclearPhysics.h.
|
private |
Stored configuration to forward to the process.
Definition at line 48 of file GenieNuclearPhysics.h.
Referenced by ConstructProcess(), and GenieNuclearPhysics().