47 double densityOfAir=0.1, densityOfPolystyrene=0.2;
48 const GeoMaterial *air =
new GeoMaterial(
"Air Two",densityOfAir);
49 const GeoMaterial *poly =
new GeoMaterial(
"std::Polystyrene",densityOfPolystyrene);
54 const GeoBox *toyBox =
new GeoBox(800*GeoModelKernelUnits::cm, 800*GeoModelKernelUnits::cm, 1000*GeoModelKernelUnits::cm);
56 const GeoLogVol *toyLog =
new GeoLogVol(
"ToyLog", toyBox, air);
58 GeoPhysVol *toyPhys =
new GeoPhysVol(toyLog);
64 GeoBox *sPass =
new GeoBox(5.0*GeoModelKernelUnits::cm, 30*GeoModelKernelUnits::cm, 30*GeoModelKernelUnits::cm);
65 GeoLogVol *lPass =
new GeoLogVol(
"Passive", sPass, poly);
66 GeoPhysVol *pPass =
new GeoPhysVol(lPass);
68 GeoBox *sIPass =
new GeoBox(4*GeoModelKernelUnits::cm, 25*GeoModelKernelUnits::cm, 25*GeoModelKernelUnits::cm);
69 GeoLogVol *lIPass =
new GeoLogVol(
"InnerPassive", sIPass, air);
70 GeoPhysVol *pIPass =
new GeoPhysVol(lIPass);
79 GeoNameTag *tag =
new GeoNameTag(
"Toy");