LDMX Software
Public Member Functions | List of all members
simcore::NoPhotoNuclearModel Class Reference

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 &parameters)
 
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 &parameters)
 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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ NoPhotoNuclearModel()

simcore::NoPhotoNuclearModel::NoPhotoNuclearModel ( const std::string &  name,
const framework::config::Parameters parameters 
)
inline

Definition at line 20 of file NoPhotoNuclearModel.h.

22 : PhotoNuclearModel{name, parameters} {}
PhotoNuclearModel(const std::string &name, const framework::config::Parameters &parameters)
Base class does not take any parameters or do anything in particular, but any derived class may.

Member Function Documentation

◆ ConstructGammaProcess()

void simcore::NoPhotoNuclearModel::ConstructGammaProcess ( G4ProcessManager *  processManager)
overridevirtual

The primary part of the model interface, responsible for adding the desired G4HadronicInteraction to the process manager for the G4Gamma class.

Parameters
[in]processManagerthe process manager for the G4Gamma class, passed in automatically by the GammaPhysics module.

Implements simcore::PhotoNuclearModel.

Definition at line 5 of file NoPhotoNuclearModel.cxx.

6 {
7 // Do nothing
8}

The documentation for this class was generated from the following files: