#include <G4ParticleHPMessenger.hh>
Definition at line 37 of file G4ParticleHPMessenger.hh.
◆ G4ParticleHPMessenger()
Definition at line 33 of file G4ParticleHPMessenger.cc.
34:manager(man)
35{
36 ParticleHPDir =
new G4UIdirectory(
"/process/had/particle_hp/" );
37 ParticleHPDir->
SetGuidance(
"UI commands of ParticleHP" );
38
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.");
44
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.");
51
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.");
58
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.");
64
65 ProduceFissionFragementCmd =
new G4UIcmdWithAString(
"/process/had/particle_hp/produce_fission_fragment",
this);
66 ProduceFissionFragementCmd->
SetGuidance(
"Enable to generate fission fragments.");
70
71 WendtFissionModelCmd =
new G4UIcmdWithAString(
"/process/had/particle_hp/use_Wendt_fission_model",
this);
72 WendtFissionModelCmd->
SetGuidance(
"Enable use of Wendt fission model.");
76
77 NRESP71Cmd =
new G4UIcmdWithAString(
"/process/had/particle_hp/use_NRESP71_model",
this);
78 NRESP71Cmd->
SetGuidance(
"Enable to use NRESP71 model for n on C reaction");
82
84 VerboseCmd->
SetGuidance(
"Set Verbose level of ParticleHP package");
87 VerboseCmd->
SetRange(
"verbose_level >=0");
89}
void SetCandidates(const char *candidateList)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4int defVal)
void SetGuidance(const char *aGuidance)
void SetRange(const char *rs)
void AvailableForStates(G4ApplicationState s1)
◆ ~G4ParticleHPMessenger()
G4ParticleHPMessenger::~G4ParticleHPMessenger |
( |
| ) |
|
Definition at line 91 of file G4ParticleHPMessenger.cc.
92{
93 delete ParticleHPDir;
94 delete PhotoEvaCmd;
95 delete SkipMissingCmd;
96 delete NeglectDopplerCmd;
97 delete DoNotAdjustFSCmd;
98 delete ProduceFissionFragementCmd;
99 delete WendtFissionModelCmd;
100 delete NRESP71Cmd;
101 delete VerboseCmd;
102}
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 104 of file G4ParticleHPMessenger.cc.
105{
107 if ( newValue == "true" ) bValue=true;
108
109 if ( command == PhotoEvaCmd ) {
111 }
112 if ( command == SkipMissingCmd) {
114 }
115 if ( command == NeglectDopplerCmd ) {
117 }
118 if ( command == DoNotAdjustFSCmd ) {
120 }
121 if ( command == ProduceFissionFragementCmd ) {
123 }
124 if ( command == WendtFissionModelCmd ) {
126
128 }
129 if ( command == NRESP71Cmd ) {
131 }
132 if ( command == VerboseCmd ) {
134 }
135}
void SetUseNRESP71Model(G4bool val)
void SetNeglectDoppler(G4bool val)
void SetProduceFissionFragments(G4bool val)
void SetSkipMissingIsotopes(G4bool val)
void SetDoNotAdjustFinalState(G4bool val)
void SetVerboseLevel(G4int i)
void SetUseWendtFissionModel(G4bool val)
void SetUseOnlyPhotoEvaporation(G4bool val)
static G4int ConvertToInt(const char *st)
The documentation for this class was generated from the following files: