]>
Commit | Line | Data |
---|---|---|
f665c1ea | 1 | #ifndef ALIMUONCONSTANTS_H |
2 | #define ALIMUONCONSTANTS_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
24c9eaa0 | 6 | /* $Id$*/ |
30178c30 | 7 | // Revision of includes 07/05/2004 |
f665c1ea | 8 | |
9 | #include <TObject.h> | |
f665c1ea | 10 | |
11 | class AliMUONConstants : public TObject { | |
12 | public: | |
13 | // return number of chambers | |
14 | static Int_t NCh() {return fgNCh;} | |
15 | // return number of tracking chambers | |
16 | static Int_t NTrackingCh() {return fgNTrackingCh;} | |
17 | // return number of trigger chambers | |
18 | static Int_t NTriggerCh() {return fgNTriggerCh;} | |
19 | // return number of trigger circuits | |
20 | static Int_t NTriggerCircuit() {return fgNTriggerCircuit;} | |
24c9eaa0 | 21 | // return position of chamber i |
f665c1ea | 22 | static Float_t DefaultChamberZ(Int_t i) {return fgDefaultChamberZ[i];} |
23 | // return pointer to array of positions | |
24 | static Float_t* DefaultChamberZ() {return fgDefaultChamberZ;} | |
25 | // return chamber i inner diameter | |
26 | static Float_t Dmin(Int_t i) {return fgDmin[i];} | |
27 | // return chamber i outer diameter | |
28 | static Float_t Dmax(Int_t i) {return fgDmax[i];} | |
97ccf8cb | 29 | // return maximum zoom for event display |
30 | static Int_t MaxZoom() {return fgMaxZoom;} | |
e516b01d | 31 | // return half-distance between two half-chambers |
32 | static Float_t DzCh() {return fgDzCh;} | |
33 | // return half-distance between two slats | |
34 | static Float_t DzSlat() {return fgDzSlat;} | |
29fc2c86 | 35 | static Int_t ChamberNumber(Float_t z); |
7e4a628d | 36 | // return SqrtKx3 and SqrtKy3 for Slat |
1c334adf | 37 | static Float_t SqrtKx3() {return fgSqrtKx3;} |
38 | static Float_t SqrtKy3() {return fgSqrtKy3;} | |
7e4a628d | 39 | // return SqrtKx3 and SqrtKy3 for Station 1 & 2 |
1c334adf | 40 | static Float_t SqrtKx3St1() {return fgSqrtKx3St1;} |
41 | static Float_t SqrtKy3St1() {return fgSqrtKy3St1;} | |
7e4a628d | 42 | // return charge correlation (needed for response and for cluster finder !?) |
1c334adf | 43 | static Float_t ChargeCorrel() {return fgChargeCorrel;} |
44 | static Float_t ChargeCorrelSt1() {return fgChargeCorrelSt1;} | |
7e4a628d | 45 | // return wire pitch |
1c334adf | 46 | static Float_t Pitch() {return fgPitch;} |
47 | static Float_t PitchSt1() {return fgPitchSt1;} | |
29fc2c86 | 48 | |
30178c30 | 49 | protected: |
50 | AliMUONConstants() : TObject() {} | |
f665c1ea | 51 | virtual ~AliMUONConstants(){} |
30178c30 | 52 | |
f665c1ea | 53 | private: |
37c0cd40 | 54 | static Int_t fgNCh; // Number of Chambers |
f665c1ea | 55 | static Int_t fgNTrackingCh; // Number of Tracking Chambers |
56 | static Int_t fgNTriggerCh; // Number of Trigger Chambers | |
57 | static Int_t fgNTriggerCircuit; // Number of Trigger Circuits | |
58 | // | |
59 | static Float_t fgDefaultChamberZ[14]; // ! Z-positions of chambers | |
97ccf8cb | 60 | static Float_t fgDmin[7]; // ! inner diameter |
61 | static Float_t fgDmax[7]; // ! outer diameter | |
e516b01d | 62 | |
63 | static Float_t fgDzCh; // half-distance between two half-chambers | |
64 | static Float_t fgDzSlat; // half-distance between two slat on the same chamber | |
1c334adf | 65 | static Float_t fgSqrtKx3; // SqrtKx3 for St2 & Slat |
66 | static Float_t fgSqrtKy3; // SqrtKy3 for St2 & Slat | |
67 | static Float_t fgSqrtKx3St1; // SqrtKx3 for Station 1 | |
68 | static Float_t fgSqrtKy3St1; // SqrtKy3 for Station 1 | |
7e4a628d | 69 | |
1c334adf | 70 | static Float_t fgChargeCorrel; // charge correlation for St2 & Slats |
71 | static Float_t fgChargeCorrelSt1; // charge correlation for Station 1 | |
7e4a628d | 72 | |
1c334adf | 73 | static Float_t fgPitch; // wire pitch for St2 & Slats |
74 | static Float_t fgPitchSt1; // wire pitch for Station 1 | |
e516b01d | 75 | |
f665c1ea | 76 | // |
97ccf8cb | 77 | static Int_t fgMaxZoom; // Maximum Zoom for event display |
ecfa008b | 78 | ClassDef(AliMUONConstants, 0) // MUON global constants |
f665c1ea | 79 | }; |
80 | ||
81 | #endif | |
82 | ||
83 | ||
84 | ||
85 | ||
86 | ||
87 | ||
88 | ||
89 |