85void G4ScoreQuantityMessenger::QuantityCommands()
92 quantityDir->
SetGuidance(
"Scoring quantity of the mesh.");
95 qTouchCmd->
SetGuidance(
"Assign previously defined quantity to the current quantity.");
99 qGetUnitCmd->
SetGuidance(
"Print output unit of the current quantity.");
102 qSetUnitCmd->
SetGuidance(
"Set output unit of the current quantity.");
106 qeDepCmd =
new G4UIcommand(
"/score/quantity/energyDeposit",
this);
109 SetGuidance(
"[usage] /score/quantity/energyDeposit qname unit");
110 qeDepCmd->
SetGuidance(
" qname :(String) scorer name");
118 qCellChgCmd =
new G4UIcommand(
"/score/quantity/cellCharge",
this);
121 SetGuidance(
"[usage] /score/quantity/cellCharge qname unit");
122 qCellChgCmd->
SetGuidance(
" qname :(String) scorer name");
130 qCellFluxCmd =
new G4UIcommand(
"/score/quantity/cellFlux",
this);
133 SetGuidance(
"[usage] /score/quantity/cellFlux qname unit");
134 qCellFluxCmd->
SetGuidance(
" qname :(String) scorer name");
142 qPassCellFluxCmd =
new G4UIcommand(
"/score/quantity/passageCellFlux",
this);
143 qPassCellFluxCmd->
SetGuidance(
"Passage cell flux scorer");
145 SetGuidance(
"[usage] /score/quantity/passageCellFlux qname unit");
146 qPassCellFluxCmd->
SetGuidance(
" qname :(String) scorer name");
147 qPassCellFluxCmd->
SetGuidance(
" unit :(String) unit");
154 qdoseDepCmd =
new G4UIcommand(
"/score/quantity/doseDeposit",
this);
157 SetGuidance(
"[usage] /score/quantity/doseDeposit qname unit");
158 qdoseDepCmd->
SetGuidance(
" qname :(String) scorer name");
166 qnOfStepCmd =
new G4UIcommand(
"/score/quantity/nOfStep",
this);
167 qnOfStepCmd->
SetGuidance(
"Number of step scorer.");
169 SetGuidance(
"[usage] /score/quantity/nOfStep qname");
171 SetGuidance(
"[usage] /score/quantity/nOfStep qname bflag");
172 qnOfStepCmd->
SetGuidance(
" qname :(String) scorer name");
173 qnOfStepCmd->
SetGuidance(
" bflag :(Bool) Skip zero step ");
174 qnOfStepCmd->
SetGuidance(
" at geometry boundary if true");
181 qnOfSecondaryCmd =
new G4UIcommand(
"/score/quantity/nOfSecondary",
this);
182 qnOfSecondaryCmd->
SetGuidance(
"Number of secondary scorer.");
184 SetGuidance(
"[usage] /score/quantity/nOfSecondary qname");
185 qnOfSecondaryCmd->
SetGuidance(
" qname :(String) scorer name");
189 qTrackLengthCmd =
new G4UIcommand(
"/score/quantity/trackLength",
this);
190 qTrackLengthCmd->
SetGuidance(
"Track length scorer.");
192 SetGuidance(
"[usage] /score/quantity/trackLength qname wflag kflag vflag unit");
193 qTrackLengthCmd->
SetGuidance(
" qname :(String) scorer name");
194 qTrackLengthCmd->
SetGuidance(
" wflag :(Bool) weighted");
195 qTrackLengthCmd->
SetGuidance(
" kflag :(Bool) multiply kinetic energy");
196 qTrackLengthCmd->
SetGuidance(
" vflag :(Bool) divide by velocity");
197 qTrackLengthCmd->
SetGuidance(
" unit :(String) unit");
213 qPassCellCurrCmd =
new G4UIcommand(
"/score/quantity/passageCellCurrent",
this);
214 qPassCellCurrCmd->
SetGuidance(
"Passage cell current scorer.");
216 SetGuidance(
"[usage] /score/quantity/passageCellCurrent qname wflag");
217 qPassCellCurrCmd->
SetGuidance(
" qname :(String) scorer name");
218 qPassCellCurrCmd->
SetGuidance(
" wflag :(Bool) weighted");
225 qPassTrackLengthCmd =
new G4UIcommand(
"/score/quantity/passageTrackLength",
this);
226 qPassTrackLengthCmd->
SetGuidance(
"Passage track length scorer.");
227 qPassTrackLengthCmd->
228 SetGuidance(
"[usage] /score/quantity/passageTrackLength qname wflag unit");
229 qPassTrackLengthCmd->
SetGuidance(
" qname :(String) scorer name");
230 qPassTrackLengthCmd->
SetGuidance(
" wflag :(Bool) weighted");
231 qPassTrackLengthCmd->
SetGuidance(
" unit :(Bool) unit");
241 qFlatSurfCurrCmd =
new G4UIcommand(
"/score/quantity/flatSurfaceCurrent",
this);
242 qFlatSurfCurrCmd->
SetGuidance(
"Flat surface current Scorer.");
244 SetGuidance(
"[usage] /score/quantity/flatSurfaceCurrent qname dflag wflag aflag unit");
245 qFlatSurfCurrCmd->
SetGuidance(
" qname :(String) scorer name");
246 qFlatSurfCurrCmd->
SetGuidance(
" dflag :(Int) direction flag");
247 qFlatSurfCurrCmd->
SetGuidance(
" : 0 = Both In and Out");
250 qFlatSurfCurrCmd->
SetGuidance(
" wflag :(Bool) weighted");
251 qFlatSurfCurrCmd->
SetGuidance(
" aflag :(Bool) divide by area");
252 qFlatSurfCurrCmd->
SetGuidance(
" unit :(String) unit");
268 qFlatSurfFluxCmd =
new G4UIcommand(
"/score/quantity/flatSurfaceFlux",
this);
269 qFlatSurfFluxCmd->
SetGuidance(
"Flat surface flux scorer.");
271 SetGuidance(
"[usage] /score/quantity/flatSurfaceFlux qname dflag unit");
272 qFlatSurfFluxCmd->
SetGuidance(
" qname :(String) scorer name");
273 qFlatSurfFluxCmd->
SetGuidance(
" dflag :(Int) direction flag");
274 qFlatSurfFluxCmd->
SetGuidance(
" : 0 = Both In and Out");
277 qFlatSurfFluxCmd->
SetGuidance(
" wflag :(Bool) weighted");
278 qFlatSurfFluxCmd->
SetGuidance(
" aflag :(Bool) divide by area");
279 qFlatSurfFluxCmd->
SetGuidance(
" unit :(String) unit");
296 qVolFluxCmd =
new G4UIcommand(
"/score/quantity/volumeFlux",
this);
298 qVolFluxCmd->
SetGuidance(
"This scorer scores the number of particles getting into the volume without normalized by the surface area.");
299 qVolFluxCmd->
SetGuidance(
"[usage] /score/quantity/volumeFlux qname divcos dflag");
300 qVolFluxCmd->
SetGuidance(
" qname :(String) scorer name");
301 qVolFluxCmd->
SetGuidance(
" divcos :(Bool) divide by cos(theta), where theta is the incident angle (default : false)");
302 qVolFluxCmd->
SetGuidance(
" dflag :(Int) direction, 1 : inward (default), 2 : outward");
424 qNofCollisionCmd =
new G4UIcommand(
"/score/quantity/nOfCollision",
this);
425 qNofCollisionCmd->
SetGuidance(
"Number of collision scorer.");
427 SetGuidance(
"[usage] /score/quantity/nOfCollision qname wflag");
428 qNofCollisionCmd->
SetGuidance(
" qname :(String) scorer name");
435 qPopulationCmd =
new G4UIcommand(
"/score/quantity/population",
this);
438 SetGuidance(
"[usage] /score/quantity/population qname wflag");
439 qPopulationCmd->
SetGuidance(
" qname :(String) scorer name");
440 qPopulationCmd->
SetGuidance(
" wflag :(Bool) weighted");
448 qTrackCountCmd =
new G4UIcommand(
"/score/quantity/nOfTrack",
this);
449 qTrackCountCmd->
SetGuidance(
"Number of track scorer.");
451 SetGuidance(
"[usage] /score/quantity/nOfTrack qname dflag wflag");
452 qTrackCountCmd->
SetGuidance(
" qname :(String) scorer name");
453 qTrackCountCmd->
SetGuidance(
" dflag :(Int) direction");
454 qTrackCountCmd->
SetGuidance(
" : 0 = Both In and Out");
457 qTrackCountCmd->
SetGuidance(
" wflag :(Bool) weighted");
468 qTerminationCmd =
new G4UIcommand(
"/score/quantity/nOfTerminatedTrack",
this);
469 qTerminationCmd->
SetGuidance(
"Number of terminated tracks scorer.");
471 SetGuidance(
"[usage] /score/quantity/nOfTerminatedTrack qname wflag");
472 qTerminationCmd->
SetGuidance(
" qname :(String) scorer name");
473 qTerminationCmd->
SetGuidance(
" wflag :(Bool) weighted");
481 qMinKinEAtGeneCmd =
new G4UIcommand(
"/score/quantity/minKinEAtGeneration",
this);
482 qMinKinEAtGeneCmd->
SetGuidance(
"Min Kinetic Energy at Generation");
484 SetGuidance(
"[usage] /score/quantity/minKinEAtGeneration qname unit");
485 qMinKinEAtGeneCmd->
SetGuidance(
" qname :(String) scorer name");
486 qMinKinEAtGeneCmd->
SetGuidance(
" unit :(String) unit name");
493 qStepCheckerCmd =
new G4UIcommand(
"/score/quantity/stepChecker",
this);
494 qStepCheckerCmd->
SetGuidance(
"Display a comment when this PS is invoked");
496 SetGuidance(
"[usage] /score/quantity/stepChecker qname");
497 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)
void SetParameterRange(const char *theRange)
void SetDefaultUnit(const char *theDefaultUnit)