LDMX Software
|
extra gamma particle physics for simulation and sets up the photonuclear model to use from the configuration More...
Public Member Functions | |
GammaPhysics (const G4String &name, const framework::config::Parameters ¶meters) | |
Class constructor. | |
virtual | ~GammaPhysics ()=default |
Class destructor. | |
void | ConstructParticle () final |
Construct particles. | |
void | ConstructProcess () final |
We do two things for this call back during initialization. | |
Private Attributes | |
G4GammaConversionToMuons | gammaConvProcess |
The gamma to muons process. | |
framework::config::Parameters | modelParameters |
Parameters from the configuration to pass along to the photonuclear model. | |
extra gamma particle physics for simulation and sets up the photonuclear model to use from the configuration
Is responsible for selecting the photonuclear model from the python configuration. Currently adds gamma -> mumu reaction using the G4GammaConversionToMuons process. Also changes ordering of gamma processes such that photonNuclear and GammaToMuMu are called first.
Definition at line 36 of file GammaPhysics.h.
simcore::GammaPhysics::GammaPhysics | ( | const G4String & | name, |
const framework::config::Parameters & | parameters | ||
) |
Class constructor.
name | The name of the physics. |
parameters | The python configuration |
Definition at line 12 of file GammaPhysics.cxx.
|
final |
Construct particles.
We don't do anything here since we are just attaching/updating the photon physics.
Definition at line 18 of file GammaPhysics.cxx.
|
final |
We do two things for this call back during initialization.
Put the PN process first in the ordering in case PN biasing is happening.
Process ordering is a complicated concept and unfortunately its affect on biasing is poorly documented. What has been said is that some processes need to be called last[1]. In addition, the practical experience of working on defining a custom process for G4DarkBreM showed that sometimes Geant4 does not get through the full list of processes but it always starts at the beginning. For these reasons, we put the PN process first in the ordering so that we can insure it is always check by Geant4 before continuing.
Definition at line 20 of file GammaPhysics.cxx.
References gammaConvProcess, simcore::Factory< Prototype, PrototypePtr, PrototypeConstructorArgs >::get(), framework::config::Parameters::getParameter(), simcore::Factory< Prototype, PrototypePtr, PrototypeConstructorArgs >::make(), and modelParameters.
|
private |
The gamma to muons process.
Definition at line 75 of file GammaPhysics.h.
Referenced by ConstructProcess().
|
private |
Parameters from the configuration to pass along to the photonuclear model.
Definition at line 80 of file GammaPhysics.h.
Referenced by ConstructProcess().