67 eLossDirectory->
SetGuidance(
"Commands for EM processes.");
69 mscDirectory->
SetGuidance(
"Commands for EM scattering processes.");
71 emDirectory->
SetGuidance(
"General commands for EM processes.");
74 EnlossFlucCmd->
SetGuidance(
"Enable/disable energy loss fluctuations.");
79 RndmStepCmd =
new G4UIcmdWithABool(
"/process/eLoss/useCutAsFinalRange",
this);
80 RndmStepCmd->
SetGuidance(
"Use cut in range as a final range");
86 SubSecCmd->
SetGuidance(
"Switch true/false the subcutoff generation.");
92 MinSubSecCmd->
SetGuidance(
"Set the ratio subcut/cut ");
96 StepFuncCmd =
new G4UIcommand(
"/process/eLoss/StepFunction",
this);
97 StepFuncCmd->
SetGuidance(
"Set the energy loss step limitation parameters.");
98 StepFuncCmd->
SetGuidance(
" dRoverR : max Range variation per step");
99 StepFuncCmd->
SetGuidance(
" finalRange: range for final step");
102 dRoverRPrm->
SetGuidance(
"max Range variation per step (fractional number)");
107 finalRangePrm->
SetGuidance(
"range for final step");
122 MinEnCmd->
SetGuidance(
"Set the min kinetic energy");
128 MaxEnCmd->
SetGuidance(
"Set the max kinetic energy");
134 IntegCmd->
SetGuidance(
"Switch true/false the integral option");
140 rangeCmd->
SetGuidance(
"Switch true/false the CSDA range calculation");
146 lpmCmd->
SetGuidance(
"The flag of the LPM effect calculation");
152 splCmd->
SetGuidance(
"The flag of usage spline for Physics Vectors");
211 dedxCmd->
SetGuidance(
"Set number of bins for DEDX tables");
217 lamCmd->
SetGuidance(
"Set number of bins for Lambda tables");
235 lllCmd->
SetGuidance(
"Set linearLossLimit parameter");
359 delete EnlossFlucCmd;
364 delete eLossDirectory;
403 if (command == RndmStepCmd) {
405 }
else if (command == EnlossFlucCmd) {
407 }
else if(command == SubSecCmd) {
410 }
else if (command == MinSubSecCmd) {
413 }
else if (command == StepFuncCmd) {
416 std::istringstream is(newValue);
417 is >> v1 >> v2 >> unt;
464 }
else if (command == MinEnCmd) {
467 }
else if (command == MaxEnCmd) {
470 }
else if (command == IntegCmd) {
472 }
else if (command == rangeCmd) {
475 }
else if (command == lpmCmd) {
478 }
else if (command == splCmd) {
492 }
else if (command == lllCmd) {
501 }
else if (command == dedxCmd) {
504 }
else if (command == lamCmd) {
void SetParameter(G4UIparameter *const newParameter)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
void SetParameterRange(const char *theRange)
void SetParameterCandidates(const char *theString)
void SetMaxEnergy(G4double val)
void SetSplineFlag(G4bool val)
void SetRandomStep(G4bool val)
G4EmManagerMessenger(G4EmManager *)
void SetLossFluctuations(G4bool val)
void SetDefaultValue(const char *theDefaultValue)
virtual ~G4EmManagerMessenger()
void SetUnitCategory(const char *unitCategory)
static G4double GetNewDoubleValue(const char *paramString)
void SetSubCutoff(G4bool val, const G4Region *r=0)
static G4bool GetNewBoolValue(const char *paramString)
void SetDefaultValue(G4bool defVal)
static G4UImanager * GetUIpointer()
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetIntegral(G4bool val)
static G4String UnitsList(const char *unitCategory)
void SetBuildCSDARange(G4bool val)
static G4double GetNewDoubleValue(const char *paramString)
void SetGuidance(const char *aGuidance)
void SetDEDXBinning(G4int val)
void AvailableForStates(G4ApplicationState s1)
void SetLinearLossLimit(G4double val)
void SetLambdaBinning(G4int val)
void SetLPMFlag(G4bool val)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4double ValueOf(const char *unitName)
void SetStepFunction(G4double v1, G4double v2)
void SetDefaultValue(G4int defVal)
void SetGuidance(const char *theGuidance)
void SetMinSubRange(G4double val)
void SetMinEnergy(G4double val)
static G4String CategoryOf(const char *unitName)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
virtual void SetNewValue(G4UIcommand *, G4String)
G4int ApplyCommand(const char *aCommand)