232 if (!command)
return;
236 const char* nv = (
const char*)newValue;
237 std::istringstream is(nv);
263 const char* nv = (
const char*)newValue;
264 std::istringstream is(nv);
265 is >> x>>y>>z>>r>>unit;
277 const char* nv = (
const char*)newValue;
278 std::istringstream is(nv);
279 is >>vol_name>>r>>unit;
294 const char* nv = (
const char*)newValue;
295 std::istringstream is(nv);
296 is >> x>>y>>z>>r>>unit;
308 const char* nv = (
const char*)newValue;
309 std::istringstream is(nv);
310 is >>vol_name>>r>>unit;
G4UIcmdWithADoubleAndUnit * setExtSourceEMaxCmd
void SetAdjointSourceEmax(G4double Emax)
CLHEP::Hep3Vector G4ThreeVector
static G4int GetNewIntValue(const char *paramString)
G4AdjointSimManager * theAdjointRunManager
G4bool DefineSphericalAdjointSourceWithCentreAtTheCentreOfAVolume(G4double radius, const G4String &volume_name)
G4UIcmdWithAnInteger * setNbOfPrimaryFwdGammasPerEventCmd
G4bool DefineSphericalAdjointSource(G4double radius, G4ThreeVector pos)
G4UIcmdWithADoubleAndUnit * setAdjSourceEminCmd
static G4double GetNewDoubleValue(const char *paramString)
void SetAdjointSourceEmin(G4double Emin)
G4UIcommand * DefineSpherExtSourceCenteredOnAVolumeCmd
static G4double GetValueOf(const G4String &)
G4UIcommand * DefineSpherAdjSourceCenteredOnAVolumeCmd
G4bool DefineAdjointSourceOnTheExtSurfaceOfAVolume(const G4String &volume_name)
G4UIcmdWithAString * DefineAdjSourceOnAVolumeExtSurfaceCmd
void SetNbOfPrimaryFwdGammasPerEvent(G4int)
G4UIcommand * DefineSpherExtSourceCmd
void RunAdjointSimulation(G4int nb_evt)
G4UIcmdWithAString * DefineExtSourceOnAVolumeExtSurfaceCmd
G4bool DefineSphericalExtSourceWithCentreAtTheCentreOfAVolume(G4double radius, const G4String &volume_name)
G4UIcommand * DefineSpherAdjSourceCmd
G4bool DefineSphericalExtSource(G4double radius, G4ThreeVector pos)
G4UIcmdWithADoubleAndUnit * setAdjSourceEmaxCmd
static G4RunManager * GetRunManager()
G4UIcmdWithAString * ConsiderParticleAsPrimaryCmd
void ConsiderParticleAsPrimary(const G4String &particle_name)
G4bool DefineExtSourceOnTheExtSurfaceOfAVolume(const G4String &volume_name)
G4UIcmdWithAString * NeglectParticleAsPrimaryCmd
void SetExtSourceEmax(G4double Emax)
void NeglectParticleAsPrimary(const G4String &particle_name)