Geant4.10
|
Singleton class for configuring the INCL++ Geant4 interface. More...
#include <G4INCLXXInterfaceStore.hh>
Public Member Functions | |
G4INCL::INCL * | GetINCLModel () |
Get the cached INCL model engine. More... | |
void | constructINCLXXVersionName () |
const std::string & | getINCLXXVersionName () |
void | SetAccurateProjectile (const G4bool b) |
Setter for accurateProjectile. More... | |
void | SetMaxClusterMass (const G4int aMass) |
Setter for the maximum cluster mass. More... | |
void | SetCascadeMinEnergyPerNucleon (const G4double anEnergy) |
Setter for cascadeMinEnergyPerNucleon. More... | |
void | SetConservationTolerance (const G4double aTolerance) |
Setter for conservationTolerance. More... | |
G4bool | GetAccurateProjectile () const |
Getter for accurateProjectile. More... | |
G4double | GetCascadeMinEnergyPerNucleon () const |
Getter for cascadeMinEnergyPerNucleon. More... | |
G4INCL::Config & | GetINCLConfig () |
Getter for theConfig. More... | |
G4int | GetMaxProjMassINCL () const |
Getter for theMaxProjMassINCL. More... | |
G4double | GetConservationTolerance () const |
Getter for conservationTolerance. More... | |
void | EmitWarning (const G4String &message) |
Emit a warning to G4cout. More... | |
void | EmitBigWarning (const G4String &message) const |
Emit a BIG warning to G4cout. More... | |
Static Public Member Functions | |
static G4INCLXXInterfaceStore * | GetInstance () |
Get the singleton instance. More... | |
static void | DeleteInstance () |
Delete the singleton instance. More... | |
Singleton class for configuring the INCL++ Geant4 interface.
This class also contains a single cached instance of the INCL model (
Definition at line 62 of file G4INCLXXInterfaceStore.hh.
void G4INCLXXInterfaceStore::constructINCLXXVersionName | ( | ) |
|
static |
Delete the singleton instance.
Definition at line 77 of file G4INCLXXInterfaceStore.cc.
Emit a BIG warning to G4cout.
There is no limit on the number of BIG warnings emitted.
Definition at line 167 of file G4INCLXXInterfaceStore.cc.
References G4cout, and G4endl.
Referenced by G4INCLXXInterface::ApplyYourself(), SetAccurateProjectile(), SetCascadeMinEnergyPerNucleon(), and SetMaxClusterMass().
Emit a warning to G4cout.
The InterfaceStore will not emit more than maxWarnings warnings.
Definition at line 158 of file G4INCLXXInterfaceStore.cc.
References G4cout, and G4endl.
Referenced by G4INCLXXInterface::ApplyYourself(), and G4INCLXXInterface::G4INCLXXInterface().
G4bool G4INCLXXInterfaceStore::GetAccurateProjectile | ( | ) | const |
Getter for accurateProjectile.
The
Definition at line 145 of file G4INCLXXInterfaceStore.cc.
G4double G4INCLXXInterfaceStore::GetCascadeMinEnergyPerNucleon | ( | ) | const |
Getter for cascadeMinEnergyPerNucleon.
The
Definition at line 147 of file G4INCLXXInterfaceStore.cc.
Referenced by G4INCLXXInterface::ApplyYourself().
G4double G4INCLXXInterfaceStore::GetConservationTolerance | ( | ) | const |
Getter for conservationTolerance.
Definition at line 151 of file G4INCLXXInterfaceStore.cc.
G4INCL::Config & G4INCLXXInterfaceStore::GetINCLConfig | ( | ) |
Getter for theConfig.
Definition at line 149 of file G4INCLXXInterfaceStore.cc.
G4INCL::INCL * G4INCLXXInterfaceStore::GetINCLModel | ( | ) |
Get the cached INCL model engine.
Definition at line 82 of file G4INCLXXInterfaceStore.cc.
Referenced by G4INCLXXInterface::ApplyYourself().
const std::string & G4INCLXXInterfaceStore::getINCLXXVersionName | ( | ) |
Definition at line 97 of file G4INCLXXInterfaceStore.cc.
|
static |
Get the singleton instance.
Definition at line 71 of file G4INCLXXInterfaceStore.cc.
Referenced by G4INCLXXInterface::ApplyYourself().
G4int G4INCLXXInterfaceStore::GetMaxProjMassINCL | ( | ) | const |
Getter for theMaxProjMassINCL.
Definition at line 156 of file G4INCLXXInterfaceStore.cc.
Referenced by G4INCLXXInterface::ApplyYourself().
Setter for accurateProjectile.
Definition at line 103 of file G4INCLXXInterfaceStore.cc.
References test::b, EmitBigWarning(), and G4endl.
Referenced by G4INCLXXInterfaceMessenger::SetNewValue().
Setter for cascadeMinEnergyPerNucleon.
Definition at line 181 of file G4INCLXXInterfaceStore.cc.
References EmitBigWarning(), G4endl, and python.hepunit::MeV.
Referenced by G4INCLXXInterfaceMessenger::SetNewValue().
Setter for conservationTolerance.
Definition at line 200 of file G4INCLXXInterfaceStore.cc.
Setter for the maximum cluster mass.
Definition at line 120 of file G4INCLXXInterfaceStore.cc.
References EmitBigWarning(), G4endl, G4INCL::Config::getClusterMaxMass(), and G4INCL::Config::setClusterMaxMass().
Referenced by G4INCLXXInterfaceMessenger::SetNewValue().