]>
Commit | Line | Data |
---|---|---|
d3c7bfac | 1 | #ifndef ALITOFGEOMETRYV4_H |
2 | #define ALITOFGEOMETRYV4_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | ||
7 | /////////////////////////////////////////////////////////////////////////////// | |
8 | // // | |
9 | // TOF geometry class (PPR version) // | |
10 | // // | |
11 | /////////////////////////////////////////////////////////////////////////////// | |
12 | ||
13 | ||
14 | #include "AliTOFGeometry.h" | |
15 | ||
16 | class AliTOFGeometryV4: public AliTOFGeometry { | |
17 | ||
18 | public: | |
19 | AliTOFGeometryV4(); | |
20 | virtual ~AliTOFGeometryV4(); | |
21 | ||
22 | void Init(); | |
23 | Bool_t IsInsideThePad(Int_t *det, Float_t *pos); | |
24 | Float_t DistanceToPad(Int_t *det, Float_t *pos, Float_t *dist3d=0); | |
25 | Int_t GetPlate(Float_t *pos); | |
26 | Int_t GetStrip(Float_t *pos); | |
27 | Int_t GetSector(Float_t *pos); | |
28 | Int_t GetPadX(Float_t *pos); | |
29 | Int_t GetPadZ(Float_t *pos); | |
30 | Float_t GetX(Int_t *det); | |
31 | Float_t GetY(Int_t *det); | |
32 | Float_t GetZ(Int_t *det); | |
33 | Float_t GetMinPlateTheta(Int_t iPlate); | |
34 | Float_t GetMaxPlateTheta(Int_t iPlate); | |
35 | Float_t GetMinStripTheta(Int_t iPlate, Int_t iStrip); | |
36 | Float_t GetMaxStripTheta(Int_t iPlate, Int_t iStrip); | |
37 | Float_t GetStripTheta(Int_t iPlate, Int_t iStrip); | |
d3c7bfac | 38 | |
39 | Float_t NStirpC() { return kNStripC;}; | |
d3c7bfac | 40 | Int_t NPadXSector() { return (AliTOFGeometry::kNStripA + 2*AliTOFGeometry::kNStripB + |
41 | 2*kNStripC)*AliTOFGeometry::kNpadX*AliTOFGeometry::kNpadZ;}; | |
42 | ||
43 | Float_t RinTOF() { return fgkxTOF;}; | |
44 | Float_t Rmin() { return fgkRmin;}; | |
45 | Float_t Rmax() { return fgkRmax;}; | |
46 | ||
47 | Float_t ZlenA() { return fgkZlenA;}; | |
48 | Float_t ZlenB() { return fgkZlenB;}; | |
49 | Float_t ZlenC() { return fgkZlenC;}; | |
50 | Float_t MaxhZtof() { return fgkMaxhZtof;}; | |
d3c7bfac | 51 | |
52 | static Float_t DeadBndX() { return fgkDeadBndX;}; | |
53 | static Float_t DeadBndZ() { return fgkDeadBndZ;}; | |
54 | static Float_t OverSpc() { return fgkOverSpc;}; | |
55 | ||
56 | protected: | |
57 | ||
58 | //private: | |
59 | ||
60 | static const Int_t kNStripC; // number of strips in C type module | |
d3c7bfac | 61 | |
62 | static const Float_t fgkZlenA; // length (cm) of the A module | |
63 | static const Float_t fgkZlenB; // length (cm) of the B module | |
64 | static const Float_t fgkZlenC; // length (cm) of the C module | |
65 | static const Float_t fgkMaxhZtof; // Max half z-size of TOF (cm) | |
d3c7bfac | 66 | |
67 | static const Float_t fgkRmin; // Inner radius of the TOF (cm) | |
68 | static const Float_t fgkRmax; // Outer radius of the TOF (cm) | |
69 | static const Float_t fgkxTOF; // Inner TOF Radius used in Reconstruction (cm) | |
70 | ||
71 | static const Float_t fgkDeadBndX; // Dead Boundaries of a Strip along Z direction (width) | |
72 | static const Float_t fgkDeadBndZ; // Dead Boundaries of a Strip along X direction (length) | |
73 | static const Float_t fgkOverSpc; // Space available for sensitive layers in radial direction (cm) | |
74 | ||
75 | static const Float_t fgkDprecMin;//num.prec.tolerance on Thmin | |
76 | static const Float_t fgkDprecMax;//num.prec.tolerance on Thma | |
77 | static const Float_t fgkDprecCen;//num.prec.tolerance on <Theta> | |
78 | ||
4402e7cb | 79 | ClassDef(AliTOFGeometryV4,1) // TOF Geometry class |
d3c7bfac | 80 | }; |
81 | ||
82 | #endif |