removed iostream
[u/mrichter/AliRoot.git] / PHOS / AliPHOSPPSDGeometry.cxx
CommitLineData
7119952d 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$
15dfd892 18 Revision 1.2 2000/11/09 15:49:00 martinez
19 Coding convention rules obeyed
20
a3dfe79c 21 Revision 1.1 2000/11/03 16:29:02 schutz
22 PPSD geometry class to correct previous name-convetion rule violation
23
7119952d 24*/
25
26//_________________________________________________________________________
27// Geometry class for PHOS : PPSD (PHOS Preshower Detector)
a3dfe79c 28// Its data members provide geometry parametrization of PPSD
29// which can be changed in the constructor only.
30// Author : Yves Schutz (SUBATECH)
31// Modified : Yuri Kharlov (IHEP, Protvino)
32// 7 November 2000
33
7119952d 34// --- ROOT system ---
35
36// --- Standard library ---
37
7119952d 38// --- AliRoot header files ---
39
40#include "AliPHOSPPSDGeometry.h"
41
42ClassImp(AliPHOSPPSDGeometry) ;
43
44//____________________________________________________________________________
45AliPHOSPPSDGeometry::AliPHOSPPSDGeometry()
46{
47
48 // Initializes the PPSD parameters
49
50 fAnodeThickness = 0.0009 ;
51 fAvalancheGap = 0.01 ;
52 fCathodeThickness = 0.0009 ;
53 fCompositeThickness = 0.3 ;
54 fConversionGap = 0.6 ;
55 fLeadConverterThickness = 0.56 ;
56 fLeadToMicro2Gap = 0.1 ;
57 fLidThickness = 0.2 ;
58 fMicro1ToLeadGap = 0.1 ;
59 fMicromegasWallThickness = 0.6 ;
60 fNumberOfModulesPhi = 4 ;
61 fNumberOfModulesZ = 4 ;
a3dfe79c 62 fNumberOfPadsPhi = 32 ;
63 fNumberOfPadsZ = 32 ;
64 fPCThickness = 0.1 ;
65 fPhiDisplacement = 0.8 ;
7119952d 66 fZDisplacement = 0.8 ;
67
68 fMicromegas1Thickness = fLidThickness + 2 * fCompositeThickness + fCathodeThickness
69 + fPCThickness + fAnodeThickness + fConversionGap + fAvalancheGap ;
70 fMicromegas2Thickness = fMicromegas1Thickness ;
71
72 fPPSDModuleSize[0] = 38.0 ;
73 fPPSDModuleSize[1] = fMicromegas1Thickness ;
74 fPPSDModuleSize[2] = 38.0 ;
75
76 fPPSDBoxSize[0] = fNumberOfModulesPhi * fPPSDModuleSize[0] + 2 * fPhiDisplacement ;
77 fPPSDBoxSize[1] = fMicromegas2Thickness + fMicromegas2Thickness
78 + fLeadConverterThickness + fMicro1ToLeadGap + fLeadToMicro2Gap ;
79 fPPSDBoxSize[2] = fNumberOfModulesZ * fPPSDModuleSize[2] + 2 * fZDisplacement ;
80
81}
82
83//____________________________________________________________________________