42 theHadronicParameters( inputHadParam )
46 theDirectory->
SetGuidance(
"Control of general hadronic physics parameters and choices." );
53 theVerboseCmd->
SetGuidance(
"Set verbose level: 0 (minimum), 1 (default), 2 (higher), ... (even higher)" );
56 theVerboseCmd->
SetRange(
"VerboseLevel>=0" );
61 theMaxEnergyCmd->
SetGuidance(
"Max energy for hadronics (default: 100 TeV)" );
64 theMaxEnergyCmd->
SetRange(
"MaxEnergy>0.0" );
68 theCRCoalescenceCmd =
new G4UIcmdWithABool(
"/process/had/enableCRCoalescence",
this );
69 theCRCoalescenceCmd->
SetGuidance(
"Enable Cosmic Ray (CR) coalescence." );
78 delete theMaxEnergyCmd;
79 delete theCRCoalescenceCmd;
84 if ( command == theVerboseCmd ) {
89 }
else if ( command == theMaxEnergyCmd ) {
91 }
else if ( command == theCRCoalescenceCmd ) {
G4HadronicParametersMessenger(G4HadronicParameters *inputHadParam)
~G4HadronicParametersMessenger()
void SetNewValue(G4UIcommand *command, G4String newValues) override
void SetVerboseLevel(const G4int val)
void SetMaxEnergy(const G4double val)
void SetEnableCRCoalescence(G4bool val)
static G4bool GetNewBoolValue(const char *paramString)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4bool defVal)
void SetUnitCategory(const char *unitCategory)
static G4double GetNewDoubleValue(const char *paramString)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
void SetDefaultValue(G4int defVal)
void SetGuidance(const char *aGuidance)
void SetRange(const char *rs)
void AvailableForStates(G4ApplicationState s1)