83 void G4ScoreQuantityMessenger::QuantityCommands()
90 quantityDir->
SetGuidance(
"Scoring quantity of the mesh.");
93 qTouchCmd->
SetGuidance(
"Assign previously defined quantity to the current quantity.");
97 qGetUnitCmd->
SetGuidance(
"Print output unit of the current quantity.");
100 qSetUnitCmd->
SetGuidance(
"Set output unit of the current quantity.");
104 qeDepCmd =
new G4UIcommand(
"/score/quantity/energyDeposit",
this);
107 SetGuidance(
"[usage] /score/quantiy/energyDeposit qname unit");
108 qeDepCmd->
SetGuidance(
" qname :(String) scorer name");
116 qCellChgCmd =
new G4UIcommand(
"/score/quantity/cellCharge",
this);
119 SetGuidance(
"[usage] /score/quantiy/cellCharge qname unit");
120 qCellChgCmd->
SetGuidance(
" qname :(String) scorer name");
128 qCellFluxCmd =
new G4UIcommand(
"/score/quantity/cellFlux",
this);
131 SetGuidance(
"[usage] /score/quantiy/cellFlux qname unit");
132 qCellFluxCmd->
SetGuidance(
" qname :(String) scorer name");
140 qPassCellFluxCmd =
new G4UIcommand(
"/score/quantity/passageCellFlux",
this);
141 qPassCellFluxCmd->
SetGuidance(
"Passage cell flux scorer");
143 SetGuidance(
"[usage] /score/quantiy/passageCellFlux qname unit");
144 qPassCellFluxCmd->
SetGuidance(
" qname :(String) scorer name");
145 qPassCellFluxCmd->
SetGuidance(
" unit :(String) unit");
152 qdoseDepCmd =
new G4UIcommand(
"/score/quantity/doseDeposit",
this);
155 SetGuidance(
"[usage] /score/quantiy/doseDeposit qname unit");
156 qdoseDepCmd->
SetGuidance(
" qname :(String) scorer name");
164 qnOfStepCmd =
new G4UIcommand(
"/score/quantity/nOfStep",
this);
165 qnOfStepCmd->
SetGuidance(
"Number of step scorer.");
167 SetGuidance(
"[usage] /score/quantiy/nOfStep qname");
169 SetGuidance(
"[usage] /score/quantiy/nOfStep qname bflag");
170 qnOfStepCmd->
SetGuidance(
" qname :(String) scorer name");
171 qnOfStepCmd->
SetGuidance(
" bflag :(Bool) Skip zero step ");
172 qnOfStepCmd->
SetGuidance(
" at geometry boundary if true");
179 qnOfSecondaryCmd =
new G4UIcommand(
"/score/quantity/nOfSecondary",
this);
180 qnOfSecondaryCmd->
SetGuidance(
"Number of secondary scorer.");
182 SetGuidance(
"[usage] /score/quantiy/nOfSecondary qname");
183 qnOfSecondaryCmd->
SetGuidance(
" qname :(String) scorer name");
187 qTrackLengthCmd =
new G4UIcommand(
"/score/quantity/trackLength",
this);
188 qTrackLengthCmd->
SetGuidance(
"Track length scorer.");
190 SetGuidance(
"[usage] /score/quantiy/trackLength qname wflag kflag vflag unit");
191 qTrackLengthCmd->
SetGuidance(
" qname :(String) scorer name");
192 qTrackLengthCmd->
SetGuidance(
" wflag :(Bool) weighted");
193 qTrackLengthCmd->
SetGuidance(
" kflag :(Bool) multiply kinetic energy");
194 qTrackLengthCmd->
SetGuidance(
" vflag :(Bool) divide by velocity");
195 qTrackLengthCmd->
SetGuidance(
" unit :(String) unit");
211 qPassCellCurrCmd =
new G4UIcommand(
"/score/quantity/passageCellCurrent",
this);
212 qPassCellCurrCmd->
SetGuidance(
"Passage cell current scorer.");
214 SetGuidance(
"[usage] /score/quantiy/passageCellCurrent qname wflag");
215 qPassCellCurrCmd->
SetGuidance(
" qname :(String) scorer name");
216 qPassCellCurrCmd->
SetGuidance(
" wflag :(Bool) weighted");
223 qPassTrackLengthCmd =
new G4UIcommand(
"/score/quantity/passageTrackLength",
this);
224 qPassTrackLengthCmd->
SetGuidance(
"Passage track length scorer.");
225 qPassTrackLengthCmd->
226 SetGuidance(
"[usage] /score/quantiy/passageTrackLength qname wflag unit");
227 qPassTrackLengthCmd->
SetGuidance(
" qname :(String) scorer name");
228 qPassTrackLengthCmd->
SetGuidance(
" wflag :(Bool) weighted");
229 qPassTrackLengthCmd->
SetGuidance(
" unit :(Bool) unit");
239 qFlatSurfCurrCmd =
new G4UIcommand(
"/score/quantity/flatSurfaceCurrent",
this);
240 qFlatSurfCurrCmd->
SetGuidance(
"Flat surface current Scorer.");
242 SetGuidance(
"[usage] /score/quantiy/flatSurfaceCurrent qname dflag wflag aflag unit");
243 qFlatSurfCurrCmd->
SetGuidance(
" qname :(String) scorer name");
244 qFlatSurfCurrCmd->
SetGuidance(
" dflag :(Int) direction flag");
245 qFlatSurfCurrCmd->
SetGuidance(
" : 0 = Both In and Out");
248 qFlatSurfCurrCmd->
SetGuidance(
" wflag :(Bool) weighted");
249 qFlatSurfCurrCmd->
SetGuidance(
" aflag :(Bool) divide by area");
250 qFlatSurfCurrCmd->
SetGuidance(
" unit :(Bool) unit");
266 qFlatSurfFluxCmd =
new G4UIcommand(
"/score/quantity/flatSurfaceFlux",
this);
267 qFlatSurfFluxCmd->
SetGuidance(
"Flat surface flux scorer.");
269 SetGuidance(
"[usage] /score/quantiy/flatSurfaceFlux qname dflag unit");
270 qFlatSurfFluxCmd->
SetGuidance(
" qname :(String) scorer name");
271 qFlatSurfFluxCmd->
SetGuidance(
" dflag :(Int) direction flag");
272 qFlatSurfFluxCmd->
SetGuidance(
" : 0 = Both In and Out");
275 qFlatSurfFluxCmd->
SetGuidance(
" wflag :(Bool) weighted");
276 qFlatSurfFluxCmd->
SetGuidance(
" aflag :(Bool) divide by area");
277 qFlatSurfFluxCmd->
SetGuidance(
" unit :(String) unit");
404 qNofCollisionCmd =
new G4UIcommand(
"/score/quantity/nOfCollision",
this);
405 qNofCollisionCmd->
SetGuidance(
"Number of collision scorer.");
407 SetGuidance(
"[usage] /score/quantiy/nOfCollision qname wflag");
408 qNofCollisionCmd->
SetGuidance(
" qname :(String) scorer name");
415 qPopulationCmd =
new G4UIcommand(
"/score/quantity/population",
this);
418 SetGuidance(
"[usage] /score/quantiy/population qname wflag");
419 qPopulationCmd->
SetGuidance(
" qname :(String) scorer name");
420 qPopulationCmd->
SetGuidance(
" wflag :(Bool) weighted");
428 qTrackCountCmd =
new G4UIcommand(
"/score/quantity/nOfTrack",
this);
429 qTrackCountCmd->
SetGuidance(
"Number of track scorer.");
431 SetGuidance(
"[usage] /score/quantiy/nOfTrack qname dflag wflag");
432 qTrackCountCmd->
SetGuidance(
" qname :(String) scorer name");
433 qTrackCountCmd->
SetGuidance(
" dflag :(Int) direction");
434 qTrackCountCmd->
SetGuidance(
" : 0 = Both In and Out");
437 qTrackCountCmd->
SetGuidance(
" wflag :(Bool) weighted");
448 qTerminationCmd =
new G4UIcommand(
"/score/quantity/nOfTerminatedTrack",
this);
449 qTerminationCmd->
SetGuidance(
"Number of terminated tracks scorer.");
451 SetGuidance(
"[usage] /score/quantiy/nOfTerminatedTrack qname wflag");
452 qTerminationCmd->
SetGuidance(
" qname :(String) scorer name");
453 qTerminationCmd->
SetGuidance(
" wflag :(Bool) weighted");
461 qMinKinEAtGeneCmd =
new G4UIcommand(
"/score/quantity/minKinEAtGeneration",
this);
462 qMinKinEAtGeneCmd->
SetGuidance(
"Min Kinetic Energy at Generation");
464 SetGuidance(
"[usage] /score/quantiy/minKinEAtGeneration qname unit");
465 qMinKinEAtGeneCmd->
SetGuidance(
" qname :(String) scorer name");
466 qMinKinEAtGeneCmd->
SetGuidance(
" unit :(String) unit name");
473 qStepCheckerCmd =
new G4UIcommand(
"/score/quantity/stepChecker",
this);
474 qStepCheckerCmd->
SetGuidance(
"Display a comment when this PS is invoked");
476 SetGuidance(
"[usage] /score/quantiy/stepChecker qname");
477 qStepCheckerCmd->
SetGuidance(
" qname :(String) scorer name");
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetParameter(G4UIparameter *const newParameter)
void SetDefaultValue(const char *theDefaultValue)
void SetGuidance(const char *aGuidance)