018502ee081a2fd2de2d10775d5ce4d4b23c9105
[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 */
19
20 //_________________________________________________________________________
21 // Geometry class  for PHOS : CPV (Charged particle veto, IHEP version)
22 //                  
23 //*-- Author   : Yuri Kharlov (IHEP, Protvino) 15 September 2000
24 //
25 // --- ROOT system ---
26
27 // --- Standard library ---
28
29 #include <iostream.h>
30
31 // --- AliRoot header files ---
32
33 #include "AliPHOSCPVGeometry.h"
34
35 ClassImp(AliPHOSCPVGeometry) ;
36
37 //____________________________________________________________________________
38 AliPHOSCPVGeometry::AliPHOSCPVGeometry()
39 {
40
41   // Initializes the CPV parameters
42   fNumberOfCPVLayers     = 1;
43   fLeadConverterExists   = kFALSE;
44   fNumberOfCPVPadsPhi    = 128;
45   fNumberOfCPVPadsZ      = 64;
46   fCPVPadSizePhi         = 1.13;
47   fCPVPadSizeZ           = 2.26;
48   fNumberOfCPVChipsPhi   = 8;
49   fNumberOfCPVChipsZ     = 8;
50   fCPVGasThickness       = 1.3;
51   fCPVTextoliteThickness = 0.1;
52   fCPVCuNiFoilThickness  = 56e-04;;
53   fCPVFrameSize[0]       = 2.5;
54   fCPVFrameSize[1]       = 5.1;
55   fCPVFrameSize[2]       = 2.5;
56   fCPVActiveSize[0]      = fNumberOfCPVPadsPhi * fCPVPadSizePhi;
57   fCPVActiveSize[1]      = fNumberOfCPVPadsZ   * fCPVPadSizeZ;
58   fCPVBoxSize[0]         = fCPVActiveSize[0] + 2 * fCPVFrameSize[0];
59   fCPVBoxSize[1]         = fCPVFrameSize[1] * fNumberOfCPVLayers + 0.1;
60   fCPVBoxSize[2]         = fCPVActiveSize[1] + 2 * fCPVFrameSize[2];
61   fGassiplexChipSize[0]  = 4.2;
62   fGassiplexChipSize[1]  = 0.1;
63   fGassiplexChipSize[2]  = 6.0;
64   fFTPosition[0]         = 0.7;
65   fFTPosition[1]         = 2.2;
66   fFTPosition[2]         = 3.6;
67   fFTPosition[3]         = 5.1;
68 }
69
70 //____________________________________________________________________________