d966004924a7709ec9364461a57d61d8094fd8e3
[u/mrichter/AliRoot.git] / PHOS / AliPHOSCPVGeometry.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 /*
17   $Log$
18   Revision 1.3  2001/09/26 12:09:36  schutz
19   A new (final?) geometry developed
20
21   Revision 1.2  2000/11/09 15:49:04  martinez
22   Coding convention rules obeyed
23
24   Revision 1.1  2000/11/03 16:28:21  schutz
25   CPV geometry class to correct previous name-convetion rule violation
26
27 */
28
29 //_________________________________________________________________________
30 // Geometry class  for PHOS : CPV (Charged particle veto, IHEP version)
31 // Its data members provide geometry parametrization of CPV
32 // which can be changed in the constructor only.
33 // Author: Yuri Kharlov (IHEP, Protvino)
34 // 15 September 2000
35 //
36 // --- ROOT system ---
37
38 // --- Standard library ---
39
40 // --- AliRoot header files ---
41
42 #include "AliPHOSCPVGeometry.h"
43
44 ClassImp(AliPHOSCPVGeometry) ;
45
46 //____________________________________________________________________________
47 AliPHOSCPVGeometry::AliPHOSCPVGeometry()
48 {
49
50   // Initializes the CPV parameters
51   fNumberOfCPVLayers     = 1;
52   fNumberOfCPVPadsPhi    = 128;
53   fNumberOfCPVPadsZ      = 64;
54   fCPVPadSizePhi         = 1.13;
55   fCPVPadSizeZ           = 2.26;
56   fNumberOfCPVChipsPhi   = 8;
57   fNumberOfCPVChipsZ     = 8;
58   fCPVGasThickness       = 1.3;
59   fCPVTextoliteThickness = 0.1;
60   fCPVCuNiFoilThickness  = 56e-04;;
61   fCPVFrameSize[0]       = 2.5;
62   fCPVFrameSize[1]       = 5.1;
63   fCPVFrameSize[2]       = 2.5;
64   fGassiplexChipSize[0]  = 4.2;
65   fGassiplexChipSize[1]  = 0.1;
66   fGassiplexChipSize[2]  = 6.0;
67   fFTPosition[0]         = 0.7;
68   fFTPosition[1]         = 2.2;
69   fFTPosition[2]         = 3.6;
70   fFTPosition[3]         = 5.1;
71
72   fCPVActiveSize[0]      = fNumberOfCPVPadsPhi * fCPVPadSizePhi;
73   fCPVActiveSize[1]      = fNumberOfCPVPadsZ   * fCPVPadSizeZ;
74   fCPVBoxSize[0]         = fCPVActiveSize[0] + 2 * fCPVFrameSize[0];
75   fCPVBoxSize[1]         = fCPVFrameSize[1] * fNumberOfCPVLayers + 0.1;
76   fCPVBoxSize[2]         = fCPVActiveSize[1] + 2 * fCPVFrameSize[2];
77
78 }
79 //____________________________________________________________________________