85 Double_t a2[2] = { 14.01, 16.00 };
86 Double_t z2[2] = { 7.0, 8.0 };
87 Double_t w2[2] = { 0.7, 0.3 };
90 gMC->Mixture(imatAir,
"Air", a2, z2, density, 2, w2);
98 gMC->Material(imatPb,
"Lead", a, z, density, radl, absl, ubuf, 0);
108 gMC->Material(imatXe,
"XenonGas", a, z, density, radl, absl, ubuf, 0);
115 Double_t fieldm = 10.;
116 Double_t epsil = .001;
117 Double_t stemax = -0.01;
118 Double_t tmaxfd = -20.;
119 Double_t deemax = -.3;
120 Double_t stmin = -.8;
121 gMC->Medium(
fImedAir,
"Air", imatAir, 0, ifield, fieldm, tmaxfd, stemax,
122 deemax, epsil, stmin, ubuf, 0);
123 gMC->Medium(
fImedPb,
"Lead", imatPb, 0, ifield, fieldm, tmaxfd, stemax,
124 deemax, epsil, stmin, ubuf, 0);
125 gMC->Medium(
fImedXe,
"XenonGas", imatXe, 0, ifield, fieldm, tmaxfd, stemax,
126 deemax, epsil, stmin, ubuf, 0);
156 world[0] = halfWorldLength;
157 world[1] = halfWorldLength;
158 world[2] = halfWorldLength;
159 gMC->Gsvolu(
"WRLD",
"BOX",
fImedAir, world, 3);
166 target[0] = targetSize;
167 target[1] = targetSize;
168 target[2] = targetSize;
169 gMC->Gsvolu(
"TARG",
"BOX", targetMater, target, 3);
173 Double_t posZ = -(targetSize + trackerSize);
174 gMC->Gspos(
"TARG", 1,
"WRLD", posX, posY, posZ, 0,
"ONLY");
179 <<
" of lead " << endl;
186 tracker[0] = trackerSize;
187 tracker[1] = trackerSize;
188 tracker[2] = trackerSize;
189 gMC->Gsvolu(
"TRAK",
"BOX",
fImedAir, tracker, 3);
194 gMC->Gspos(
"TRAK", 1,
"WRLD", posX, posY, posZ, 0,
"ONLY");
208 gMC->Gsvolu(
"CHMB",
"BOX", chamberMater, chamber, 0);
225 gMC->Gsposp(
"CHMB", i,
"TRAK", pos[0], pos[1], pos[2], 0,
"ONLY", dim, 3);
228 cout <<
"There are " <<
fNofChambers <<
" chambers in the tracker region. "