42 : suffix (""), geometry(true), solids(true), invisibles(true),
43 kgMocrenVolumeName("gMocrenVolume"),
44 kgMocrenScoringMeshName("gMocrenScoringMesh"),
45 kDrawVolumeGrid(false) {
46
48 kgMocrenDirectory->
SetGuidance(
"gMocren commands.");
49
50 setEventNumberSuffixCommand =
new G4UIcmdWithAString(
"/vis/gMocren/setEventNumberSuffix",
this);
51 setEventNumberSuffixCommand->
SetGuidance(
"Write separate event files, appended with given suffix.");
52 setEventNumberSuffixCommand->
SetGuidance(
"Define the suffix with a pattern such as '-0000'.");
56
57 appendGeometryCommand =
new G4UIcmdWithABool(
"/vis/gMocren/appendGeometry",
this);
58 appendGeometryCommand->
SetGuidance(
"Appends copy of geometry to every event.");
62
63 addPointAttributesCommand =
new G4UIcmdWithABool(
"/vis/gMocren/addPointAttributes",
this);
64 addPointAttributesCommand->
SetGuidance(
"Adds point attributes to the points of trajectories.");
68
70 useSolidsCommand->
SetGuidance(
"Use GMocren Solids, rather than Geant4 Primitives.");
74
75
76
77
78
79
80
81
82
83 kSetgMocrenVolumeNameCommand =
new G4UIcmdWithAString(
"/vis/gMocren/setVolumeName",
this);
84 kSetgMocrenVolumeNameCommand->
SetGuidance(
"detector name for a volume data in gMocren data.");
88
90 kAddgMocrenHitNameCommand->
SetGuidance(
"hit name for a dose distribution in gMocren data.");
93
95 kResetgMocrenHitNameCommand->
SetGuidance(
"reset all hit names.");
97
98 kSetgMocrenScoringMeshNameCommand =
new G4UIcmdWithAString(
"/vis/gMocren/setScoringMeshName",
this);
99 kSetgMocrenScoringMeshNameCommand->
SetGuidance(
"scoring mesh name for a dose distribution in gMocren data.");
100 kSetgMocrenScoringMeshNameCommand->
SetParameterName(
"kgMocrenScoringMeshName",
false);
101 kSetgMocrenScoringMeshNameCommand->
SetDefaultValue(
"gMocrenScoringMesh");
103
104 kAddgMocrenHitScorerNameCommand =
new G4UIcmdWithAString(
"/vis/gMocren/addHitScorerName",
this);
105 kAddgMocrenHitScorerNameCommand->
SetGuidance(
"hit scorer name for a dose distribution in gMocren data.");
106 kAddgMocrenHitScorerNameCommand->
SetParameterName(
"kgMocrenHitScorerNames",
false);
108
110 kResetgMocrenHitScorerNameCommand->
SetGuidance(
"reset all hit scorer names.");
112
113 kSetgMocrenNoVoxelsCommand =
new G4UIcommand(
"/vis/gMocren/setNumberOfVoxels",
this);
114 kSetgMocrenNoVoxelsCommand->
SetGuidance(
"set number of voxels.");
128
130 kListgMocrenCommand->
SetGuidance(
"list gMocren command parameters.");
132
133 kDrawVolumeGridCommand =
new G4UIcmdWithABool(
"/vis/gMocren/drawVolumeGrid",
this);
134 kDrawVolumeGridCommand->
SetGuidance(
"Add grid of the volume.");
138
139}
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4bool defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(const char *defVal)
void SetParameter(G4UIparameter *const newParameter)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetDefaultValue(const char *theDefaultValue)
void SetParameterRange(const char *theRange)