61 : fAir(0), fAluminum(0), fPb(0), fXenon(0)
63 fReadFile =
"color_extension.gdml";
64 fWriteFile =
"color_extension_test.gdml";
78 delete fDetectorMessenger;
92 fParser->
Read(fReadFile,
false);
105 if(fWritingChoice!=0)
107 fParser->
Write(fWriteFile, fWorldPhysVol,
true,
108 "./SimpleExtensionSchema/SimpleExtension.xsd");
111 return fWorldPhysVol;
142 density = 1.29*
mg/
cm3;
143 fAir =
new G4Material(name=
"Air", density, ncomponents=2);
149 density = 2.70*
g/
cm3;
150 fAluminum =
new G4Material(name=
"Aluminum", density, ncomponents=1);
151 fAluminum->
AddElement(elAl, fractionmass=1.0);