16 gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
22 Double_t fakeThickness = 0.1;
27 Double_t fakeRadius = 20.0;
31 TGeoTube *ipspot =
new TGeoTube(
"IpPoint",
34 0.1 * fakeThickness/2);
35 TGeoVolume *vippt =
new TGeoVolume(
"IpPoint", ipspot, ippt->
GetMedium(
"silicon"));
39 fgmap->SetSingleSensorContainerVolume(
"IpPoint");
44 UInt_t geant[1] = {0}, group = 0, logical[3] = {0, 0, 0};
47 cout <<
"Failed to set mapping table entry!" << endl;
51 ippt->
GetTopVolume()->AddNode(vippt, 0,
new TGeoCombiTrans(0.0, 0.0, 0.1,
new TGeoRotation()));
55 TGeoBBox *wndbox =
new TGeoBBox(
"ExitWindow",
58 0.1 * wndThickness/2);
59 TGeoVolume *vwnd =
new TGeoVolume(
"ExitWindow", wndbox, ippt->
GetMedium(
"iron"));
60 ippt->
GetTopVolume()->AddNode(vwnd, 0,
new TGeoCombiTrans(0.0, 0.0, 0.1*4900.0,
new TGeoRotation()));