]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSSupportGeometry.cxx
calculate angle of primary decay
[u/mrichter/AliRoot.git] / PHOS / AliPHOSSupportGeometry.cxx
CommitLineData
fef3af45 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/* $Id$ */
17
18//_________________________________________________________________________
19// Geometry class for PHOS : Support which holds all PHOS modules.
20// Its data members provide geometry parametrization of
21// the PHOS support which can be changed in the constructor only.
22// Author: Yuri Kharlov (IHEP, Protvino)
23// 13 November 2000
24
25// --- AliRoot header files ---
26
27#include "AliPHOSSupportGeometry.h"
28
925e6570 29ClassImp(AliPHOSSupportGeometry)
fef3af45 30
31//____________________________________________________________________________
3663622c 32AliPHOSSupportGeometry::AliPHOSSupportGeometry() :
33 fRailLength(1200.0),
34 fDistanceBetwRails(420.0),
35 fRailsDistanceFromIP(590.),
36 fCradleWallThickness(2.0)
fef3af45 37{
38
39 // Initializes the PHOS support parameters
40
fef3af45 41
42 fRailPart1[0] = 28.0;
43 fRailPart1[1] = 3.0;
44 fRailPart1[2] = fRailLength;
45
46 fRailPart2[0] = 1.5;
4e5c6572 47 fRailPart2[1] = 34.0;
fef3af45 48 fRailPart2[2] = fRailLength;
49
50 fRailPart3[0] = 6.0;
51 fRailPart3[1] = 5.0;
52 fRailPart3[2] = fRailLength;
53
6ba1dd81 54 fRailPos[0] = 0.;
55 fRailPos[1] = 0.;
56 fRailPos[2] = 0.;
57
fef3af45 58 fRailOuterSize[0] = fRailPart1[0];
59 fRailOuterSize[1] = fRailPart1[1]*2 + fRailPart2[1] + fRailPart3[1];
60 fRailOuterSize[2] = fRailLength;
61
fef3af45 62 fRailRoadSize[0] = fDistanceBetwRails + fRailOuterSize[0];
63 fRailRoadSize[1] = fRailOuterSize[1];
64 fRailRoadSize[2] = fRailOuterSize[2];
65
fef3af45 66 fCradleWall[0] = 0.; // Inner radius, to be defined from PHOS parameters
67 fCradleWall[1] = 65.; // Diff. between outer and inner radii
68 fCradleWall[2] = 18.;
69 fCradleWall[3] = 270. - 50.;
70 fCradleWall[4] = 270. + 50.;
71
72 fCradleWheel[0] = 30.0;
73 fCradleWheel[1] = 80.0;
74 fCradleWheel[2] = 30.0;
fef3af45 75}