106{
108 if ( newValue == "true" ) bValue = true;
109
110 if ( command == PhotoEvaCmd ) {
113 #ifdef G4VERBOSE
116 << "=== G4ParticleHPMessenger CHANGED PARAMETER UseOnlyPhotoEvaporation TO "
117 << bValue <<
" ===" <<
G4endl;
118 }
119 if ( bValue ) {
120 G4cout <<
" -> Forced the use of the Photon Evaporation model (instead of the neutron capture final state data)"
122 } else {
123 G4cout <<
" -> Go back to use the default neutron capture final state data !" <<
G4endl;
124 }
125 #endif
126 }
127 }
128
129 if ( command == SkipMissingCmd) {
132 #ifdef G4VERBOSE
135 << "=== G4ParticleHPMessenger CHANGED PARAMETER SkipMissingIsotopes TO "
136 << bValue <<
" ===" <<
G4endl;
137 }
138 if ( bValue ) {
139 G4cout <<
" -> Use only exact isotope data files, instead of allowing nearby isotope files to be used: \n"
140 << " if the exact file is not available, the cross section will be set to zero !"
142 } else {
143 G4cout <<
" -> Go back to the default, i.e. use nearby isotope files when the exact isotope data files are not found !"
145 }
146 #endif
147 }
148 }
149
150 if ( command == NeglectDopplerCmd ) {
153 #ifdef G4VERBOSE
156 << "=== G4ParticleHPMessenger CHANGED PARAMETER NeglectDoppler TO "
157 << bValue <<
" ===" <<
G4endl;
158 }
159 if ( bValue ) {
160 G4cout <<
" -> Switched off the Doppler broadening due to the thermal motion of the target nucleus: \n"
161 << " on-the-fly Doppler broadening will be neglected in the cross section calculations of \n"
162 << " capture, elastic, fission and inelastic reactions/scatterings of neutrons below 20 MeV.\n"
163 << " This option provides a significant CPU performance advantage !"
165 } else {
166 G4cout <<
" -> Go back to the default, i.e. switch on the Doppler broadening on-the-fly !" <<
G4endl;
167 }
168 #endif
169 }
170 }
171
172 if ( command == DoNotAdjustFSCmd ) {
175 #ifdef G4VERBOSE
178 << "=== G4ParticleHPMessenger CHANGED PARAMETER DoNotAdjustFinalState TO "
179 << bValue <<
" ===" <<
G4endl;
180 }
181 if ( bValue ) {
182 G4cout <<
" -> Disabled the adjustment of the final state for getting better conservation !"
184 } else {
185 G4cout <<
" -> Go back to the default, i.e. adjust the final state to get better conservation !"
187 }
188 #endif
189 }
190 }
191
192 if ( command == ProduceFissionFragementCmd ) {
195 #ifdef G4VERBOSE
198 << "=== G4ParticleHPMessenger CHANGED PARAMETER ProduceFissionFragments TO "
199 << bValue <<
" ===" <<
G4endl;
200 }
201 if ( bValue ) {
202 G4cout <<
" -> Enabled the generation of fission fragments !"
204 } else {
205 G4cout <<
" -> Go back to the default, i.e. do not generate fission fragments !" <<
G4endl;
206 }
207 #endif
208 }
209 }
210
211 if ( command == WendtFissionModelCmd ) {
214
216 #ifdef G4VERBOSE
219 << "=== G4ParticleHPMessenger CHANGED PARAMETER UseWendtFissionModel TO "
220 << bValue <<
" ===" <<
G4endl;
221 }
222 if ( bValue ) {
223 G4cout <<
" -> Enabled the use of Wendt fission model !" <<
G4endl;
224 } else {
225 G4cout <<
" -> Go back to the default, i.e. do not use the Wendt fission model !" <<
G4endl;
226 }
227 #endif
228 }
229 }
230
231 if ( command == NRESP71Cmd ) {
234 #ifdef G4VERBOSE
237 << "=== G4ParticleHPMessenger CHANGED PARAMETER UseNRESP71Model TO "
238 << bValue <<
" ===" <<
G4endl;
239 }
240 if ( bValue ) {
241 G4cout <<
" -> Enabled the use of NRESP71 model for n on C reaction !" <<
G4endl;
242 } else {
243 G4cout <<
" -> Go back to the default, i.e. do not use the NRESP71 model !" <<
G4endl;
244 }
245 #endif
246 }
247 }
248
249 if ( command == VerboseCmd ) {
253 #ifdef G4VERBOSE
256 << "=== G4ParticleHPMessenger CHANGED PARAMETER VerboseLevel TO "
257 << verboseLevel <<
" ===" <<
G4endl;
258 }
259 #endif
260 }
261 }
262}
G4GLOB_DLL std::ostream G4cout
static G4HadronicParameters * Instance()
G4bool GetNeglectDoppler()
void SetUseNRESP71Model(G4bool val)
G4bool GetUseOnlyPhotoEvaporation()
G4bool GetSkipMissingIsotopes()
void SetNeglectDoppler(G4bool val)
G4bool GetUseNRESP71Model()
void SetProduceFissionFragments(G4bool val)
void SetSkipMissingIsotopes(G4bool val)
void SetDoNotAdjustFinalState(G4bool val)
void SetVerboseLevel(G4int i)
G4bool GetUseWendtFissionModel()
G4bool GetProduceFissionFragments()
G4bool GetDoNotAdjustFinalState()
void SetUseWendtFissionModel(G4bool val)
void SetUseOnlyPhotoEvaporation(G4bool val)
static G4int ConvertToInt(const char *st)