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