50 persistencyDir->
SetGuidance(
"UI commands specific to persistency.");
62 TopVolCmd->
SetGuidance(
"Set the top volume for writing the GDML file.");
73 StripCmd->
SetGuidance(
"Enable/disable stripping of pointers on names");
81 AppendCmd->
SetGuidance(
"Enable/disable appending of pointers to names");
82 AppendCmd->
SetGuidance(
"when writing a GDML file.");
89 RegionCmd->
SetGuidance(
"Enable export of geometrical regions");
90 RegionCmd->
SetGuidance(
"for storing production cuts.");
97 EcutsCmd->
SetGuidance(
"Enable export of energy cuts associated");
99 EcutsCmd->
SetGuidance(
"NOTE: may increase considerably the size of the");
100 EcutsCmd->
SetGuidance(
" GDML file! Information is anyhow not used");
108 SDCmd->
SetGuidance(
"Enable export of SD associated");
116 ClearCmd->
SetGuidance(
"Clear geometry (before reading a new one from GDML).");
131 delete persistencyDir;
140 if(command == StripCmd)
146 if(command == AppendCmd)
152 if(command == ReaderCmd)
155 myParser->
Read(newValue);
161 if(command == RegionCmd)
167 if(command == EcutsCmd)
179 if(command == TopVolCmd)
184 if(command == WriterCmd)
186 myParser->
Write(newValue, topvol, pFlag);
189 if(command == ClearCmd)
G4GDMLMessenger(G4GDMLParser *)
void SetNewValue(G4UIcommand *, G4String)
G4VPhysicalVolume * GetWorldVolume(const G4String &setupName="Default") const
void Read(const G4String &filename, G4bool Validate=true)
void SetEnergyCutsExport(G4bool)
void SetStripFlag(G4bool)
void SetAddPointerToName(G4bool set)
void Write(const G4String &filename, const G4VPhysicalVolume *pvol=0, G4bool storeReferences=true, const G4String &SchemaLocation=G4GDML_DEFAULT_SCHEMALOCATION)
void SetRegionExport(G4bool)
static G4GeometryManager * GetInstance()
void OpenGeometry(G4VPhysicalVolume *vol=nullptr)
G4LogicalVolume * GetVolume(const G4String &name, G4bool verbose=true) const
static G4LogicalVolumeStore * GetInstance()
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
void GeometryDirectlyUpdated(G4bool val=true)
static G4bool GetNewBoolValue(const char *paramString)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4bool defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetToBeBroadcasted(G4bool val)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)