]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSCPVGeometry.cxx
Fixing the decoding of regional header bits.
[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 /* $Id$ */
17
18 //_________________________________________________________________________
19 // Geometry class  for PHOS : CPV (Charged particle veto, IHEP version)
20 // Its data members provide geometry parametrization of CPV
21 // which can be changed in the constructor only.
22 // Author: Yuri Kharlov (IHEP, Protvino)
23 // 15 September 2000
24 //
25 // --- ROOT system ---
26
27 // --- Standard library ---
28
29 // --- AliRoot header files ---
30
31 #include "AliPHOSCPVGeometry.h"
32
33 ClassImp(AliPHOSCPVGeometry)
34
35 //____________________________________________________________________________
36 AliPHOSCPVGeometry::AliPHOSCPVGeometry()
37   : fNumberOfCPVLayers(1),
38     fNumberOfCPVPadsPhi(128),
39     fNumberOfCPVPadsZ(56),
40     fCPVPadSizePhi(1.13),
41     fCPVPadSizeZ(2.26),
42     fNumberOfCPVChipsPhi(8),
43     fNumberOfCPVChipsZ(8),
44     fCPVGasThickness(1.3),
45     fCPVTextoliteThickness(0.1),
46     fCPVCuNiFoilThickness(56e-04)
47 {
48
49   // Initializes the CPV parameters
50   fCPVFrameSize[0]       = 2.5;
51   fCPVFrameSize[1]       = 5.1;
52   fCPVFrameSize[2]       = 2.5;
53   fGassiplexChipSize[0]  = 4.2;
54   fGassiplexChipSize[1]  = 0.1;
55   fGassiplexChipSize[2]  = 6.0;
56   fFTPosition[0]         = 0.7;
57   fFTPosition[1]         = 2.2;
58   fFTPosition[2]         = 3.6;
59   fFTPosition[3]         = 5.1;
60
61   fCPVActiveSize[0]      = fNumberOfCPVPadsPhi * fCPVPadSizePhi;
62   fCPVActiveSize[1]      = fNumberOfCPVPadsZ   * fCPVPadSizeZ;
63   fCPVBoxSize[0]         = fCPVActiveSize[0] + 2 * fCPVFrameSize[0];
64   fCPVBoxSize[1]         = fCPVFrameSize[1] * fNumberOfCPVLayers + 0.1;
65   fCPVBoxSize[2]         = fCPVActiveSize[1] + 2 * fCPVFrameSize[2];
66
67 }
68 //____________________________________________________________________________