]>
Commit | Line | Data |
---|---|---|
fb7a1f55 | 1 | #ifndef ALICRTCONSTANTS_H |
2 | #define ALICRTCONSTANTS_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //////////////////////////////////////////////////////////////////////// | |
9 | // | |
10 | // AliCRTConstants class | |
11 | // | |
12 | // This class serves to group constants needed by ACORDE detector in 1 | |
13 | // easily accessible place. All constants are public const static data | |
14 | // members. The class is never instatiated. | |
15 | // | |
fb7a1f55 | 16 | // Author: Arturo Fernandez, Enrique Gamez |
17 | // FCFM-UAP, Mexico. | |
18 | // | |
19 | ///////////////////////////////////////////////////////////////////////// | |
20 | ||
387cc25e | 21 | #include <Rtypes.h> |
22 | ||
23 | enum ECRMode { | |
24 | kSingleMuons, | |
25 | kMuonBundle, | |
26 | kMuonFlux | |
27 | }; | |
fb7a1f55 | 28 | |
29 | class AliCRTConstants { | |
387cc25e | 30 | public: |
fddb5247 | 31 | virtual ~AliCRTConstants(); |
fb7a1f55 | 32 | |
fddb5247 | 33 | static AliCRTConstants* Instance(); |
387cc25e | 34 | |
fddb5247 | 35 | const Float_t CageLenght() const; |
36 | const Float_t CageWidth() const; | |
37 | const Float_t CageHeight() const; | |
387cc25e | 38 | |
fddb5247 | 39 | const Float_t SinglePaletteLenght() const; |
40 | const Float_t SinglePaletteWidth() const; | |
41 | const Float_t SinglePaletteHeight() const; | |
387cc25e | 42 | |
fddb5247 | 43 | const Float_t ActiveAreaGap() const; |
44 | const Float_t ActiveAreaLenght() const; | |
45 | const Float_t ActiveAreaWidth() const; | |
46 | const Float_t ActiveAreaHeight() const; | |
64e64069 | 47 | |
fddb5247 | 48 | const Float_t MagnetWidth() const; |
49 | const Float_t MagnetLenght() const; | |
50 | const Float_t MagMinRadius() const; | |
51 | const Float_t MagMaxRadius() const; | |
387cc25e | 52 | |
fddb5247 | 53 | const Float_t Depth() const; |
fb7a1f55 | 54 | |
387cc25e | 55 | protected: |
fddb5247 | 56 | AliCRTConstants() {} |
387cc25e | 57 | AliCRTConstants(const AliCRTConstants& ct) {} |
58 | AliCRTConstants& operator=(const AliCRTConstants& ct) {return *this;} | |
59 | ||
fddb5247 | 60 | static AliCRTConstants* fgInstance; |
61 | ||
62 | static const Float_t fgkCageLenght; | |
63 | static const Float_t fgkCageWidth; | |
64 | static const Float_t fgkCageHeight; | |
65 | ||
66 | static const Float_t fgkSinglePaletteLenght; | |
67 | static const Float_t fgkSinglePaletteWidth; | |
68 | static const Float_t fgkSinglePaletteHeight; | |
69 | ||
70 | static const Float_t fgkActiveAreaGap; | |
71 | ||
72 | static const Float_t fgkActiveAreaLenght; | |
73 | static const Float_t fgkActiveAreaWidth; | |
74 | static const Float_t fgkActiveAreaHeight; | |
75 | ||
76 | static const Float_t fgkMagnetWidth; | |
77 | static const Float_t fgkMagnetLenght; | |
78 | static const Float_t fgkMagMinRadius; | |
79 | static const Float_t fgkMagMaxRadius; | |
80 | ||
81 | static const Float_t fgkDepth; | |
82 | ||
1f50f721 | 83 | private: |
fb7a1f55 | 84 | ClassDef(AliCRTConstants, 0) // CRT(ACORDE) global constants |
85 | }; | |
fb7a1f55 | 86 | #endif // ALICRTCONSTANTS_H |