48 : myParser(myPars), topvol(0)
51 persistencyDir->
SetGuidance(
"UI commands specific to persistency.");
62 TopVolCmd->
SetGuidance(
"Set the top volume for writing the GDML file.");
71 ClearCmd->
SetGuidance(
"Clear geometry (before reading a new one from GDML).");
81 delete persistencyDir;
87 if( command == ReaderCmd )
90 myParser->
Read(newValue);
94 if( command == TopVolCmd )
99 if( command == WriterCmd )
101 myParser->
Write(newValue, topvol);
104 if( command == ClearCmd )
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetNewValue(G4UIcommand *, G4String)
G4VPhysicalVolume * GetWorldVolume(const G4String &setupName="Default") const
G4LogicalVolume * GetVolume(const G4String &name, G4bool verbose=true) const
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
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()
static G4RunManager * GetRunManager()
void Read(const G4String &filename, G4bool Validate=true)
void OpenGeometry(G4VPhysicalVolume *vol=0)