]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPPSDGeometry.cxx
New member functions for CPV clusterization
[u/mrichter/AliRoot.git] / PHOS / AliPPSDGeometry.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 */
19
20 //_________________________________________________________________________
21 // Geometry class  for PHOS : PPSD (PHOS Preshower Detector)
22 //                  
23 //*-- Author   : Yves Schutz (SUBATECH)
24 //    Modified : Yuri Kharlov (IHEP, Protvino) 15 September 2000
25 //
26 // --- ROOT system ---
27
28 // --- Standard library ---
29
30 #include <iostream.h>
31
32 // --- AliRoot header files ---
33
34 #include "AliPPSDGeometry.h"
35
36 ClassImp(AliPPSDGeometry) ;
37
38 //____________________________________________________________________________
39 AliPPSDGeometry::AliPPSDGeometry()
40 {
41
42   // Initializes the PPSD parameters
43
44   fAnodeThickness           = 0.0009 ; 
45   fAvalancheGap             = 0.01 ; 
46   fCathodeThickness         = 0.0009 ;
47   fCompositeThickness       = 0.3 ; 
48   fConversionGap            = 0.6 ; 
49   fLeadConverterThickness   = 0.56 ; 
50   fLeadToMicro2Gap          = 0.1 ; 
51   fLidThickness             = 0.2 ; 
52   fMicro1ToLeadGap          = 0.1 ; 
53   fMicromegasWallThickness  = 0.6 ; 
54   fNumberOfModulesPhi       = 4 ; 
55   fNumberOfModulesZ         = 4 ; 
56   fNumberOfPadsPhi          = 24 ; 
57   fNumberOfPadsZ            = 24 ;   
58   fPCThickness              = 0.1 ; 
59   fPhiDisplacement          = 0.8 ;  
60   fZDisplacement            = 0.8 ;  
61
62   fMicromegas1Thickness     = fLidThickness + 2 * fCompositeThickness + fCathodeThickness 
63                             + fPCThickness + fAnodeThickness + fConversionGap + fAvalancheGap ; 
64   fMicromegas2Thickness     = fMicromegas1Thickness ; 
65
66   fPPSDModuleSize[0]        = 38.0 ; 
67   fPPSDModuleSize[1]        = fMicromegas1Thickness ; 
68   fPPSDModuleSize[2]        = 38.0 ; 
69  
70   fPPSDBoxSize[0]           = fNumberOfModulesPhi * fPPSDModuleSize[0] + 2 * fPhiDisplacement ;  
71   fPPSDBoxSize[1]           = fMicromegas2Thickness + fMicromegas2Thickness 
72                             + fLeadConverterThickness + fMicro1ToLeadGap + fLeadToMicro2Gap ;    
73   fPPSDBoxSize[2]           = fNumberOfModulesZ *  fPPSDModuleSize[2] + 2 * fZDisplacement ;
74
75 }
76
77 //____________________________________________________________________________