36 :theProcessStore(theStore)
40 old_heptstDirectory->
SetGuidance(
"Controls for the hadronic energy/momentum test");
43 heptstDirectory->
SetGuidance(
"Controls for the hadronic energy/momentum test");
47 old_reportLvlCmd->
SetGuidance(
"Set level of detail reported upon E/p non-conservation");
48 old_reportLvlCmd->
SetGuidance(
" 0 - (default) no reporting ");
49 old_reportLvlCmd->
SetGuidance(
" 1 - report only when E/p not conserved ");
50 old_reportLvlCmd->
SetGuidance(
" 2 - report regardless of E/p conservation ");
51 old_reportLvlCmd->
SetGuidance(
" 3 - report only when E/p not conserved, with names, limits ");
52 old_reportLvlCmd->
SetGuidance(
" 4 - report regardless of E/p conservation, with names, limits ");
55 old_reportLvlCmd->
SetRange(
"OldReportLevel >= 0 && OldReportLevel < 5");
58 reportLvlCmd->
SetGuidance(
"Set level of detail reported upon E/p non-conservation");
59 reportLvlCmd->
SetGuidance(
" 0 - (default) no reporting ");
60 reportLvlCmd->
SetGuidance(
" 1 - report only when E/p not conserved ");
61 reportLvlCmd->
SetGuidance(
" 2 - report regardless of E/p conservation ");
62 reportLvlCmd->
SetGuidance(
" 3 - report only when E/p not conserved, with names, limits ");
63 reportLvlCmd->
SetGuidance(
" 4 - report regardless of E/p conservation, with names, limits ");
66 reportLvlCmd->
SetRange(
"ReportLevel >= 0 && ReportLevel < 5");
70 old_procRelLvlCmd->
SetGuidance(
"Set relative level of allowed energy non-conservation");
75 procRelLvlCmd->
SetGuidance(
"Set relative level of allowed energy non-conservation");
81 old_procAbsLvlCmd->
SetGuidance(
"Set absolute energy level (with unit) of allowed energy non-conservation");
87 procAbsLvlCmd->
SetGuidance(
"Set absolute energy level (with unit) of allowed energy non-conservation");
96 delete old_heptstDirectory;
97 delete heptstDirectory;
98 delete old_reportLvlCmd;
100 delete old_procRelLvlCmd;
101 delete procRelLvlCmd;
102 delete old_procAbsLvlCmd;
103 delete procAbsLvlCmd;
110 if ( command == old_reportLvlCmd ) {
113 ed <<
"This command is valid but deprecated and will be replaced with the command:\n"
114 <<
"/process/had/heptst/reportLevel in the next major release, Geant4 version 11.0";
116 }
else if ( command == old_procRelLvlCmd ) {
119 ed <<
"This command is valid but deprecated and will be replaced with the command:\n"
120 <<
"/process/had/heptst/processRelLevel in the next major release, Geant4 version 11.0";
122 }
else if ( command == old_procAbsLvlCmd ) {
125 ed <<
"This command is valid but deprecated and will be replaced with the command:\n"
126 <<
"/process/had/heptst/processAbsLevel in the next major release, Geant4 version 11.0";
131 if ( command == reportLvlCmd ) {
133 }
else if ( command == procRelLvlCmd ) {
135 }
else if ( command == procAbsLvlCmd ) {
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
G4HadronicEPTestMessenger(G4HadronicProcessStore *theProcessStore)
~G4HadronicEPTestMessenger()
void SetNewValue(G4UIcommand *command, G4String newValues)
void SetProcessAbsLevel(G4double absoluteLevel)
void SetProcessRelLevel(G4double relativeLevel)
void SetEpReportLevel(G4int level)
void SetDefaultValue(G4double 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 G4double GetNewDoubleValue(const char *paramString)
void SetDefaultValue(G4double defVal)
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)