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

The default photonuclear model for LDMX simulations. More...

#include <BertiniModel.h>

Public Member Functions

 BertiniModel (const std::string &name, const framework::config::Parameters &parameters)
 
void ConstructGammaProcess (G4ProcessManager *) override
 Do nothing, the Bertini process is already present.
 
void removeExistingModel (G4ProcessManager *) override
 Do nothing, we don't want to remove the existing process.
 
- 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 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

The default photonuclear model for LDMX simulations.

Since the Bertini G4HadronicInteraction comes registered by default, this model does not construct any new process but does override the removeExistingModel function to ensure that the existing process is not removed.

Definition at line 16 of file BertiniModel.h.

Constructor & Destructor Documentation

◆ BertiniModel()

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

Definition at line 18 of file BertiniModel.h.

20 : 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::BertiniModel::ConstructGammaProcess ( G4ProcessManager *  )
inlineoverridevirtual

Do nothing, the Bertini process is already present.

Implements simcore::PhotoNuclearModel.

Definition at line 25 of file BertiniModel.h.

25{}

◆ removeExistingModel()

void simcore::BertiniModel::removeExistingModel ( G4ProcessManager *  )
inlineoverridevirtual

Do nothing, we don't want to remove the existing process.

Reimplemented from simcore::PhotoNuclearModel.

Definition at line 29 of file BertiniModel.h.

29{}

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