35#define INCLXX_IN_GEANT4_MODE 1
46#ifndef G4INCLXXINTERFACESTORE_HH_
47#define G4INCLXXINTERFACESTORE_HH_
95 if(accurateProjectile!=b) {
98 ss <<
"Switching from "
99 << (accurateProjectile ?
"\"accurate projectile\" mode to \"accurate target\"" :
"\"accurate target\" mode to \"accurate projectile\"")
102 <<
"Do this ONLY if you fully understand what it does!";
108 accurateProjectile=b;
113 if(theMaxClusterMass!=aMass) {
115 std::stringstream ss;
116 ss <<
"Changing maximum cluster mass from "
122 <<
"Do this ONLY if you fully understand what this setting does!";
130 theMaxClusterMass=aMass;
192 void DeleteModel() {
delete theINCLModel; theINCLModel=NULL; }
199 G4bool accurateProjectile;
200 const G4int theMaxClusterMassDefault;
201 G4int theMaxClusterMass;
202 const G4int theMaxProjMassINCL;
212 const G4int maxWarnings;
Singleton class for configuring the INCL++ Geant4 interface.
void EmitWarning(const G4String &message)
Emit a warning to G4cout.
void SetAccurateProjectile(const G4bool b)
Setter for accurateProjectile.
G4int GetMaxProjMassINCL() const
Getter for theMaxProjMassINCL.
G4INCL::INCL * GetINCLModel()
Get the cached INCL model engine.
static G4INCLXXInterfaceStore * GetInstance()
Get the singleton instance.
G4int GetMaxClusterMass() const
Getter for ClusterMaxMass.
static void DeleteInstance()
Delete the singleton instance.
void EmitBigWarning(const G4String &message) const
Emit a BIG warning to G4cout.
G4bool GetDumpInput() const
Getter for dumpInput.
void SetMaxClusterMass(const G4int aMass)
Setter for theMaxClusterMass.
G4bool GetAccurateProjectile() const
Getter for accurateProjectile.
void setClusterMaxMass(const G4int m)
Set the maximum mass for production of clusters.