Inheritance from TObject. Automatic streamers.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSSupportGeometry.cxx
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
29 ClassImp(AliPHOSSupportGeometry) ;
30
31 //____________________________________________________________________________
32 AliPHOSSupportGeometry::AliPHOSSupportGeometry()
33 {
34
35   // Initializes the PHOS support parameters
36   
37   fRailLength   = 1200.0;
38
39   fRailPart1[0] =   28.0;
40   fRailPart1[1] =    3.0;
41   fRailPart1[2] = fRailLength;
42
43   fRailPart2[0] =    1.5;
44   fRailPart2[1] =   54.0;
45   fRailPart2[2] = fRailLength;
46
47   fRailPart3[0] =    6.0;
48   fRailPart3[1] =    5.0;
49   fRailPart3[2] = fRailLength;
50
51   fRailOuterSize[0] = fRailPart1[0];
52   fRailOuterSize[1] = fRailPart1[1]*2 + fRailPart2[1] + fRailPart3[1];
53   fRailOuterSize[2] = fRailLength;
54
55   fDistanceBetwRails = 420.0;
56   fRailsDistanceFromIP = 610.;
57
58   fRailRoadSize[0] = fDistanceBetwRails + fRailOuterSize[0];
59   fRailRoadSize[1] = fRailOuterSize[1];
60   fRailRoadSize[2] = fRailOuterSize[2];
61
62   fCradleWallThickness = 2.0;
63
64   fCradleWall[0] =   0.;  // Inner radius, to be defined from PHOS parameters
65   fCradleWall[1] =  65.;  // Diff. between outer and inner radii
66   fCradleWall[2] =  18.;
67   fCradleWall[3] = 270. - 50.;
68   fCradleWall[4] = 270. + 50.;
69
70   fCradleWheel[0] = 30.0;
71   fCradleWheel[1] = 80.0;
72   fCradleWheel[2] = 30.0;
73   
74 }
75 //____________________________________________________________________________