]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PMD/AliPMDv2008.h
coding violation warnings are removed
[u/mrichter/AliRoot.git] / PMD / AliPMDv2008.h
1 #ifndef ALIPMDV2008_H
2 #define ALIPMDV2008_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id: AliPMDv1.h 15401 2006-10-18 18:49:59Z bnandi $ */
7
8 ////////////////////////////////////////////////
9 //  Manager and hits classes for set:PMD      //
10 ////////////////////////////////////////////////
11  
12 #include "AliPMD.h"
13 class TGeoManager;
14 //___________________________________________
15  
16 class AliPMDv2008 : public AliPMD {
17   
18 public:
19   AliPMDv2008();
20   AliPMDv2008(const char *name, const char *title);
21   virtual      ~AliPMDv2008() {}
22   virtual void  CreateGeometry();
23   virtual void  CreatePMD();
24   virtual void  CreateSupermodule();
25   virtual void  GetParameters();
26   virtual void  CreateMaterials();
27   virtual void  Init();
28   virtual Int_t IsVersion() const {return 1;}
29   virtual void  StepManager();
30   virtual void  AddAlignableVolumes() const;
31   void          SetSectorAlignable() const;
32
33 private:
34
35   static const Int_t   fgkNcolUM1 = 48;  // Number of cols in UM, type 1
36   static const Int_t   fgkNcolUM2 = 96;  // Number of cols in UM, type 2
37   static const Int_t   fgkNrowUM1 = 96;  // Number of rows in UM, type 1
38   static const Int_t   fgkNrowUM2 = 48;  // Number of rows in UM, type 2
39   static const Float_t fgkCellRadius = 0.25;   // Radius of a hexagonal cell
40   static const Float_t fgkCellWall   = 0.02;   // Thickness of cell Wall
41   static const Float_t fgkCellDepth  = 0.50;   // Gas thickness
42   static const Float_t fgkThBKP = 0.1;      // Thickness of Back plane
43   static const Float_t fgkThBase = 0.2;        // Thickness of Base plate
44   static const Float_t fgkThAir = 1.03;         // Thickness of Air
45   static const Float_t fgkThPCB      = 0.16;   // Thickness of PCB
46   static const Float_t fgkThLead     = 1.5;    // Thickness of Pb
47   static const Float_t fgkThSteel    = 0.5;    // Thickness of Steel
48   static const Float_t fgkGap        = 0.025;  // Air Gap
49   static const Float_t fgkZdist      = 361.5;   // z-position of the detector
50   static const Float_t fgkSqroot3    = 1.7320508;   // Square Root of 3
51   static const Float_t fgkSqroot3by2 = 0.8660254;   // Square Root of 3 by 2
52   static const Float_t fgkSSBoundary = 0.3;  // Stainless steel boundary
53   static const Float_t fgkThSS       = 1.23; // thickness of SS frame
54   static const Float_t fgkThG10      = 1.03; // top G10 material thickness
55
56
57   Float_t fSMthick;     // Thickness of the supermodule
58   Float_t fDthick;     // Thickness of the pre/veto module
59   Float_t fSMLengthax;  // Supermodule length along X, type A
60   Float_t fSMLengthay;  // Supermodule length along Y, type A
61   Float_t fSMLengthbx;  // Supermodule length along X, type B
62   Float_t fSMLengthby;  // Supermodule length along Y, type A
63   Int_t   fMedSens;     // Sensitive Medium Ar+CO2
64   Float_t fDboxmm1[3];  // Master MODULE EMPA of aluminum for PMD
65   Float_t fDboxmm12[3]; // Master MODULE EMCA of aluminum for CPV
66   Float_t fDboxmm2[3];  // Master MODULE EMPB of aluminum for PMD
67   Float_t fDboxmm22[3]; // Master MODULE EMCB of aluminum for CPV
68  
69   ClassDef(AliPMDv2008,1)     //Hits manager for set:PMD
70 };
71  
72 #endif