228{
229 if( command==setCutCmd ){
233
234 } else if( command==setCutForAGivenParticleCmd ){
236 std::istringstream str (newValue) ;
237 str >> particleName >> cut >> unit ;
239
240 } else if( command==getCutForAGivenParticleCmd ){
242
243 } else if( command==setCutRCmd ){
244 std::istringstream is(newValue);
248 is >> regName >> cVal >> uniName;
249 if (is.fail()) {
251 return;
252 }
254
255 } else if( command==verboseCmd ) {
257
258 } else if( command==dumpListCmd ){
260
261 } else if( command==dumpOrdParamCmd ){
264
265 } else if( command == addProcManCmd ){
267 if (particle == 0) return;
270
271 } else if( command == buildPTCmd ){
273 if (particle == 0) return;
276
277 } else if ( command == storeCmd ){
279
280 } else if( command == retrieveCmd ) {
281 if ((newValue == "OFF") || (newValue == "off") ){
283 } else {
285 }
286
287 } else if( command == asciiCmd ) {
290 } else {
292 }
293
294 } else if( command == applyCutsCmd ) {
296
297
299 G4bool flag = (temp ==
"true" || temp==
"TRUE");
300
301
303
305
306 } else if( command == dumpCutValuesCmd ) {
308
309 }
310}
G4DLLIMPORT std::ostream G4cout
G4ProcessManager * GetProcessManager() const
static G4PhysicsListHelper * GetPhysicsListHelper()
void DumpOrdingParameterTable(G4int subType=-1) const
static G4double GetNewDoubleValue(const char *paramString)
static G4int GetNewIntValue(const char *paramString)
static G4double ValueOf(const char *unitName)
G4double GetCutValue(const G4String &pname) const
void SetDefaultCutValue(G4double newCutValue)
void SetPhysicsTableRetrieved(const G4String &directory="")
void PreparePhysicsTable(G4ParticleDefinition *)
void SetCutValue(G4double aCut, const G4String &pname)
void ResetStoredInAscii()
void SetCutsForRegion(G4double aCut, const G4String &rname)
G4bool StorePhysicsTable(const G4String &directory=".")
void SetVerboseLevel(G4int value)
void SetApplyCuts(G4bool value, const G4String &name)
void DumpCutValuesTable(G4int flag=1)
void AddProcessManager(G4ParticleDefinition *newParticle, G4ProcessManager *newManager=0)
void ResetPhysicsTableRetrieved()