36 ParticleHPDir =
new G4UIdirectory(
"/process/had/particle_hp/" );
37 ParticleHPDir->
SetGuidance(
"UI commands of ParticleHP" );
39 PhotoEvaCmd =
new G4UIcmdWithAString(
"/process/had/particle_hp/use_photo_evaporation",
this);
40 PhotoEvaCmd->
SetGuidance(
" Force the use of the Photon Evaporation model, instead of the neutron capture final state data.");
45 SkipMissingCmd =
new G4UIcmdWithAString(
"/process/had/particle_hp/skip_missing_isotopes",
this);
46 SkipMissingCmd->
SetGuidance(
"Use only exact isotope data files, instead of allowing nearby isotope files to be used.");
47 SkipMissingCmd->
SetGuidance(
"In this case if the exact file is not available, the cross section will be set to zero.");
52 NeglectDopplerCmd =
new G4UIcmdWithAString(
"/process/had/particle_hp/neglect_Doppler_broadening",
this);
53 NeglectDopplerCmd->
SetGuidance(
"Switch off the Doppler broadening due to the thermal motion of the target nucleus.");
54 NeglectDopplerCmd->
SetGuidance(
"This option provides a significant CPU performance advantage.");
59 DoNotAdjustFSCmd =
new G4UIcmdWithAString(
"/process/had/particle_hp/do_not_adjust_final_state",
this);
60 DoNotAdjustFSCmd->
SetGuidance(
"Disable to adjust final state for getting better conservation.");
65 ProduceFissionFragementCmd =
new G4UIcmdWithAString(
"/process/had/particle_hp/produce_fission_fragment",
this);
66 ProduceFissionFragementCmd->
SetGuidance(
"Enable to generate fission fragments.");
72 VerboseCmd->
SetGuidance(
"Set Verbose level of ParticleHP package");
75 VerboseCmd->
SetRange(
"verbose_level >=0");
83 delete SkipMissingCmd;
84 delete NeglectDopplerCmd;
85 delete DoNotAdjustFSCmd;
86 delete ProduceFissionFragementCmd;
93 if ( newValue ==
"true" ) bValue=
true;
95 if ( command == PhotoEvaCmd ) {
98 if ( command == SkipMissingCmd) {
101 if ( command == NeglectDopplerCmd ) {
104 if ( command == DoNotAdjustFSCmd ) {
107 if ( command == ProduceFissionFragementCmd ) {
110 if ( command == VerboseCmd ) {
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
G4ParticleHPMessenger(G4ParticleHPManager *)
void SetDoNotAdjustFinalState(G4bool val)
void SetVerboseLevel(G4int i)
void SetProduceFissionFragments(G4bool val)
void SetUseOnlyPhotoEvaporation(G4bool val)
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
static G4int ConvertToInt(const char *st)
void SetNeglectDoppler(G4bool val)
void SetNewValue(G4UIcommand *, G4String)
void SetCandidates(const char *candidateList)
void SetDefaultValue(G4int defVal)
void SetSkipMissingIsotopes(G4bool val)