This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / TRD / AliTRD.h
CommitLineData
fe4da5cc 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
10class AliTRD : public AliDetector {
11
12public:
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 DrawDetector() {}
25
26 ClassDef(AliTRD,1) // Transition Radiation Detector base class
27};
28
29const Int_t nsect = 18; //Number of sectors in the full detector
30const Int_t nmodul = 6; //Number of modules in each sector
31const Float_t rmin = 281; //r-Coordinates of the TRD-frame
32const Float_t rmax = 350.282;
33const Float_t zmax1 = 351.2; //z-Coordinates of the TRD-frame
34const Float_t zmax2 = 292.35;
35const Float_t alframe = 1.0; //Thickness of the aluminium of the support frame
36const Float_t alfram1 = 1.0;
37const Float_t alfram2 = 0.5;
38const Float_t inframe = 3.0; //Thickness of the interior of the support frame
39const Float_t ccframe = 1.0; //Thickness of the carbon chamber frame
40const Float_t pethick = 0.15; //Thickness of the PE-layer in the radiator
41const Float_t pezpos = 0.; //z-position of the PE-layer in the radiator
42const Float_t rathick = 6.23; //Thickness of the radiator
43const Float_t razpos = -2.6585; //z-position of the radiator
44const Float_t mythick = 0.005; //Thickness of the mylar-layer
45const Float_t myzpos = 0.459; //z-position of the mylar-layer
46const Float_t xethick = 3.6; //Thickness of the Xe/C02-layer
47const Float_t xezpos = 2.2615; //z-position of the Xe/C02-layer
48const Float_t cuthick = 0.002; //Thickness of the Cu-layer (Pads)
49const Float_t cuzpos = 4.0625; //z-position of the Cu-layer (Pads)
50const Float_t kathick = 0.01; //Thickness of the kapton-layer
51const Float_t kazpos = 4.0695; //z-position of the kapton-layer
52const Float_t nothick = 0.05; //Thickness of the NOMEX-layer
53const Float_t nozpos = 4.8235; //z-position of the NOMEX-layer
54const Float_t rothick = 0.018; //Thickness of the readout-layer
55const Float_t rozpos = 5.2; //z-position of the readout-layer
56
57
58//_____________________________________________________________________________
59class AliTRDhit : public AliHit {
60
61public:
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
67public:
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