34 cout <<
"Cell length: " << gpar->
mCellLength <<
" mm" << endl;
37 #ifndef _NO_STRUCTURE_GEOMETRY_
80 TGeoBBox *tower =
new TGeoBBox(cname +
"Tower",
86 #ifdef _NO_STRUCTURE_GEOMETRY_
87 TGeoVolume *
vtower =
new TGeoVolume(cname +
"Tower", tower, hcal->
GetMedium(
"PbSciMix"));
89 TGeoVolume *vtower =
new TGeoVolume(cname +
"Tower", tower, hcal->
GetMedium(
"air"));
95 TGeoBBox *leadPlate =
new TGeoBBox(cname +
"LeadPlate",
99 TGeoVolume *vleadPlate =
100 new TGeoVolume(cname +
"LeadPlate", leadPlate, hcal->
GetMedium(
"lead"));
108 TGeoRotation *rpin =
new TGeoRotation();
112 new TGeoTube(cname +
"SteelPin", 0.0, 0.1 * hcal->
mPinDiameter/2, 0.1 * length/2);
113 TGeoVolume *vsteelPin =
114 new TGeoVolume(cname +
"SteelPin", steelPin, hcal->
GetMedium(
"iron"));
116 for(
unsigned lr=0; lr<2; lr++) {
119 for(
unsigned tb=0; tb<2; tb++) {
122 vleadPlate->AddNode(vsteelPin, lr*2 + tb,
123 new TGeoCombiTrans(0.1 * x, 0.1 * y, 0.0, rpin));
130 TGeoBBox *steelPlate =
new TGeoBBox(cname +
"RearSteelPlate",
134 TGeoVolume *vsteelPlate =
135 new TGeoVolume(cname +
"RearSteelPlate", steelPlate, hcal->
GetMedium(
"iron"));
147 vtower->AddNode(vsteelPlate, 0,
new TGeoCombiTrans(0.1 * offsetX, 0.1 *offsetY,
150 vtower->AddNode(vleadPlate, pt,
new TGeoCombiTrans(0.1 * offsetX, 0.1 *offsetY,
157 TGeoBBox *sciPlate =
new TGeoBBox(cname +
"ScintillatorPlate",
161 TGeoVolume *vsciPlate =
162 new TGeoVolume(cname +
"ScintillatorPlate", sciPlate, hcal->
GetMedium(
"polystyrene"));
174 vtower->AddNode(vsciPlate, pt,
new TGeoCombiTrans(0.1 * offsetX, 0.1 *offsetY,
181 TGeoBBox *wlsPlate =
new TGeoBBox(cname +
"WlsPlate",
185 TGeoVolume *vwlsPlate =
187 new TGeoVolume(cname +
"WlsPlate", wlsPlate, hcal->
GetMedium(
"polystyrene"));
190 TGeoBBox *mylarFilm =
new TGeoBBox(
"mylarFilm",
194 TGeoVolume *vmylarFilm =
196 new TGeoVolume(cname +
"MylarFilm", mylarFilm, hcal->
GetMedium(
"kapton"));
198 TGeoBBox *steelSpacer =
new TGeoBBox(cname +
"SteelSpacer",
202 TGeoVolume *vsteelSpacer =
204 new TGeoVolume(cname +
"SteelSpacer", steelSpacer, hcal->
GetMedium(
"iron"));
211 vtower->AddNode(vwlsPlate, 0,
new TGeoCombiTrans(0.1 * offsetX, 0.1 *offsetY,
214 for(
unsigned lr=0; lr<2; lr++) {
218 vtower->AddNode(vmylarFilm, lr,
new TGeoCombiTrans(0.1 * (offsetX + dx),
219 0.1 *offsetY, 0.1 * offsetZ, 0));
222 vtower->AddNode(vsteelSpacer, 0,
223 new TGeoCombiTrans(0.0,