11 #define _SUBVERSION_ 0
16 gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
21 double beam_pipe_radius = 20.0 *
eic::mm;
23 Double_t rMin = 850.0 *
eic::mm;
24 Double_t rMax = 1600.0 *
eic::mm;
25 Double_t wndThickness = 200 *
eic::um;
26 Double_t wndEnLocation = 1250.0 *
eic::mm;
27 Double_t cf4Thickness = 1000.0 *
eic::mm;
28 Double_t cf4Location = wndEnLocation + wndThickness/2 + cf4Thickness/2;
29 Double_t wndExLocation = wndEnLocation + wndThickness + cf4Thickness;
32 Double_t profilerOffset = -200.0 *
eic::mm;
35 Double_t profilerThickness = 10 *
eic::um;
36 Double_t profilerRadius = rMin + (profilerOffset + cf4Thickness/2 - profilerThickness/2)*(rMax-rMin)/cf4Thickness;
39 TGeoTube *wnden =
new TGeoTube(
"richWndEn",
43 TGeoVolume *vwnden =
new TGeoVolume(
"richWndEn", wnden, rich->
GetMedium(
"carbon"));
45 rich->
GetTopVolume()->AddNode(vwnden, 0,
new TGeoCombiTrans(0.0, 0.0, wndEnLocation,
new TGeoRotation()));
48 TGeoCone *cf4 =
new TGeoCone(
"richVolume",
54 TGeoVolume *vcf4 =
new TGeoVolume(
"richVolume", cf4, rich->
GetMedium(
"CF4"));
55 rich->
GetTopVolume()->AddNode(vcf4, 0,
new TGeoCombiTrans(0.0, 0.0, cf4Location,
new TGeoRotation()));
58 TGeoTube *prof =
new TGeoTube(
"richProfiler",
63 TGeoVolume *vprof =
new TGeoVolume(
"richProfiler", prof, rich->
GetMedium(
"silicon"));
64 vcf4->AddNode(vprof, 0,
new TGeoCombiTrans(0.0, 0.0, profilerOffset,
new TGeoRotation()));
70 UInt_t geant[1] = {0}, group = 0, logical[3] = {0, 0, 0};
73 cout <<
"Failed to set mapping table entry!" << endl;
79 TGeoTube *wndex =
new TGeoTube(
"richWndEx",
83 TGeoVolume *vwndex =
new TGeoVolume(
"richWndEx", wndex, rich->
GetMedium(
"carbon"));
84 rich->
GetTopVolume()->AddNode(vwndex, 0,
new TGeoCombiTrans(0.0, 0.0, wndExLocation,
new TGeoRotation()));