Added README to PHOS/macros/Trigger/OCDB, explaining the content.
[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
803d1ab0 16/* $Id$ */
fd61896f 17
18//_________________________________________________________________________
19// Geometry class for PHOS : CPV (Charged particle veto, IHEP version)
a3dfe79c 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
fd61896f 24//
25// --- ROOT system ---
26
27// --- Standard library ---
28
fd61896f 29// --- AliRoot header files ---
30
31#include "AliPHOSCPVGeometry.h"
32
925e6570 33ClassImp(AliPHOSCPVGeometry)
fd61896f 34
35//____________________________________________________________________________
36AliPHOSCPVGeometry::AliPHOSCPVGeometry()
3663622c 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)
fd61896f 47{
48
49 // Initializes the CPV parameters
fd61896f 50 fCPVFrameSize[0] = 2.5;
51 fCPVFrameSize[1] = 5.1;
52 fCPVFrameSize[2] = 2.5;
fd61896f 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;
fd61896f 60
85218d13 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}
fd61896f 68//____________________________________________________________________________