Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
Singleton class for configuring the INCL++ Geant4 interface. More...
#include <G4INCLXXInterfaceStore.hh>
Public Member Functions | |
G4INCL::INCL * | GetINCLModel () |
Get the cached INCL model engine. | |
void | constructINCLXXVersionName () |
const std::string & | getINCLXXVersionName () |
void | SetAccurateProjectile (const G4bool b) |
Setter for accurateProjectile. | |
void | SetMaxClusterMass (const G4int aMass) |
Setter for the maximum cluster mass. | |
void | SetCascadeMinEnergyPerNucleon (const G4double anEnergy) |
Setter for cascadeMinEnergyPerNucleon. | |
void | SetConservationTolerance (const G4double aTolerance) |
Setter for conservationTolerance. | |
G4bool | GetAccurateProjectile () const |
Getter for accurateProjectile. | |
G4double | GetCascadeMinEnergyPerNucleon () const |
Getter for cascadeMinEnergyPerNucleon. | |
G4INCL::Config & | GetINCLConfig () |
Getter for theConfig. | |
G4int | GetMaxProjMassINCL () const |
Getter for theMaxProjMassINCL. | |
G4double | GetConservationTolerance () const |
Getter for conservationTolerance. | |
void | EmitWarning (const G4String &message) |
Emit a warning to G4cout. | |
void | EmitBigWarning (const G4String &message) const |
Emit a BIG warning to G4cout. | |
G4INCLXXVInterfaceTally * | GetTally () const |
Getter for the interface tally. | |
void | SetTally (G4INCLXXVInterfaceTally *const aTally) |
Setter for the interface tally. | |
void | SetINCLPhysics (const G4String &option) |
Set the INCL physics. | |
void | UseAblaDeExcitation () |
Set ABLA V3 to be the de-excitation model to be used with INCL++. | |
Static Public Member Functions | |
static G4INCLXXInterfaceStore * | GetInstance () |
Get the singleton instance. | |
static void | DeleteInstance () |
Delete the singleton instance. | |
Singleton class for configuring the INCL++ Geant4 interface.
This class also contains a single cached instance of the INCL model (
Definition at line 64 of file G4INCLXXInterfaceStore.hh.
void G4INCLXXInterfaceStore::constructINCLXXVersionName | ( | ) |
Definition at line 102 of file G4INCLXXInterfaceStore.cc.
|
static |
Delete the singleton instance.
Definition at line 88 of file G4INCLXXInterfaceStore.cc.
void G4INCLXXInterfaceStore::EmitBigWarning | ( | const G4String & | message | ) | const |
Emit a BIG warning to G4cout.
There is no limit on the number of BIG warnings emitted.
Definition at line 181 of file G4INCLXXInterfaceStore.cc.
Referenced by G4INCLXXInterface::ApplyYourself(), G4INCLXXInterface::G4INCLXXInterface(), SetAccurateProjectile(), SetCascadeMinEnergyPerNucleon(), SetINCLPhysics(), and SetMaxClusterMass().
void G4INCLXXInterfaceStore::EmitWarning | ( | const G4String & | message | ) |
Emit a warning to G4cout.
The InterfaceStore will not emit more than maxWarnings warnings.
Definition at line 172 of file G4INCLXXInterfaceStore.cc.
Referenced by G4INCLXXInterface::ApplyYourself(), and G4INCLXXInterface::G4INCLXXInterface().
G4bool G4INCLXXInterfaceStore::GetAccurateProjectile | ( | ) | const |
Getter for accurateProjectile.
The
Definition at line 156 of file G4INCLXXInterfaceStore.cc.
G4double G4INCLXXInterfaceStore::GetCascadeMinEnergyPerNucleon | ( | ) | const |
Getter for cascadeMinEnergyPerNucleon.
The
Definition at line 158 of file G4INCLXXInterfaceStore.cc.
Referenced by G4INCLXXInterface::ApplyYourself().
G4double G4INCLXXInterfaceStore::GetConservationTolerance | ( | ) | const |
Getter for conservationTolerance.
Definition at line 165 of file G4INCLXXInterfaceStore.cc.
Referenced by G4INCLXXInterface::ApplyYourself().
G4INCL::Config & G4INCLXXInterfaceStore::GetINCLConfig | ( | ) |
Getter for theConfig.
Definition at line 160 of file G4INCLXXInterfaceStore.cc.
G4INCL::INCL * G4INCLXXInterfaceStore::GetINCLModel | ( | ) |
Get the cached INCL model engine.
Definition at line 93 of file G4INCLXXInterfaceStore.cc.
Referenced by G4INCLXXInterface::ApplyYourself().
const std::string & G4INCLXXInterfaceStore::getINCLXXVersionName | ( | ) |
Definition at line 108 of file G4INCLXXInterfaceStore.cc.
Referenced by UseAblaDeExcitation().
|
static |
Get the singleton instance.
Definition at line 82 of file G4INCLXXInterfaceStore.cc.
Referenced by G4INCLXXInterface::ApplyYourself(), and UseAblaDeExcitation().
G4int G4INCLXXInterfaceStore::GetMaxProjMassINCL | ( | ) | const |
Getter for theMaxProjMassINCL.
Definition at line 170 of file G4INCLXXInterfaceStore.cc.
Referenced by G4INCLXXInterface::ApplyYourself().
G4INCLXXVInterfaceTally * G4INCLXXInterfaceStore::GetTally | ( | ) | const |
Getter for the interface tally.
Definition at line 221 of file G4INCLXXInterfaceStore.cc.
Referenced by G4INCLXXInterface::ApplyYourself().
void G4INCLXXInterfaceStore::SetAccurateProjectile | ( | const G4bool | b | ) |
Setter for accurateProjectile.
Definition at line 114 of file G4INCLXXInterfaceStore.cc.
Referenced by G4INCLXXInterfaceMessenger::SetNewValue().
void G4INCLXXInterfaceStore::SetCascadeMinEnergyPerNucleon | ( | const G4double | anEnergy | ) |
Setter for cascadeMinEnergyPerNucleon.
Definition at line 198 of file G4INCLXXInterfaceStore.cc.
Referenced by G4INCLXXInterfaceMessenger::SetNewValue().
void G4INCLXXInterfaceStore::SetConservationTolerance | ( | const G4double | aTolerance | ) |
Setter for conservationTolerance.
Definition at line 217 of file G4INCLXXInterfaceStore.cc.
void G4INCLXXInterfaceStore::SetINCLPhysics | ( | const G4String & | option | ) |
Set the INCL physics.
Definition at line 225 of file G4INCLXXInterfaceStore.cc.
Referenced by G4INCLXXInterfaceMessenger::SetNewValue().
void G4INCLXXInterfaceStore::SetMaxClusterMass | ( | const G4int | aMass | ) |
Setter for the maximum cluster mass.
Definition at line 131 of file G4INCLXXInterfaceStore.cc.
Referenced by G4INCLXXInterfaceMessenger::SetNewValue().
void G4INCLXXInterfaceStore::SetTally | ( | G4INCLXXVInterfaceTally *const | aTally | ) |
Setter for the interface tally.
Definition at line 223 of file G4INCLXXInterfaceStore.cc.
void G4INCLXXInterfaceStore::UseAblaDeExcitation | ( | ) |
Set ABLA V3 to be the de-excitation model to be used with INCL++.
Definition at line 250 of file G4INCLXXInterfaceStore.cc.
Referenced by G4INCLXXInterfaceMessenger::SetNewValue().