]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRD.h
Do not save CVS subdirectories
[u/mrichter/AliRoot.git] / TRD / AliTRD.h
1 #ifndef TRD_H
2 #define TRD_H
3 ////////////////////////////////////////////////
4 //  Manager and hits classes for set:TRD     //
5 ////////////////////////////////////////////////
6  
7 #include "AliDetector.h"
8 #include "AliHit.h" 
9  
10 class AliTRD : public AliDetector {
11  
12 public:
13   AliTRD();
14   AliTRD(const char *name, const char *title);
15   virtual      ~AliTRD() {}
16   virtual void  AddHit(Int_t, Int_t*, Float_t*);
17   virtual void  BuildGeometry();
18   virtual void  CreateGeometry() {}
19   virtual void  CreateMaterials();
20   Int_t         DistancetoPrimitive(Int_t px, Int_t py);
21   virtual void  Init();
22   virtual Int_t IsVersion() const =0;
23   virtual void  StepManager()=0; 
24   virtual void  DrawModule() {}
25   
26   ClassDef(AliTRD,1)       // Transition Radiation Detector base class
27 };
28
29 const Int_t   nsect   = 18;      //Number of sectors in the full detector
30 const Int_t   nmodul  = 6;       //Number of modules in each sector
31 const Float_t rmin    = 281;     //r-Coordinates of the TRD-frame
32 const Float_t rmax    = 350.282;
33 const Float_t zmax1   = 351.2;   //z-Coordinates of the TRD-frame
34 const Float_t zmax2   = 292.35;
35 const Float_t alframe = 1.0;     //Thickness of the aluminium of the support frame
36 const Float_t alfram1 = 1.0;
37 const Float_t alfram2 = 0.5;
38 const Float_t inframe = 3.0;     //Thickness of the interior of the support frame
39 const Float_t ccframe = 1.0;     //Thickness of the carbon chamber frame
40 const Float_t pethick = 0.15;    //Thickness of the PE-layer in the radiator
41 const Float_t pezpos  =  0.;     //z-position of the PE-layer in the radiator
42 const Float_t rathick = 6.23;    //Thickness of the radiator
43 const Float_t razpos  = -2.6585; //z-position of the radiator
44 const Float_t mythick = 0.005;   //Thickness of the mylar-layer
45 const Float_t myzpos  =  0.459;  //z-position of the mylar-layer
46 const Float_t xethick = 3.6;     //Thickness of the Xe/C02-layer
47 const Float_t xezpos  =  2.2615; //z-position of the Xe/C02-layer
48 const Float_t cuthick = 0.002;   //Thickness of the Cu-layer (Pads)
49 const Float_t cuzpos  =  4.0625; //z-position of the Cu-layer (Pads)
50 const Float_t kathick = 0.01;    //Thickness of the kapton-layer
51 const Float_t kazpos  =  4.0695; //z-position of the kapton-layer
52 const Float_t nothick = 0.05;    //Thickness of the NOMEX-layer
53 const Float_t nozpos  =  4.8235; //z-position of the NOMEX-layer
54 const Float_t rothick = 0.018;   //Thickness of the readout-layer
55 const Float_t rozpos  =  5.2;    //z-position of the readout-layer
56  
57  
58 //_____________________________________________________________________________
59 class AliTRDhit : public AliHit {
60
61 public:
62   Int_t        fSector;     // TRD sector number
63   Int_t        fChamber;    // TRD chamber number
64   Int_t        fPlane;      // TRD plane number 
65   Float_t      fQ;          // Charge created by a hit (geometry 2)
66  
67 public:
68   AliTRDhit() {}
69   AliTRDhit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
70   virtual ~AliTRDhit() {}
71  
72   ClassDef(AliTRDhit,1)     // Hits for Transition Radiation Detector
73 };
74
75 #endif