LDMX Software
|
A photonuclear model that removes the photonNuclear process entirely. More...
#include <NoPhotoNuclearModel.h>
Public Member Functions | |
NoPhotoNuclearModel (const std::string &name, const framework::config::Parameters ¶meters) | |
void | ConstructGammaProcess (G4ProcessManager *processManager) override |
The primary part of the model interface, responsible for adding the desired G4HadronicInteraction to the process manager for the G4Gamma class. | |
Public Member Functions inherited from simcore::PhotoNuclearModel | |
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. | |
virtual void | removeExistingModel (G4ProcessManager *processManager) |
Removes any existing photonNuclear process from the process manager of the G4Gamma class. | |
virtual void | addPNCrossSectionData (G4HadronInelasticProcess *process) const |
Default implementation for adding XS data for the process. | |
Additional Inherited Members | |
Public Types inherited from simcore::PhotoNuclearModel | |
using | Factory = ::simcore::Factory< PhotoNuclearModel, std::shared_ptr< PhotoNuclearModel >, const std::string &, const framework::config::Parameters & > |
The factory for PhotoNuclearModels. | |
A photonuclear model that removes the photonNuclear process entirely.
Be careful when using that you aren't using any other part of ldmx-sw that relies on the photonNuclear process being defined such as a biasing operator for photonuclear reactions.
Definition at line 18 of file NoPhotoNuclearModel.h.
|
inline |
Definition at line 20 of file NoPhotoNuclearModel.h.
|
overridevirtual |
The primary part of the model interface, responsible for adding the desired G4HadronicInteraction to the process manager for the G4Gamma class.
[in] | processManager | the process manager for the G4Gamma class, passed in automatically by the GammaPhysics module. |
Implements simcore::PhotoNuclearModel.
Definition at line 5 of file NoPhotoNuclearModel.cxx.