Hole() method needed by TRD to find out wheter frame has holes.
[u/mrichter/AliRoot.git] / STRUCT / AliFRAMEv2.cxx
CommitLineData
7e5caa00 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
16/*
17$Log$
d03c72a2 18Revision 1.5 2001/08/28 15:54:29 morsch
19Web frame and inner rings pointing.
20
4a8eca94 21Revision 1.4 2001/06/22 14:11:17 morsch
22Back to official z-positions of rings.
23
02e42643 24Revision 1.3 2001/06/22 12:02:20 morsch
25Ring locations matching TRD module positions.
26
af3fbbe1 27Revision 1.2 2001/05/25 07:59:54 morsch
28Initialization print-out in debug mode only.
29
0a05c568 30Revision 1.1 2001/05/11 13:18:05 morsch
31C++ version of spaceframe with specs according to Jan Bielski Feb. 2001
32
7e5caa00 33*/
34
35////////////////////////////////////////////////
36// space frame class /
37///////////////////////////////////////////////
38
39#include "AliFRAMEv2.h"
40#include "AliMagF.h"
41#include "AliRun.h"
42#include "AliMC.h"
43#include "TSystem.h"
44
45ClassImp(AliFRAMEv2)
46
47//_____________________________________________________________________________
48AliFRAMEv2::AliFRAMEv2()
49{
50// Constructor
51 SetHoles(0);
52}
53
54//_____________________________________________________________________________
55AliFRAMEv2::AliFRAMEv2(const char *name, const char *title)
56 : AliFRAME(name,title)
57{
58// Constructor
59 SetHoles(0);
60}
61
62
63//___________________________________________
64void AliFRAMEv2::CreateGeometry()
65{
66//Begin_Html
67/*
68<img src="picts/frame.gif">
69*/
70//End_Html
71
72
73//Begin_Html
74/*
75<img src="picts/tree_frame.gif">
76*/
77//End_Html
78
4a8eca94 79 Int_t idrotm[2299];
7e5caa00 80 Int_t *idtmed = fIdtmed->GetArray()-1999;
81//
82// The Space frame
83//
84//
85 Float_t pbox[3], ptrap[11], ptrd1[4], ptube[3], ppgon[10];
86
87 Float_t dx, dy, dz;
88 Int_t i, j, jmod;
89//
90// Constants
91 const Float_t kEps = 0.01;
92 const Int_t kAir = idtmed[2004];
93 const Int_t kSteel = idtmed[2064];
94
95 const Float_t krad2deg = 180./TMath::Pi();
96 const Float_t kdeg2rad = 1./krad2deg;
97
98 Float_t iFrH = 114.4;
99 Float_t ringH = 4.;
100 Float_t ringW = 10.;
101 Float_t longH = 5.39;
102 Float_t longW = 6.;
103 Float_t dwl = 3.14;
104 Float_t dwh = 0.96;
105
02e42643 106//
4a8eca94 107 Float_t dymodU[3] = {70.0, 224.0, 341.};
02e42643 108// new ?
4a8eca94 109 Float_t dymodL[3] = {54.0, 178.5, 341.};
af3fbbe1 110
7e5caa00 111//
112// Frame mother volume
113//
114 ptube[0] = 280.;
115// ptube[1] = 428.2;
116 ptube[1] = 430.;
117 ptube[2] = 376.;
118 gMC->Gsvolu("B077", "TUBE", kAir, ptube, 3);
119 gMC->Gspos("B077", 1, "ALIC", 0., 0., 0., 0, "ONLY");
120//
121// The outer Frame
122//
123
124 Float_t dol = 8.75;
125 Float_t doh = 5.;
126 Float_t ds = 0.35;
127//
128// Mother volume
129//
130 ppgon[0] = 0.;
131 ppgon[1] = 360.;
132 ppgon[2] = 18.;
133
134 ppgon[3] = 2.;
135
136 ppgon[4] = -350.;
137 ppgon[5] = 399.;
138 ppgon[6] = 420.7122;
139
140 ppgon[7] = -ppgon[4];
141 ppgon[8] = ppgon[5];
142 ppgon[9] = ppgon[6];
143 gMC->Gsvolu("B076", "PGON", kAir, ppgon, 10);
144 gMC->Gspos("B076", 1, "B077", 0., 0., 0., 0, "ONLY");
145//
146// Rings
147//
148 dz = 2.*410.2*TMath::Sin(10.*kdeg2rad)-2.*dol*TMath::Cos(10.*kdeg2rad)-
149 2.*doh*TMath::Tan(10.*kdeg2rad);
150 Float_t l1 = dz/2.;
151 Float_t l2 = dz/2.+2.*doh*TMath::Tan(10.*kdeg2rad);
152
153 ptrd1[0] = l1;
154 ptrd1[1] = l2;
155
156 ptrd1[2] = dol;
157 ptrd1[3] = doh;
158 gMC->Gsvolu("B042", "TRD1", kSteel, ptrd1, 4);
159
160 ptrd1[0] = ptrd1[0]+ds*(l2-l1)/2./doh;
161 ptrd1[1] = ptrd1[1]-ds*(l2-l1)/2./doh;
162 ptrd1[2] = dol-ds;
163 ptrd1[3] = doh-ds;
164 gMC->Gsvolu("B043", "TRD1", kAir, ptrd1, 4);
165 gMC->Gspos("B043", 1, "B042", 0., 0., 0., 0, "ONLY");
166//
167// longitudinal bars
168//
169// 170x200x5
170//
171 pbox[0] = dol;
172 pbox[1] = doh;
173 pbox[2] = 350.;
174 gMC->Gsvolu("B033", "BOX", kSteel, pbox, 3);
175 pbox[0] = dol-ds;
176 pbox[1] = doh-ds;
177 gMC->Gsvolu("B034", "BOX", kAir, pbox, 3);
178 gMC->Gspos("B034", 1, "B033", 0., 0., 0., 0, "ONLY");
179
180 pbox[0] = 1.0;
181 pbox[1] = 5.0;
182 pbox[2] = 375.5;
183
184
185 gMC->Gsvolu("B080", "BOX", kSteel, pbox, 3);
186 gMC->Gspos("B080", 1, "B077", 281.01, 0., 0., 0, "ONLY");
187 gMC->Gspos("B080", 2, "B077", -281.01, 0., 0., 0, "ONLY");
188
189//
190// Diagonal bars (1)
191//
192 Float_t h, d, dq, x, theta;
193
4a8eca94 194 h = (dymodU[1]-dymodU[0]-2.*dol)*.999;
7e5caa00 195 d = 2.*dol;
196 dq = h*h+dz*dz;
197
198 x = TMath::Sqrt((dz*dz-d*d)/dq + d*d*h*h/dq/dq)+d*h/dq;
199
200
201 theta = krad2deg * TMath::ACos(x);
202
203 ptrap[0] = dz/2.;
204 ptrap[1] = theta;
205 ptrap[2] = 0.;
206 ptrap[3] = doh;
207 ptrap[4] = dol/x;
208 ptrap[5] = ptrap[4];
209 ptrap[6] = 0;
210 ptrap[7] = ptrap[3];
211 ptrap[8] = ptrap[4];
212 ptrap[9] = ptrap[4];
213 ptrap[10] = 0;
214
215 gMC->Gsvolu("B047", "TRAP", kSteel, ptrap, 11);
216 ptrap[3] = doh-ds;
217 ptrap[4] = (dol-ds)/x;
218 ptrap[5] = ptrap[4];
219 ptrap[7] = ptrap[3];
220 ptrap[8] = ptrap[4];
221 ptrap[9] = ptrap[4];
222 gMC->Gsvolu("B048", "TRAP", kAir, ptrap, 11);
223 gMC->Gspos("B048", 1, "B047", 0.0, 0.0, 0., 0, "ONLY");
224
225/*
226 Crosses (inner most)
227 \\ //
228 \\//
229 //\\
230 // \\
231*/
4a8eca94 232 h = (2.*dymodU[0]-2.*dol)*.999;
7e5caa00 233//
234// Mother volume
235//
236 pbox[0] = h/2;
237 pbox[1] = doh;
238 pbox[2] = dz/2.;
239 gMC->Gsvolu("BM49", "BOX ", kAir, pbox, 3);
240
241
242 dq = h*h+dz*dz;
243 x = TMath::Sqrt((dz*dz-d*d)/dq + d*d*h*h/dq/dq)+d*h/dq;
244 theta = krad2deg * TMath::ACos(x);
245
246 ptrap[0] = dz/2.-kEps;
247 ptrap[1] = theta;
248 ptrap[2] = 0.;
249 ptrap[3] = doh-kEps;
250 ptrap[4] = dol/x;
251 ptrap[5] = ptrap[4];
252 ptrap[7] = ptrap[3];
253 ptrap[8] = ptrap[4];
254 ptrap[9] = ptrap[4];
255
256 gMC->Gsvolu("B049", "TRAP", kSteel, ptrap, 11);
257 ptrap[0] = ptrap[0]-kEps;
258 ptrap[3] = (doh-ds);
259 ptrap[4] = (dol-ds)/x;
260 ptrap[5] = ptrap[4];
261 ptrap[7] = ptrap[3];
262 ptrap[8] = ptrap[4];
263 ptrap[9] = ptrap[4];
264 gMC->Gsvolu("B050", "TRAP", kAir, ptrap, 11);
265 gMC->Gspos("B050", 1, "B049", 0.0, 0.0, 0., 0, "ONLY");
266 gMC->Gspos("B049", 1, "BM49", 0.0, 0.0, 0., 0, "ONLY");
267
268
269 Float_t dd1 = d*TMath::Tan(theta*kdeg2rad);
270 Float_t dd2 = d/TMath::Tan(2.*theta*kdeg2rad);
271 Float_t theta2 = TMath::ATan(TMath::Abs(dd2-dd1)/d/2.);
272
273
274 ptrap[0] = dol;
275 ptrap[1] = theta2*krad2deg;
276 ptrap[2] = 0.;
277 ptrap[3] = doh;
278 ptrap[4] = (dz/2./x-dd1-dd2)/2.;
279 ptrap[5] = ptrap[4];
280 ptrap[6] = 0.;
281 ptrap[7] = ptrap[3];
282 ptrap[8] = dz/4./x;
283 ptrap[9] = ptrap[8];
284
285
286 gMC->Gsvolu("B051", "TRAP", kSteel, ptrap, 11);
287 Float_t ddx0 = ptrap[8];
288
289 Float_t dd1s = dd1*(1.-2.*ds/d);
290 Float_t dd2s = dd2*(1.-2.*ds/d);
291 Float_t theta2s = TMath::ATan(TMath::Abs(dd2s-dd1s)/(d-2.*ds)/2.);
292
293
294 ptrap[0] = dol-ds;
295 ptrap[1] = theta2s*krad2deg;
296 ptrap[2] = 0.;
297 ptrap[3] = doh-ds;
298 ptrap[4] = ptrap[4]+ds/d/2.*(dd1+dd2);
299 ptrap[5] = ptrap[4];
300 ptrap[6] = 0.;
301 ptrap[7] = ptrap[3];
302 ptrap[8] = ptrap[8]-ds/2./d*(dd1+dd2);
303 ptrap[9] = ptrap[8];
304
305 gMC->Gsvolu("B052", "TRAP", kAir, ptrap, 11);
306 gMC->Gspos("B052", 1, "B051", 0.0, 0.0, 0., 0, "ONLY");
307
308 Float_t ddx, ddz, drx, drz, rtheta;
309
4a8eca94 310 AliMatrix(idrotm[2001], -theta+180, 0.0, 90.0, 90.0, 90.-theta, 0.0);
7e5caa00 311 rtheta = (90.-theta)*kdeg2rad;
312 ddx = -ddx0-dol*TMath::Tan(theta2);
313 ddz = -dol;
314
315 drx = TMath::Cos(rtheta) * ddx +TMath::Sin(rtheta) *ddz+pbox[0];
316 drz = -TMath::Sin(rtheta) * ddx +TMath::Cos(rtheta) *ddz-pbox[2];
317 gMC->Gspos("B051", 1, "BM49",
318 drx, 0.0, drz,
4a8eca94 319 idrotm[2001], "ONLY");
7e5caa00 320
4a8eca94 321 AliMatrix(idrotm[2002], -theta, 0.0, 90.0, 90.0, 270.-theta, 0.0);
7e5caa00 322 rtheta = (270.-theta)*kdeg2rad;
323
324 drx = TMath::Cos(rtheta) * ddx + TMath::Sin(rtheta) * ddz-pbox[0];
325 drz = -TMath::Sin(rtheta) * ddx + TMath::Cos(rtheta) * ddz+pbox[2];
326 gMC->Gspos("B051", 2, "BM49",
327 drx, 0.0, drz,
4a8eca94 328 idrotm[2002], "ONLY");
7e5caa00 329
330//
331// Diagonal bars (3)
332//
4a8eca94 333 h = ((dymodU[2]-dymodU[1])-2.*dol)*.999;
7e5caa00 334 dq = h*h+dz*dz;
335 x = TMath::Sqrt((dz*dz-d*d)/dq + d*d*h*h/dq/dq)+d*h/dq;
336 theta = krad2deg * TMath::ACos(x);
337
338 ptrap[0] = dz/2.;
339 ptrap[1] = theta;
340 ptrap[3] = doh;
341 ptrap[4] = dol/x;
342 ptrap[5] = ptrap[4];
343 ptrap[7] = ptrap[3];
344 ptrap[8] = ptrap[4];
345 ptrap[9] = ptrap[4];
346
347 gMC->Gsvolu("B045", "TRAP", kSteel, ptrap, 11);
348 ptrap[3] = doh-ds;
349 ptrap[4] = (dol-ds)/x;
350 ptrap[5] = ptrap[4];
351 ptrap[7] = ptrap[3];
352 ptrap[8] = ptrap[4];
353 ptrap[9] = ptrap[4];
354 gMC->Gsvolu("B046", "TRAP", kAir, ptrap, 11);
355 gMC->Gspos("B046", 1, "B045", 0.0, 0.0, 0., 0, "ONLY");
356
357//
358// Positioning of diagonal bars
359//
360// Matrices have been imported from Euclid. Some simplification
361// seems possible
362//
4a8eca94 363 AliMatrix(idrotm[2003], 0.0, 0.0, 90.0, 130.0, 90.0, 40.0);
364 AliMatrix(idrotm[2004], 180.0, 0.0, 90.0, 130.0, 90.0, 40.0);
365 AliMatrix(idrotm[2005], 180.0, 0.0, 90.0, 150.0, 90.0, 240.0);
366 AliMatrix(idrotm[2006], 0.0, 0.0, 90.0, 150.0, 90.0, 240.0);
367 AliMatrix(idrotm[2007], 0.0, 0.0, 90.0, 170.0, 90.0, 80.0);
368 AliMatrix(idrotm[2008], 180.0, 0.0, 90.0, 190.0, 90.0, 280.0);
369 AliMatrix(idrotm[2009], 180.0, 0.0, 90.0, 170.0, 90.0, 80.0);
370 AliMatrix(idrotm[2010], 0.0, 0.0, 90.0, 190.0, 90.0, 280.0);
371 AliMatrix(idrotm[2011], 0.0, 0.0, 90.0, 350.0, 90.0, 260.0);
372 AliMatrix(idrotm[2012], 180.0, 0.0, 90.0, 350.0, 90.0, 260.0);
373 AliMatrix(idrotm[2013], 180.0, 0.0, 90.0, 10.0, 90.0, 100.0);
374 AliMatrix(idrotm[2014], 0.0, 0.0, 90.0, 10.0, 90.0, 100.0);
375 AliMatrix(idrotm[2015], 0.0, 0.0, 90.0, 30.0, 90.0, 300.0);
376 AliMatrix(idrotm[2016], 180.0, 0.0, 90.0, 30.0, 90.0, 300.0);
377 AliMatrix(idrotm[2017], 180.0, 0.0, 90.0, 50.0, 90.0, 140.0);
378 AliMatrix(idrotm[2018], 0.0, 0.0, 90.0, 50.0, 90.0, 140.0);
379
380 AliMatrix(idrotm[2019], 180.0, 0.0, 90.0, 130.0, 90.0, 220.0);
381 AliMatrix(idrotm[2020], 180.0, 0.0, 90.0, 50.0, 90.0, 320.0);
382 AliMatrix(idrotm[2021], 180.0, 0.0, 90.0, 150.0, 90.0, 60.0);
383 AliMatrix(idrotm[2022], 180.0, 0.0, 90.0, 30.0, 90.0, 120.0);
384 AliMatrix(idrotm[2023], 180.0, 0.0, 90.0, 170.0, 90.0, 260.0);
385 AliMatrix(idrotm[2024], 180.0, 0.0, 90.0, 190.0, 90.0, 100.0);
386 AliMatrix(idrotm[2025], 180.0, 0.0, 90.0, 350.0, 90.0, 80.0);
387 AliMatrix(idrotm[2026], 180.0, 0.0, 90.0, 10.0, 90.0, 280.0);
388
389 AliMatrix(idrotm[2027], 0.0, 0.0, 90.0, 50.0, 90.0, 320.0);
390 AliMatrix(idrotm[2028], 0.0, 0.0, 90.0, 150.0, 90.0, 60.0);
391 AliMatrix(idrotm[2029], 0.0, 0.0, 90.0, 30.0, 90.0, 120.0);
392 AliMatrix(idrotm[2030], 0.0, 0.0, 90.0, 10.0, 90.0, 280.0);
393 AliMatrix(idrotm[2031], 0.0, 0.0, 90.0, 170.0, 90.0, 260.0);
394 AliMatrix(idrotm[2032], 0.0, 0.0, 90.0, 190.0, 90.0, 100.0);
395 AliMatrix(idrotm[2033], 0.0, 0.0, 90.0, 350.0, 90.0, 80.0);
7e5caa00 396
397 Float_t rd = 410.56;
4a8eca94 398 dz = (dymodU[1]+dymodU[0])/2.;
399 Float_t dz2 = (dymodU[1]+dymodU[2])/2.;
7e5caa00 400
401//
402// phi = 40
403//
404 Float_t phi = 40;
405 dx = rd * TMath::Sin(phi*kdeg2rad);
406 dy = rd * TMath::Cos(phi*kdeg2rad);
407
4a8eca94 408 gMC->Gspos("B047", 1, "B076", -dx, dy, dz, idrotm[2004], "ONLY");
409 gMC->Gspos("B047", 2, "B076", -dx, dy, -dz, idrotm[2003], "ONLY");
410 gMC->Gspos("B047", 3, "B076", dx, dy, dz, idrotm[2017], "ONLY");
411 gMC->Gspos("B047", 4, "B076", dx, dy, -dz, idrotm[2018], "ONLY");
7e5caa00 412
4a8eca94 413 gMC->Gspos("B045", 1, "B076", -dx, dy, dz2, idrotm[2019], "ONLY");
414 gMC->Gspos("B045", 2, "B076", -dx, dy, -dz2, idrotm[2003], "ONLY"); // ?
415 gMC->Gspos("B045", 3, "B076", dx, dy, dz2, idrotm[2020], "ONLY");
416 gMC->Gspos("B045", 4, "B076", dx, dy, -dz2, idrotm[2027], "ONLY");
7e5caa00 417
4a8eca94 418 gMC->Gspos("BM49", 1, "B076", dx, dy, 0., idrotm[2020], "ONLY");
419 gMC->Gspos("BM49", 2, "B076", -dx, dy, 0., idrotm[2019], "ONLY");
7e5caa00 420
421//
422// phi = 60
423//
424
425 phi = 60;
426 dx = rd * TMath::Sin(phi*kdeg2rad);
427 dy = rd * TMath::Cos(phi*kdeg2rad);
4a8eca94 428 gMC->Gspos("B047", 5, "B076", -dx, dy, dz, idrotm[2005], "ONLY");
429 gMC->Gspos("B047", 6, "B076", -dx, dy, -dz, idrotm[2006], "ONLY");
430 gMC->Gspos("B047", 7, "B076", dx, dy, dz, idrotm[2016], "ONLY");
431 gMC->Gspos("B047", 8, "B076", dx, dy, -dz, idrotm[2015], "ONLY");
7e5caa00 432
4a8eca94 433 gMC->Gspos("B045", 5, "B076", -dx, dy, dz2, idrotm[2021], "ONLY");
434 gMC->Gspos("B045", 6, "B076", -dx, dy, -dz2, idrotm[2028], "ONLY");
435 gMC->Gspos("B045", 7, "B076", dx, dy, dz2, idrotm[2022], "ONLY");
436 gMC->Gspos("B045", 8, "B076", dx, dy, -dz2, idrotm[2029], "ONLY");
7e5caa00 437
4a8eca94 438 gMC->Gspos("BM49", 3, "B076", dx, dy, 0., idrotm[2022], "ONLY");
439 gMC->Gspos("BM49", 4, "B076", -dx, dy, 0., idrotm[2021], "ONLY");
7e5caa00 440//
441// phi = 80
442//
443
444 phi = 80;
445 dx = rd * TMath::Sin(phi*kdeg2rad);
446 dy = rd * TMath::Cos(phi*kdeg2rad);
4a8eca94 447 gMC->Gspos("B047", 9, "B076", -dx, dy, dz, idrotm[2009], "ONLY");
448 gMC->Gspos("B047", 10, "B076", -dx, dy, -dz, idrotm[2007], "ONLY");
449 gMC->Gspos("B047", 11, "B076", dx, dy, dz, idrotm[2013], "ONLY");
450 gMC->Gspos("B047", 12, "B076", dx, dy, -dz, idrotm[2014], "ONLY");
7e5caa00 451
4a8eca94 452 gMC->Gspos("B047", 13, "B076", -dx, -dy, dz, idrotm[2008], "ONLY");
453 gMC->Gspos("B047", 14, "B076", -dx, -dy, -dz, idrotm[2010], "ONLY");
454 gMC->Gspos("B047", 15, "B076", dx, -dy, dz, idrotm[2012], "ONLY");
455 gMC->Gspos("B047", 16, "B076", dx, -dy, -dz, idrotm[2011], "ONLY");
7e5caa00 456
4a8eca94 457 gMC->Gspos("B045", 9, "B076", -dx, dy, dz2, idrotm[2023], "ONLY");
458 gMC->Gspos("B045", 10, "B076", -dx, dy, -dz2, idrotm[2031], "ONLY");
459 gMC->Gspos("B045", 11, "B076", dx, dy, dz2, idrotm[2026], "ONLY");
460 gMC->Gspos("B045", 12, "B076", dx, dy, -dz2, idrotm[2030], "ONLY");
7e5caa00 461
4a8eca94 462 gMC->Gspos("B045", 13, "B076", -dx, -dy, dz2, idrotm[2024], "ONLY");
463 gMC->Gspos("B045", 14, "B076", -dx, -dy, -dz2, idrotm[2032], "ONLY");
464 gMC->Gspos("B045", 15, "B076", dx, -dy, dz2, idrotm[2025], "ONLY");
465 gMC->Gspos("B045", 16, "B076", dx, -dy, -dz2, idrotm[2033], "ONLY");
7e5caa00 466
4a8eca94 467 gMC->Gspos("BM49", 5, "B076", dx, dy, 0., idrotm[2026], "ONLY");
468 gMC->Gspos("BM49", 6, "B076", -dx, dy, 0., idrotm[2023], "ONLY");
469 gMC->Gspos("BM49", 7, "B076", dx, -dy, 0., idrotm[2025], "ONLY");
470 gMC->Gspos("BM49", 8, "B076", -dx, -dy, 0., idrotm[2024], "ONLY");
7e5caa00 471
472
473// The internal frame
474//
475 char* module[3] = {"B071\0", "B074\0", "B075\0"};
476//
477//
478// Mother Volumes
479//
480 ptrd1[0] = 50.18;
481 ptrd1[1] = 70.35;
482// ptrd1[0] = 50.10;
483// ptrd1[1] = 70.20;
484
485 ptrd1[2] = 375.5;
486 ptrd1[3] = 57.2;
487 for (jmod = 0; jmod < 3; jmod++)
488 {
489 gMC->Gsvolu(module[jmod], "TRD1", kAir, ptrd1, 4);
490 }
491
492 Int_t mod[18] = {1, 1, 1, 0, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 0, 0, 1, 1};
7e5caa00 493
494
495 Float_t r = 341.8;
496 Float_t rout1 = 410.564;
497 Float_t rout2 = 415.2;
498 Int_t modcount[3] = {0, 0, 0};
499
500 for (i=0; i<18; i++) {
501 Float_t phi = i*20.;
502 Float_t phi2 = 270+phi;
503 if (phi2 >= 360.) phi2-=360.;
504
505 dx = TMath::Sin(phi*kdeg2rad)*r;
506 dy = -TMath::Cos(phi*kdeg2rad)*r;
507 modcount[mod[i]]++;
508
4a8eca94 509 AliMatrix(idrotm[2034+i], 90.0, phi, 0., 0., 90., phi2);
510 gMC->Gspos(module[mod[i]], modcount[mod[i]], "B077", dx, dy, 0., idrotm[2034+i], "ONLY");
7e5caa00 511//
512// Position elements of outer Frame
513//
514 dx = TMath::Sin(phi*kdeg2rad)*rout1;
515 dy = -TMath::Cos(phi*kdeg2rad)*rout1;
516 for (j = 0; j < 3; j++)
517 {
4a8eca94 518 dz = dymodU[j];
519 gMC->Gspos("B042", 6*i+2*j+1, "B076", dx, dy, dz, idrotm[2034+i], "ONLY");
520 gMC->Gspos("B042", 6*i+2*j+2, "B076", dx, dy, -dz, idrotm[2034+i], "ONLY");
7e5caa00 521 }
522
523 phi = i*20.+10;
524 phi2 = 270+phi;
4a8eca94 525 AliMatrix(idrotm[2052+i], 90.0, phi, 90., phi2, 0., 0.);
7e5caa00 526
527 dx = TMath::Sin(phi*kdeg2rad)*rout2;
528 dy = -TMath::Cos(phi*kdeg2rad)*rout2;
4a8eca94 529 gMC->Gspos("B033", i+1, "B076", dx, dy, 0., idrotm[2052+i], "ONLY");
7e5caa00 530//
531 }
532// Internal Frame rings
533//
534//
535// new specs: 40x100x6 for inner rings
536// 30x135x6 for front and rear rings
537//
538// currently no distinction between front/rear and inner rings
539//
540//
541//
542 pbox[0] = 50.;
543 pbox[1] = ringW/2.;
544 pbox[2] = ringH/2.;
545
546 gMC->Gsvolu("B072", "BOX ", kSteel, pbox, 3);
547
548 pbox[1] = pbox[1] - 0.6;
549 pbox[2] = pbox[2] - 0.6;
550 gMC->Gsvolu("B073", "BOX ", kAir, pbox, 3);
551 gMC->Gspos("B073", 1, "B072", 0., 0., 0., 0, "ONLY");
552
553// Web frame 0-degree
554//
555// h x w x s = 60x40x4
556// (attention: element is are half bars, "U" shaped)
557//
4a8eca94 558 dz = 106.2;
559 d = 2.*dwl;
560 h = dymodU[0]-dymodL[0];
561 dq = h*h+dz*dz;
562
563 x = TMath::Sqrt((dz*dz-d*d)/dq + d*d*h*h/dq/dq)+d*h/dq;
7e5caa00 564
4a8eca94 565 theta = TMath::ACos(x);
566 Float_t thetaP = (TMath::Pi()-theta)*krad2deg;
567
568 ptrap[0] = dz/2.;
569 ptrap[1] = thetaP;
570 ptrap[2] = 0.;
571 ptrap[3] = dwh;
572 ptrap[4] = dwl/cos(theta);
573 ptrap[5] = ptrap[4];
574 ptrap[6] = 0;
575 ptrap[7] = ptrap[3];
576 ptrap[8] = ptrap[4];
577 ptrap[9] = ptrap[4];
578 ptrap[10] = 0;
579 gMC->Gsvolu("B063", "TRAP", kSteel, ptrap, 11);
580 ptrap[3] = dwh - 0.2;
581 ptrap[4] = (dwl-0.4)/cos(theta);
582 ptrap[5] = ptrap[4];
583 ptrap[7] = ptrap[3];
584 ptrap[8] = ptrap[4];
585 ptrap[9] = ptrap[4];
586 gMC->Gsvolu("B064", "TRAP", kAir, ptrap, 11);
587 gMC->Gspos("B064", 1, "B063", 0.0, -0.2, 0., 0, "ONLY");
588
589
590 h = 106.2;
591 d = 2.*dwl;
592 dz = dymodU[1]-dymodL[1];
593 dq = h*h+dz*dz;
594
595 x = TMath::Sqrt((dz*dz-d*d)/dq + d*d*h*h/dq/dq)+d*h/dq;
596
597
598 theta = krad2deg * TMath::ACos(x);
599
600 ptrap[0] = dz/2.;
601 ptrap[1] = theta;
602 ptrap[2] = 0.;
603 ptrap[3] = dwh;
604 ptrap[4] = dwl/x;
605 ptrap[5] = ptrap[4];
606 ptrap[6] = 0;
607 ptrap[7] = ptrap[3];
608 ptrap[8] = ptrap[4];
609 ptrap[9] = ptrap[4];
610 ptrap[10] = 0;
611 gMC->Gsvolu("B163", "TRAP", kSteel, ptrap, 11);
612 ptrap[3] = dwh - 0.2;
613 ptrap[4] = (dwl-0.4)/x;
614 ptrap[5] = ptrap[4];
615 ptrap[7] = ptrap[3];
616 ptrap[8] = ptrap[4];
617 ptrap[9] = ptrap[4];
618 gMC->Gsvolu("B164", "TRAP", kAir, ptrap, 11);
619 gMC->Gspos("B164", 1, "B163", 0.0, -0.2, 0., 0, "ONLY");
620
621
7e5caa00 622 pbox[0] = dwh;
623 pbox[1] = dwl;
624 pbox[2] = (iFrH-ringH-longH)/2.;
4a8eca94 625 gMC->Gsvolu("B263", "BOX ", kSteel, pbox, 3);
7e5caa00 626 pbox[0] = dwh-0.2;
627 pbox[1] = dwl-0.4;
628
4a8eca94 629 gMC->Gsvolu("B264", "BOX ", kAir, pbox, 3);
630 gMC->Gspos("B264", 1, "B263", 0.2, 0., 0., 0, "ONLY");
631
632
633 AliMatrix(idrotm[2070], 90.0, 0.0, 90.0, 270.0, 0.0, 0.0);
634//
635 AliMatrix(idrotm[2071], 100.0, 0.0, 90.0, 270.0, 10.0, 0.0);
636 AliMatrix(idrotm[2072], 100.0, 0.0, 90.0, 90.0, 10.0, 0.0);
637 AliMatrix(idrotm[2073], 100.0, 180.0, 90.0, 270.0, 10.0, 180.0);
638 AliMatrix(idrotm[2074], 100.0, 180.0, 90.0, 90.0, 10.0, 180.0);
639//
640 AliMatrix(idrotm[2075], 10.0, 0.0, 80.0, 180.0, 90.0, 90.0);
641 AliMatrix(idrotm[2076], 10.0, 0.0, 80.0, 180.0, 90.0, 270.0);
642 AliMatrix(idrotm[2077], 10.0, 180.0, 80.0, 0.0, 90.0, 90.0);
643 AliMatrix(idrotm[2078], 10.0, 180.0, 80.0, 0.0, 90.0, 270.0);
644//
645 AliMatrix(idrotm[2079], 170.0, 180.0, 80.0, 180.0, 90.0, 90.0);
646 AliMatrix(idrotm[2080], 170.0, 180.0, 80.0, 180.0, 90.0, 270.0);
647 AliMatrix(idrotm[2081], 170.0, 0.0, 80.0, 0.0, 90.0, 90.0);
648 AliMatrix(idrotm[2082], 170.0, 0.0, 80.0, 0.0, 90.0, 270.0);
649
650//
651 AliMatrix(idrotm[2083], 170.0, 0.0, 90.0, 90.0, 80.0, 0.0);
652 AliMatrix(idrotm[2084], 170.0, 180.0, 90.0, 90.0, 80.0, 180.0);
653 AliMatrix(idrotm[2085], 90.0, 180.0, 90.0, 90.0, 0.0, 0.0);
654//
655 AliMatrix(idrotm[2086], 90.0, 90.0, 100.0, 0., 170.0, 180.0);
656 AliMatrix(idrotm[2087], 90.0, 90.0, 100.0, 0., 10.0, 0.0);
657 AliMatrix(idrotm[2088], 90.0, 90.0, 80.0, 0., 170.0, 0.0);
658 AliMatrix(idrotm[2089], 90.0, 90.0, 80.0, 0., -10.0, 0.0);
659
7e5caa00 660//
661// web frame diagonal (outer)
662//
663 h = 106.2;
664 d = 2.*dwl;
4a8eca94 665 dz = dymodL[2]-dymodU[1]-dwl;
7e5caa00 666 dq = h*h+dz*dz;
667
668 x = TMath::Sqrt((dz*dz-d*d)/dq + d*d*h*h/dq/dq)+d*h/dq;
669
670
671 theta = krad2deg * TMath::ACos(x);
672
673 ptrap[0] = dz/2.;
674 ptrap[1] = theta;
675 ptrap[2] = 0.;
676 ptrap[3] = dwh;
677 ptrap[4] = dwl/x;
678 ptrap[5] = ptrap[4];
679 ptrap[6] = 0;
680 ptrap[7] = ptrap[3];
681 ptrap[8] = ptrap[4];
682 ptrap[9] = ptrap[4];
683 ptrap[10] = 0;
684 gMC->Gsvolu("B065", "TRAP", kSteel, ptrap, 11);
685 ptrap[3] = dwh - 0.2;
686 ptrap[4] = (dwl-0.4)/x;
687 ptrap[5] = ptrap[4];
688 ptrap[7] = ptrap[3];
689 ptrap[8] = ptrap[4];
690 ptrap[9] = ptrap[4];
691 gMC->Gsvolu("B066", "TRAP", kAir, ptrap, 11);
692 gMC->Gspos("B066", 1, "B065", 0.0, -0.2, 0., 0, "ONLY");
693
694//
695// web frame diagonal (inner)
696//
4a8eca94 697 dz = dymodL[1]-dymodU[0];
7e5caa00 698 dq = h*h+dz*dz;
4a8eca94 699 x = TMath::Sqrt((dz*dz-d*d)/dq + d*d*h*h/dq/dq)+d*h/dq;
7e5caa00 700
701
702 theta = krad2deg * TMath::ACos(x);
703
4a8eca94 704 ptrap[0] = (dymodL[1]-dymodU[0])/2.;
7e5caa00 705 ptrap[1] = theta;
706 ptrap[2] = 0.;
707 ptrap[3] = dwh;
708 ptrap[4] = dwl/x;
709 ptrap[5] = ptrap[4];
710 ptrap[6] = 0;
711 ptrap[7] = ptrap[3];
712 ptrap[8] = ptrap[4];
713 ptrap[9] = ptrap[4];
714 ptrap[10] = 0;
715 gMC->Gsvolu("B067", "TRAP", kSteel, ptrap, 11);
716 ptrap[3] = dwh-0.2;
717 ptrap[4] = (dwl-0.4)/x;
718 ptrap[5] = ptrap[4];
719 ptrap[7] = ptrap[3];
720 ptrap[8] = ptrap[4];
721 ptrap[9] = ptrap[4];
722 gMC->Gsvolu("B068", "TRAP", kAir, ptrap, 11);
723 gMC->Gspos("B068", 1, "B067", 0.0, -0.2, 0., 0, "ONLY");
724
725
726 dz = -iFrH/2.+ringH/2.+kEps;
727
728 for (i = 0; i< 3; i++)
729 {
730// ring bars
731 for (jmod = 0; jmod<3; jmod++) {
4a8eca94 732 gMC->Gspos("B072", 6*i+jmod+1, module[jmod], 0, dymodL[i], dz, 0, "ONLY");
733 gMC->Gspos("B072", 6*i+jmod+4, module[jmod], 0, -dymodL[i], dz, idrotm[2070], "ONLY");
7e5caa00 734
735// 0-deg web
4a8eca94 736 if (i==2) {
737 gMC->Gspos("B263", 12*i+jmod+1, module[jmod], 60.0732, dymodU[i], 4.6669, idrotm[2072], "ONLY");
738 gMC->Gspos("B263", 12*i+jmod+4, module[jmod], 60.0732, -dymodU[i], 4.6669, idrotm[2071], "ONLY");
739 gMC->Gspos("B263", 12*i+jmod+7, module[jmod], -60.0732, dymodU[i], 4.6669, idrotm[2074], "ONLY");
740 gMC->Gspos("B263", 12*i+jmod+10, module[jmod], -60.0732, -dymodU[i], 4.6669, idrotm[2073], "ONLY");
741 }
7e5caa00 742 }
743 }
744
745// outer diagonal web
746
4a8eca94 747 dy = (dymodU[0]+dymodL[0])/2.;
748 for (jmod = 0; jmod<3; jmod++) {
749 gMC->Gspos("B063", 4*jmod+1, module[jmod], 60.0732, dy, 4.6669, idrotm[2086], "ONLY");
750 gMC->Gspos("B063", 4*jmod+2, module[jmod], 60.0732, -dy, 4.6669, idrotm[2087], "ONLY");
751 gMC->Gspos("B063", 4*jmod+3, module[jmod], -60.0732, dy, 4.6669, idrotm[2088], "ONLY");
752 gMC->Gspos("B063", 4*jmod+4, module[jmod], -60.0732, -dy, 4.6669, idrotm[2089], "ONLY");
753 }
754
755 dy = (dymodU[1]+dymodL[1])/2.;
756 for (jmod = 0; jmod<3; jmod++) {
757 gMC->Gspos("B163", 4*jmod+1, module[jmod], 60.0732, dy, 4.6669, idrotm[2080], "ONLY");
758 gMC->Gspos("B163", 4*jmod+2, module[jmod], 60.0732, -dy, 4.6669, idrotm[2079], "ONLY");
759 gMC->Gspos("B163", 4*jmod+3, module[jmod], -60.0732, dy, 4.6669, idrotm[2082], "ONLY");
760 gMC->Gspos("B163", 4*jmod+4, module[jmod], -60.0732, -dy, 4.6669, idrotm[2081], "ONLY");
761 }
762
763
764 dy = (dymodL[2]+dymodU[1])/2.-dwl/2.;
7e5caa00 765 for (jmod = 0; jmod<3; jmod++) {
4a8eca94 766 gMC->Gspos("B065", 4*jmod+1, module[jmod], 60.0732, dy, 4.6669, idrotm[2076], "ONLY");
767 gMC->Gspos("B065", 4*jmod+2, module[jmod], 60.0732, -dy, 4.6669, idrotm[2075], "ONLY");
768 gMC->Gspos("B065", 4*jmod+3, module[jmod], -60.0732, dy, 4.6669, idrotm[2078], "ONLY");
769 gMC->Gspos("B065", 4*jmod+4, module[jmod], -60.0732, -dy, 4.6669, idrotm[2077], "ONLY");
7e5caa00 770 }
771
772
4a8eca94 773 dy = (dymodL[1]+dymodU[0])/2.;
7e5caa00 774
775 for (jmod = 0; jmod<3; jmod++) {
4a8eca94 776 gMC->Gspos("B067", 4*jmod+1, module[jmod], 60.0732, dy, 4.6669, idrotm[2076], "ONLY");
777 gMC->Gspos("B067", 4*jmod+2, module[jmod], 60.0732, -dy, 4.6669, idrotm[2075], "ONLY");
778 gMC->Gspos("B067", 4*jmod+3, module[jmod], -60.0732, dy, 4.6669, idrotm[2078], "ONLY");
779 gMC->Gspos("B067", 4*jmod+4, module[jmod], -60.0732, -dy, 4.6669, idrotm[2077], "ONLY");
7e5caa00 780 }
781
782// longitudinal bars (TPC rails attached)
783// new specs:
784// h x w x s = 100 x 75 x 6
785// current:
786// Attention: 2 "U" shaped half rods per cell
787//
788// not yet used
789//
790 ptrap[0] = 2.50;
791 ptrap[1] = 10.00;
792 ptrap[2] = 0.00;
793 ptrap[3] = 350.00;
794 ptrap[4] = 3.75;
795 ptrap[5] = ptrap[4];
796 ptrap[6] = 0;
797 ptrap[7] = ptrap[3];
798 ptrap[8] = ptrap[4];
799 ptrap[9] = ptrap[4];
800 ptrap[10] = 0;
801 gMC->Gsvolu("B059", "TRAP", kSteel, ptrap, 11);
802 ptrap[0] = 2.2;
803 ptrap[4] = 2.15;
804 ptrap[5] = ptrap[4];
805 ptrap[7] = ptrap[3];
806 ptrap[8] = ptrap[4];
807 ptrap[9] = ptrap[4];
808 gMC->Gsvolu("B062", "TRAP", kAir, ptrap, 11);
809 gMC->Gspos("B062", 1, "B059", 0.0, -0.3, 0., 0, "ONLY");
810//
811// longitudinal bars (no TPC rails attached)
812// new specs: h x w x s = 60 x 60 x 3
813// (was: 75 x 100 x 5?)
814//
815//
816//
817 ptrap[0] = longW/4.;
818 ptrap[4] = longH/2.;
819 ptrap[5] = ptrap[4];
820 ptrap[7] = ptrap[3];
821 ptrap[8] = ptrap[4];
822 ptrap[9] = ptrap[4];
823
824 gMC->Gsvolu("BA59", "TRAP", kSteel, ptrap, 11);
825 ptrap[0] = longW/4.-0.15;
826 ptrap[4] = longH/2.-0.30;
827 ptrap[5] = ptrap[4];
828 ptrap[7] = ptrap[3];
829 ptrap[8] = ptrap[4];
830 ptrap[9] = ptrap[4];
831 gMC->Gsvolu("BA62", "TRAP", kAir, ptrap, 11);
832 gMC->Gspos("BA62", 1, "BA59", 0.0, 0.0, -0.15, 0, "ONLY");
833
834 dz = -iFrH/2.+ringH+longH/2.;
835
836 for (jmod = 0; jmod<3; jmod++) {
4a8eca94 837 gMC->Gspos("BA59", 2*jmod+1, module[jmod], 49.6476, 0.0, dz, idrotm[2084], "ONLY");
838 gMC->Gspos("BA59", 2*jmod+2, module[jmod], -49.6476, 0.0, dz, idrotm[2083], "ONLY");
7e5caa00 839 }
840//
841//
842// Spacer between TRD and TOF modules
843 ptrap[0] = 0.99;
844 ptrap[1] = 10.00;
845 ptrap[2] = 0.00;
846 ptrap[3] = 350.00;
847 ptrap[4] = 0.9;
848 ptrap[5] = ptrap[4];
849 ptrap[6] = 0;
850 ptrap[7] = ptrap[3];
851 ptrap[8] = ptrap[4];
852 ptrap[9] = ptrap[4];
853 ptrap[10] = 0;
854 gMC->Gsvolu("B056", "TRAP", kSteel, ptrap, 11);
855 for (jmod = 0; jmod<3; jmod++) {
856 gMC->Gspos("B056", 2*jmod+1, module[jmod], 61.9607, 0.0, 27.2, 0 , "ONLY");
4a8eca94 857 gMC->Gspos("B056", 2*jmod+2, module[jmod], -61.9607, 0.0, 27.2, idrotm[2085], "ONLY");
7e5caa00 858 }
859//
860// Mother volumes for TRD and TOF
861//
862 if (!fHoles) {
d03c72a2 863 printf("\n FRAME Version without Holes !");
7e5caa00 864 ptrd1[0] = 49.8065;
865 ptrd1[1] = 62.8535;
866 ptrd1[2] = 375.5;
867 ptrd1[3] = 37.;
868 gMC->Gsvolu("BTR1", "TRD1", kAir, ptrd1, 4);
869 gMC->Gsvolu("BTR2", "TRD1", kAir, ptrd1, 4);
870 gMC->Gsvolu("BTR3", "TRD1", kAir, ptrd1, 4);
871
872 ptrd1[0] = 63.2061;
873 ptrd1[1] = 68.3192;
874 ptrd1[2] = 375.5;
875 ptrd1[3] = 14.5;
876 gMC->Gsvolu("BTO1", "TRD1", kAir, ptrd1, 4);
877 gMC->Gsvolu("BTO2", "TRD1", kAir, ptrd1, 4);
878 gMC->Gsvolu("BTO3", "TRD1", kAir, ptrd1, 4);
879
880 gMC->Gspos("BTR1", 1, "B071", 0., 0., -10.8, 0, "ONLY");
881 gMC->Gspos("BTR2", 1, "B074", 0., 0., -10.8, 0, "ONLY");
882 gMC->Gspos("BTR3", 1, "B075", 0., 0., -10.8, 0, "ONLY");
883
884 gMC->Gspos("BTO1", 1, "B071", 0., 0., 42.69, 0, "ONLY");
885 gMC->Gspos("BTO2", 1, "B074", 0., 0., 42.69, 0, "ONLY");
886 gMC->Gspos("BTO3", 1, "B075", 0., 0., 42.69, 0, "ONLY");
887 } else {
d03c72a2 888 printf("\n FRAME Version with Holes !");
889
7e5caa00 890 ptrd1[0] = 49.8065;
891 ptrd1[1] = 62.8535;
892 ptrd1[2] = 375.5;
893 ptrd1[3] = 37;
894 gMC->Gsvolu("BTR1", "TRD1", kAir, ptrd1, 4);
895 ptrd1[2] = 156.75;
896 gMC->Gsvolu("BTR2", "TRD1", kAir, ptrd1, 4);
897 ptrd1[2] = 79.75;
898 gMC->Gsvolu("BTR3", "TRD1", kAir, ptrd1, 4);
899
900 ptrd1[0] = 63.2061;
901 ptrd1[1] = 68.3192;
902 ptrd1[2] = 375.5;
903 ptrd1[3] = 14.5;
904 gMC->Gsvolu("BTO1", "TRD1", kAir, ptrd1, 4);
905 ptrd1[2] = 156.75;
906 gMC->Gsvolu("BTO2", "TRD1", kAir, ptrd1, 4);
907 ptrd1[2] = 79.75;
908 gMC->Gsvolu("BTO3", "TRD1", kAir, ptrd1, 4);
909
910 gMC->Gspos("BTR1", 1, "B071", 0., 0., -10.8, 0, "ONLY");
911
912 gMC->Gspos("BTR2", 1, "B074", 0., -218.75, -10.8, idrotm[152], "ONLY");
913 gMC->Gspos("BTR2", 2, "B074", 0., 218.75, -10.8, 0, "ONLY");
914
915 gMC->Gspos("BTR3", 1, "B075", 0., -295.75, -10.8, idrotm[152], "ONLY");
916 gMC->Gspos("BTR3", 2, "B075", 0., 295.75, -10.8, 0, "ONLY");
917
918
919 gMC->Gspos("BTO1", 1, "B071", 0., 0., -42.7, 0, "ONLY");
920
921 gMC->Gspos("BTO2", 1, "B074", 0., -218.75, -42.7, idrotm[152], "ONLY");
922 gMC->Gspos("BTO2", 2, "B074", 0., 218.75, -42.7, 0, "ONLY");
923
924 gMC->Gspos("BTO3", 1, "B075", 0., -295.75, -42.7, idrotm[152], "ONLY");
925 gMC->Gspos("BTO3", 2, "B075", 0., 295.75, -42.7, 0, "ONLY");
926
927 }
928}
929
930
931//___________________________________________
932void AliFRAMEv2::CreateMaterials()
933{
934
935 Float_t epsil, stemax, tmaxfd, deemax, stmin;
936
937 epsil = 1.e-4; // Tracking precision,
938 stemax = -0.01; // Maximum displacement for multiple scat
939 tmaxfd = -20.; // Maximum angle due to field deflection
940 deemax = -.3; // Maximum fractional energy loss, DLS
941 stmin = -.8;
942 Int_t isxfld = gAlice->Field()->Integ();
943 Float_t sxmgmx = gAlice->Field()->Max();
944
945 Float_t asteel[4] = { 55.847,51.9961,58.6934,28.0855 };
946 Float_t zsteel[4] = { 26.,24.,28.,14. };
947 Float_t wsteel[4] = { .715,.18,.1,.005 };
948
949 AliMixture(65, "STAINLESS STEEL$", asteel, zsteel, 7.88, 4, wsteel);
950 AliMaterial(5, "AIR$ ", 14.61, 7.3, .001205, 30423.24, 67500.);
951 AliMedium(65, "Stainless Steel", 65, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
952 AliMedium( 5, "Air ", 5, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
953}
954
955//_____________________________________________________________________________
956void AliFRAMEv2::Init()
957{
958 //
959 // Initialise the module after the geometry has been defined
960 //
0a05c568 961 if(fDebug) {
962 printf("%s: **************************************"
963 " FRAME "
964 "**************************************\n",ClassName());
965 printf("\n%s: Version 2 of FRAME initialised, symmetric FRAME\n\n",ClassName());
966 printf("%s: **************************************"
967 " FRAME "
968 "**************************************\n",ClassName());
969 }
7e5caa00 970}
971
972
973
974
975
976
977
978