58 : theAdjointRunManager(pAdjointRunManager)
67 AdjointSimDir->
SetGuidance(
"Control of the adjoint or reverse monte carlo simulation");
73 beamOnCmd =
new G4UIcommand(
"/adjoint/start_run",
this);
75 beamOnCmd->
SetGuidance(
"Default number of events to be processed is 1.");
98 DefineSpherExtSourceCmd =
new G4UIcommand(
"/adjoint/DefineSphericalExtSource",
this);
99 DefineSpherExtSourceCmd->
SetGuidance(
"Define a spherical external source.");
108 DefineSpherExtSourceCenteredOnAVolumeCmd=
new G4UIcommand(
"/adjoint/DefineSphericalExtSourceCenteredOnAVolume",
this);
109 DefineSpherExtSourceCenteredOnAVolumeCmd->
SetGuidance(
"Define a spherical external source with the center located at the center of a physical volume");
110 DefineSpherExtSourceCenteredOnAVolumeCmd->
SetParameter(phys_vol_name_par);
111 DefineSpherExtSourceCenteredOnAVolumeCmd->
SetParameter(radius_par);
112 DefineSpherExtSourceCenteredOnAVolumeCmd->
SetParameter(unit_par);
114 DefineExtSourceOnAVolumeExtSurfaceCmd=
new G4UIcmdWithAString(
"/adjoint/DefineExtSourceOnExtSurfaceOfAVolume",
this);
115 DefineExtSourceOnAVolumeExtSurfaceCmd->
SetGuidance(
"Set the external source on the external surface of a physical volume");
116 DefineExtSourceOnAVolumeExtSurfaceCmd->
SetParameterName(
"phys_vol_name",
false);
119 setExtSourceEMaxCmd->
SetGuidance(
"Set the maximum energy of the external source");
127 DefineSpherAdjSourceCmd =
new G4UIcommand(
"/adjoint/DefineSphericalAdjSource",
this);
128 DefineSpherAdjSourceCmd->
SetGuidance(
"Define a spherical adjoint source.");
135 DefineSpherAdjSourceCenteredOnAVolumeCmd=
new G4UIcommand(
"/adjoint/DefineSphericalAdjSourceCenteredOnAVolume",
this);
136 DefineSpherAdjSourceCenteredOnAVolumeCmd->
SetGuidance(
"Define a spherical adjoint source with the center located at the center of a physical volume");
137 DefineSpherAdjSourceCenteredOnAVolumeCmd->
SetParameter(phys_vol_name_par);
138 DefineSpherAdjSourceCenteredOnAVolumeCmd->
SetParameter(radius_par);
139 DefineSpherAdjSourceCenteredOnAVolumeCmd->
SetParameter(unit_par);
141 DefineAdjSourceOnAVolumeExtSurfaceCmd=
new G4UIcmdWithAString(
"/adjoint/DefineAdjSourceOnExtSurfaceOfAVolume",
this);
142 DefineAdjSourceOnAVolumeExtSurfaceCmd->
SetGuidance(
"Set the adjoint source on the external surface of physical volume");
143 DefineAdjSourceOnAVolumeExtSurfaceCmd->
SetParameterName(
"phys_vol_name",
false);
146 setAdjSourceEminCmd->
SetGuidance(
"Set the minimum energy of the adjoint source");
152 setAdjSourceEmaxCmd->
SetGuidance(
"Set the maximum energy of the adjoint source");
157 ConsiderParticleAsPrimaryCmd =
new G4UIcmdWithAString(
"/adjoint/ConsiderAsPrimary",
this);
158 ConsiderParticleAsPrimaryCmd->
SetGuidance(
"Set the selected particle as primary");
160 ConsiderParticleAsPrimaryCmd->
SetCandidates(
"e- gamma proton ion");
162 NeglectParticleAsPrimaryCmd=
new G4UIcmdWithAString(
"/adjoint/NeglectAsPrimary",
this);
163 NeglectParticleAsPrimaryCmd->
SetGuidance(
"Remove the selected particle from the list of primaries");
165 NeglectParticleAsPrimaryCmd->
SetCandidates(
"e- gamma proton ion");
168 setNbOfPrimaryFwdGammasPerEventCmd =
170 setNbOfPrimaryFwdGammasPerEventCmd->
SetGuidance(
"Set the nb of primary fwd gamm generated on the adjoint source");
174 setNbOfPrimaryAdjGammasPerEventCmd =
176 setNbOfPrimaryAdjGammasPerEventCmd->
SetGuidance(
"Set the nb of primary fwd gamm generated on the adjoint source");
180 setNbOfPrimaryAdjElectronsPerEventCmd =
182 setNbOfPrimaryAdjElectronsPerEventCmd->
SetGuidance(
"Set the nb of primary fwd gamm generated on the adjoint source");
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetParameter(G4UIparameter *const newParameter)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetParameterRange(const char *theRange)
void SetDefaultValue(const char *theDefaultValue)
void SetUnitCategory(const char *unitCategory)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetCandidates(const char *candidateList)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)