79void G4ScoreQuantityMessenger::QuantityCommands()
86 quantityDir->
SetGuidance(
"Scoring quantity of the mesh.");
89 qTouchCmd->
SetGuidance(
"Assign previously defined quantity to the current quantity.");
93 qGetUnitCmd->
SetGuidance(
"Print output unit of the current quantity.");
96 qSetUnitCmd->
SetGuidance(
"Set output unit of the current quantity.");
100 qeDepCmd =
new G4UIcommand(
"/score/quantity/energyDeposit",
this);
103 SetGuidance(
"[usage] /score/quantiy/energyDeposit qname unit");
104 qeDepCmd->
SetGuidance(
" qname :(String) scorer name");
112 qCellChgCmd =
new G4UIcommand(
"/score/quantity/cellCharge",
this);
115 SetGuidance(
"[usage] /score/quantiy/cellCharge qname unit");
116 qCellChgCmd->
SetGuidance(
" qname :(String) scorer name");
124 qCellFluxCmd =
new G4UIcommand(
"/score/quantity/cellFlux",
this);
127 SetGuidance(
"[usage] /score/quantiy/cellFlux qname unit");
128 qCellFluxCmd->
SetGuidance(
" qname :(String) scorer name");
136 qPassCellFluxCmd =
new G4UIcommand(
"/score/quantity/passageCellFlux",
this);
137 qPassCellFluxCmd->
SetGuidance(
"Passage cell flux scorer");
139 SetGuidance(
"[usage] /score/quantiy/passageCellFlux qname unit");
140 qPassCellFluxCmd->
SetGuidance(
" qname :(String) scorer name");
141 qPassCellFluxCmd->
SetGuidance(
" unit :(String) unit");
148 qdoseDepCmd =
new G4UIcommand(
"/score/quantity/doseDeposit",
this);
151 SetGuidance(
"[usage] /score/quantiy/doseDeposit qname unit");
152 qdoseDepCmd->
SetGuidance(
" qname :(String) scorer name");
160 qnOfStepCmd =
new G4UIcommand(
"/score/quantity/nOfStep",
this);
161 qnOfStepCmd->
SetGuidance(
"Number of step scorer.");
163 SetGuidance(
"[usage] /score/quantiy/nOfStep qname");
164 qnOfStepCmd->
SetGuidance(
" qname :(String) scorer name");
168 qnOfSecondaryCmd =
new G4UIcommand(
"/score/quantity/nOfSecondary",
this);
169 qnOfSecondaryCmd->
SetGuidance(
"Number of secondary scorer.");
171 SetGuidance(
"[usage] /score/quantiy/nOfSecondary qname");
172 qnOfSecondaryCmd->
SetGuidance(
" qname :(String) scorer name");
176 qTrackLengthCmd =
new G4UIcommand(
"/score/quantity/trackLength",
this);
177 qTrackLengthCmd->
SetGuidance(
"Track length scorer.");
179 SetGuidance(
"[usage] /score/quantiy/trackLength qname wflag kflag vflag unit");
180 qTrackLengthCmd->
SetGuidance(
" qname :(String) scorer name");
181 qTrackLengthCmd->
SetGuidance(
" wflag :(Bool) weighted");
182 qTrackLengthCmd->
SetGuidance(
" kflag :(Bool) multiply kinetic energy");
183 qTrackLengthCmd->
SetGuidance(
" vflag :(Bool) divide by velocity");
184 qTrackLengthCmd->
SetGuidance(
" unit :(String) unit");
200 qPassCellCurrCmd =
new G4UIcommand(
"/score/quantity/passageCellCurrent",
this);
201 qPassCellCurrCmd->
SetGuidance(
"Passage cell current scorer.");
203 SetGuidance(
"[usage] /score/quantiy/passageCellCurrent qname wflag");
205 qPassCellCurrCmd->
SetGuidance(
" qname :(String) scorer name");
206 qPassCellCurrCmd->
SetGuidance(
" wflag :(Bool) weighted");
217 qPassTrackLengthCmd =
new G4UIcommand(
"/score/quantity/passageTrackLength",
this);
218 qPassTrackLengthCmd->
SetGuidance(
"Passage track length scorer.");
219 qPassTrackLengthCmd->
220 SetGuidance(
"[usage] /score/quantiy/passageTrackLength qname wflag unit");
221 qPassTrackLengthCmd->
SetGuidance(
" qname :(String) scorer name");
222 qPassTrackLengthCmd->
SetGuidance(
" wflag :(Bool) weighted");
223 qPassTrackLengthCmd->
SetGuidance(
" unit :(Bool) unit");
233 qFlatSurfCurrCmd =
new G4UIcommand(
"/score/quantity/flatSurfaceCurrent",
this);
234 qFlatSurfCurrCmd->
SetGuidance(
"Flat surface current Scorer.");
236 SetGuidance(
"[usage] /score/quantiy/flatSurfaceCurrent qname dflag wflag aflag unit");
237 qFlatSurfCurrCmd->
SetGuidance(
" qname :(String) scorer name");
238 qFlatSurfCurrCmd->
SetGuidance(
" dflag :(Int) direction flag");
239 qFlatSurfCurrCmd->
SetGuidance(
" : 0 = Both In and Out");
242 qFlatSurfCurrCmd->
SetGuidance(
" wflag :(Bool) weighted");
243 qFlatSurfCurrCmd->
SetGuidance(
" aflag :(Bool) divide by area");
244 qFlatSurfCurrCmd->
SetGuidance(
" unit :(Bool) unit");
260 qFlatSurfFluxCmd =
new G4UIcommand(
"/score/quantity/flatSurfaceFlux",
this);
261 qFlatSurfFluxCmd->
SetGuidance(
"Flat surface flux scorer.");
263 SetGuidance(
"[usage] /score/quantiy/flatSurfaceFlux qname dflag unit");
264 qFlatSurfFluxCmd->
SetGuidance(
" qname :(String) scorer name");
265 qFlatSurfFluxCmd->
SetGuidance(
" dflag :(Int) direction flag");
266 qFlatSurfFluxCmd->
SetGuidance(
" : 0 = Both In and Out");
269 qFlatSurfFluxCmd->
SetGuidance(
" wflag :(Bool) weighted");
270 qFlatSurfFluxCmd->
SetGuidance(
" aflag :(Bool) divide by area");
271 qFlatSurfFluxCmd->
SetGuidance(
" unit :(String) unit");
398 qNofCollisionCmd =
new G4UIcommand(
"/score/quantity/nOfCollision",
this);
399 qNofCollisionCmd->
SetGuidance(
"Number of collision scorer.");
401 SetGuidance(
"[usage] /score/quantiy/nOfCollision qname wflag");
402 qNofCollisionCmd->
SetGuidance(
" qname :(String) scorer name");
409 qPopulationCmd =
new G4UIcommand(
"/score/quantity/population",
this);
412 SetGuidance(
"[usage] /score/quantiy/population qname wflag");
413 qPopulationCmd->
SetGuidance(
" qname :(String) scorer name");
414 qPopulationCmd->
SetGuidance(
" wflag :(Bool) weighted");
422 qTrackCountCmd =
new G4UIcommand(
"/score/quantity/nOfTrack",
this);
423 qTrackCountCmd->
SetGuidance(
"Number of track scorer.");
425 SetGuidance(
"[usage] /score/quantiy/nOfTrack qname dflag wflag");
426 qTrackCountCmd->
SetGuidance(
" qname :(String) scorer name");
427 qTrackCountCmd->
SetGuidance(
" dflag :(Int) direction");
428 qTrackCountCmd->
SetGuidance(
" : 0 = Both In and Out");
431 qTrackCountCmd->
SetGuidance(
" wflag :(Bool) weighted");
442 qTerminationCmd =
new G4UIcommand(
"/score/quantity/nOfTerminatedTrack",
this);
443 qTerminationCmd->
SetGuidance(
"Number of terminated tracks scorer.");
445 SetGuidance(
"[usage] /score/quantiy/nOfTerminatedTrack qname wflag");
446 qTerminationCmd->
SetGuidance(
" qname :(String) scorer name");
447 qTerminationCmd->
SetGuidance(
" wflag :(Bool) weighted");
455 qMinKinEAtGeneCmd =
new G4UIcommand(
"/score/quantity/minKinEAtGeneration",
this);
456 qMinKinEAtGeneCmd->
SetGuidance(
"Min Kinetic Energy at Generation");
458 SetGuidance(
"[usage] /score/quantiy/minKinEAtGeneration qname");
459 qMinKinEAtGeneCmd->
SetGuidance(
" qname :(String) scorer name");
463 qStepCheckerCmd =
new G4UIcommand(
"/score/quantity/stepChecker",
this);
464 qStepCheckerCmd->
SetGuidance(
"Display a comment when this PS is invoked");
466 SetGuidance(
"[usage] /score/quantiy/stepChecker qname");
467 qStepCheckerCmd->
SetGuidance(
" qname :(String) scorer name");
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetParameter(G4UIparameter *const newParameter)
void SetGuidance(const char *aGuidance)
void SetDefaultValue(const char *theDefaultValue)