49 : myParser(myPars), topvol(0)
52 persistencyDir->
SetGuidance(
"UI commands specific to persistency.");
63 TopVolCmd->
SetGuidance(
"Set the top volume for writing the GDML file.");
72 RegionCmd->
SetGuidance(
"Enable export of geometrical regions");
73 RegionCmd->
SetGuidance(
"for storing production cuts.");
79 EcutsCmd->
SetGuidance(
"Enable export of energy cuts associated");
81 EcutsCmd->
SetGuidance(
"NOTE: may increase considerably the size of the");
82 EcutsCmd->
SetGuidance(
" GDML file! Information is anyhow not used");
89 SDCmd->
SetGuidance(
"Enable export of SD associated");
96 ClearCmd->
SetGuidance(
"Clear geometry (before reading a new one from GDML).");
109 delete persistencyDir;
115 if( command == ReaderCmd )
118 myParser->
Read(newValue);
122 if( command == RegionCmd )
128 if( command == EcutsCmd )
134 if( command == SDCmd )
140 if( command == TopVolCmd )
145 if( command == WriterCmd )
147 myParser->
Write(newValue, topvol);
150 if( command == ClearCmd )
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetNewValue(G4UIcommand *, G4String)
G4VPhysicalVolume * GetWorldVolume(const G4String &setupName="Default") const
void SetRegionExport(G4bool)
static G4bool GetNewBoolValue(const char *paramString)
G4LogicalVolume * GetVolume(const G4String &name, G4bool verbose=true) const
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
void SetDefaultValue(G4bool defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
G4GDMLMessenger(G4GDMLParser *)
void SetGuidance(const char *aGuidance)
static G4LogicalVolumeStore * GetInstance()
void Write(const G4String &filename, const G4VPhysicalVolume *pvol=0, G4bool storeReferences=true, const G4String &SchemaLocation=G4GDML_DEFAULT_SCHEMALOCATION)
void AvailableForStates(G4ApplicationState s1)
static G4GeometryManager * GetInstance()
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
void SetEnergyCutsExport(G4bool)
static G4RunManager * GetRunManager()
void Read(const G4String &filename, G4bool Validate=true)
void OpenGeometry(G4VPhysicalVolume *vol=0)