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