55 : theAdjointRunManager(pAdjointRunManager)
59 "Control of the adjoint or reverse monte carlo simulation");
89 new G4UIcommand(
"/adjoint/DefineSphericalExtSource",
this);
101 new G4UIcommand(
"/adjoint/DefineSphericalExtSourceCenteredOnAVolume",
this);
103 "Define a spherical external source with the center located at the center "
111 "/adjoint/DefineExtSourceOnExtSurfaceOfAVolume",
this);
113 "Set the external source on the external surface of a physical volume");
120 "Set the maximum energy of the external source");
129 new G4UIcommand(
"/adjoint/DefineSphericalAdjSource",
this);
138 new G4UIcommand(
"/adjoint/DefineSphericalAdjSourceCenteredOnAVolume",
this);
140 "Define a spherical adjoint source with the center located at the center "
148 "/adjoint/DefineAdjSourceOnExtSurfaceOfAVolume",
this);
150 "Set the adjoint source on the external surface of physical volume");
157 "Set the minimum energy of the adjoint source");
165 "Set the maximum energy of the adjoint source");
173 "Set the selected particle as primary");
180 "Remove the selected particle from the list of primaries");
187 "Set the nb of primary fwd gamm generated on the adjoint source");
195 "Set the nb of primary fwd gamm generated on the adjoint source");
201 "/adjoint/SetNbOfPrimaryAdjElectronsPerEvent",
this);
203 "Set the nb of primary fwd gamm generated on the adjoint source");
235 if(command ==
nullptr)
240 const char* nv = (
const char*) newValue;
241 std::istringstream is(nv);
259 const char* nv = (
const char*) newValue;
260 std::istringstream is(nv);
261 is >> x >> y >> z >> r >> unit;
273 const char* nv = (
const char*) newValue;
274 std::istringstream is(nv);
275 is >> vol_name >> r >> unit;
293 const char* nv = (
const char*) newValue;
294 std::istringstream is(nv);
295 is >> x >> y >> z >> r >> unit;
308 const char* nv = (
const char*) newValue;
309 std::istringstream is(nv);
310 is >> vol_name >> r >> unit;
CLHEP::Hep3Vector G4ThreeVector
G4bool DefineAdjointSourceOnTheExtSurfaceOfAVolume(const G4String &volume_name)
G4bool DefineExtSourceOnTheExtSurfaceOfAVolume(const G4String &volume_name)
void RunAdjointSimulation(G4int nb_evt)
G4bool DefineSphericalExtSourceWithCentreAtTheCentreOfAVolume(G4double radius, const G4String &volume_name)
void SetNbAdjointPrimaryGammasPerEvent(G4int)
void ConsiderParticleAsPrimary(const G4String &particle_name)
void SetExtSourceEmax(G4double Emax)
void SetAdjointSourceEmax(G4double Emax)
void SetAdjointSourceEmin(G4double Emin)
void NeglectParticleAsPrimary(const G4String &particle_name)
G4bool DefineSphericalAdjointSourceWithCentreAtTheCentreOfAVolume(G4double radius, const G4String &volume_name)
void SetNbAdjointPrimaryElectronsPerEvent(G4int)
void SetNbOfPrimaryFwdGammasPerEvent(G4int)
G4bool DefineSphericalExtSource(G4double radius, G4ThreeVector pos)
G4bool DefineSphericalAdjointSource(G4double radius, G4ThreeVector pos)
G4UIcmdWithADoubleAndUnit * setAdjSourceEminCmd
G4AdjointSimManager * theAdjointRunManager
G4AdjointSimMessenger(G4AdjointSimManager *)
G4UIcmdWithAnInteger * setNbOfPrimaryAdjGammasPerEventCmd
G4UIcmdWithAnInteger * setNbOfPrimaryFwdGammasPerEventCmd
G4UIcmdWithADoubleAndUnit * setAdjSourceEmaxCmd
void SetNewValue(G4UIcommand *, G4String)
G4UIcommand * DefineSpherAdjSourceCmd
G4UIcmdWithADoubleAndUnit * setExtSourceEMaxCmd
G4UIcommand * DefineSpherAdjSourceCenteredOnAVolumeCmd
G4UIcmdWithAString * NeglectParticleAsPrimaryCmd
G4UIcmdWithAString * DefineExtSourceOnAVolumeExtSurfaceCmd
G4UIcommand * DefineSpherExtSourceCmd
G4UIcommand * DefineSpherExtSourceCenteredOnAVolumeCmd
G4UIcmdWithAString * ConsiderParticleAsPrimaryCmd
G4UIcmdWithAString * DefineAdjSourceOnAVolumeExtSurfaceCmd
G4UIcmdWithAnInteger * setNbOfPrimaryAdjElectronsPerEventCmd
G4UIdirectory * AdjointSimDir
static G4RunManager * GetRunManager()
void SetUnitCategory(const char *unitCategory)
static G4double GetNewDoubleValue(const char *paramString)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetCandidates(const char *candidateList)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
void SetParameter(G4UIparameter *const newParameter)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetDefaultValue(const char *theDefaultValue)
void SetParameterRange(const char *theRange)
static G4double GetValueOf(const G4String &)