]>
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 | ||
f97e4a08 | 21 | #include <TObject.h> |
387cc25e | 22 | |
23 | enum ECRMode { | |
24 | kSingleMuons, | |
25 | kMuonBundle, | |
26 | kMuonFlux | |
27 | }; | |
fb7a1f55 | 28 | |
f97e4a08 | 29 | class AliCRTConstants : public TObject { |
387cc25e | 30 | public: |
fddb5247 | 31 | virtual ~AliCRTConstants(); |
fb7a1f55 | 32 | |
fddb5247 | 33 | static AliCRTConstants* Instance(); |
387cc25e | 34 | |
17323043 | 35 | Float_t CageLenght() const; |
36 | Float_t CageWidth() const; | |
37 | Float_t CageHeight() const; | |
387cc25e | 38 | |
17323043 | 39 | Float_t SinglePaletteLenght() const; |
40 | Float_t SinglePaletteWidth() const; | |
41 | Float_t SinglePaletteHeight() const; | |
387cc25e | 42 | |
17323043 | 43 | Float_t ActiveAreaGap() const; |
44 | Float_t ActiveAreaLenght() const; | |
45 | Float_t ActiveAreaWidth() const; | |
46 | Float_t ActiveAreaHeight() const; | |
64e64069 | 47 | |
17323043 | 48 | Float_t MagnetWidth() const; |
49 | Float_t MagnetLenght() const; | |
50 | Float_t MagMinRadius() const; | |
51 | Float_t MagMaxRadius() const; | |
387cc25e | 52 | |
17323043 | 53 | Float_t Depth() const; |
fb7a1f55 | 54 | |
387cc25e | 55 | protected: |
f97e4a08 | 56 | AliCRTConstants(); |
57 | AliCRTConstants(const AliCRTConstants& ct); | |
58 | AliCRTConstants& operator=(const AliCRTConstants& ct); | |
387cc25e | 59 | |
f97e4a08 | 60 | static AliCRTConstants* fgInstance; // static instanton |
fddb5247 | 61 | |
f97e4a08 | 62 | static const Float_t fgkCageLenght; // Cage lenght |
63 | static const Float_t fgkCageWidth; // Cage width | |
64 | static const Float_t fgkCageHeight; // Cage height | |
fddb5247 | 65 | |
f97e4a08 | 66 | static const Float_t fgkSinglePaletteLenght; // Palette lenght |
67 | static const Float_t fgkSinglePaletteWidth; // Palette width | |
68 | static const Float_t fgkSinglePaletteHeight; // Palette height | |
fddb5247 | 69 | |
f97e4a08 | 70 | static const Float_t fgkActiveAreaGap; // Scintillator active area |
fddb5247 | 71 | |
f97e4a08 | 72 | static const Float_t fgkActiveAreaLenght; // Active area lenght |
73 | static const Float_t fgkActiveAreaWidth; // Active area width | |
74 | static const Float_t fgkActiveAreaHeight; // Active area height | |
fddb5247 | 75 | |
f97e4a08 | 76 | static const Float_t fgkMagnetWidth; // Magnet widht |
77 | static const Float_t fgkMagnetLenght; // Magnet lenght | |
78 | static const Float_t fgkMagMinRadius; // Magnet inside radius | |
79 | static const Float_t fgkMagMaxRadius; // Magnet outer radius | |
fddb5247 | 80 | |
f97e4a08 | 81 | static const Float_t fgkDepth; // Alice IP depth from surface |
fddb5247 | 82 | |
1f50f721 | 83 | private: |
fb7a1f55 | 84 | ClassDef(AliCRTConstants, 0) // CRT(ACORDE) global constants |
85 | }; | |
fb7a1f55 | 86 | #endif // ALICRTCONSTANTS_H |