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