62     fAir(0), fAluminum(0), fPb(0), fXenon(0),
 
   63     fReader(0), fWriter(0), fParser(0),
 
   66   fReadFile = 
"color_extension.gdml";
 
   67   fWriteFile = 
"color_extension_test.gdml";
 
   81   delete fDetectorMessenger;
 
   95   fParser->
Read(fReadFile,
false);
 
  108   if(fWritingChoice!=0)
 
  110     fParser->
Write(fWriteFile, fWorldPhysVol, 
true,
 
  111                   "./SimpleExtensionSchema/SimpleExtension.xsd");
 
  114   return fWorldPhysVol;
 
  145   density = 1.29*
mg/
cm3;
 
  146   fAir = 
new G4Material(name=
"Air", density, ncomponents=2);
 
  152   density = 2.70*
g/
cm3;
 
  153   fAluminum = 
new G4Material(name=
"Aluminum", density, ncomponents=1);
 
  154   fAluminum->
AddElement(elAl, fractionmass=1.0);
 
GDML reader for the color attributes. 
 
Detector messenger for the GDML extensions example. 
 
Definition of the G03DetectorConstruction class. 
 
G4VPhysicalVolume * GetWorldVolume(const G4String &setupName="Default") const 
 
GDML writer for the color attributes. 
 
static G4MaterialTable * GetMaterialTable()
 
void SetWriteFile(const G4String &fname)
 
~G03DetectorConstruction()
 
Definition of the G03DetectorMessenger class. 
 
void SetReadFile(const G4String &fname)
 
virtual G4VPhysicalVolume * Construct()
 
G4GLOB_DLL std::ostream G4cout
 
Definition of the G03ColorWriter class. 
 
void Write(const G4String &filename, const G4VPhysicalVolume *pvol=0, G4bool storeReferences=true, const G4String &SchemaLocation=G4GDML_DEFAULT_SCHEMALOCATION)
 
Definition of the G03ColorReader class. 
 
void Read(const G4String &filename, G4bool Validate=true)
 
G03DetectorConstruction()
 
void AddElement(G4Element *element, G4int nAtoms)
 
static G4ElementTable * GetElementTable()