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