New class which contains quantities previously defined as global variables
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerConstants.h
CommitLineData
7c2017ae 1#ifndef ALIMUONTRIGGERCONSTANTS_H
2#define ALIMUONTRIGGERCONSTANTS_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7#include <TNamed.h>
8
9class AliMUONTriggerConstants :
10public TNamed {
11 public:
12 AliMUONTriggerConstants();
13 ~AliMUONTriggerConstants();
14
15public:
16 static Int_t Nmodule();
17 static Int_t ModuleId(Int_t imodule);
18 static Int_t NstripX(Int_t imodule);
19 static Int_t NstripY(Int_t imodule);
20 static Float_t XcMin(Int_t imodule);
21 static Float_t XcMax(Int_t imodule);
22 static Int_t CircuitId(Int_t icircuit);
23
24private:
25 static const Int_t fgNmodule; // total number of module
26 static const Int_t fgModuleId[126]; // module Id. number
27 static const Int_t fgNstripX[126]; // number of X strips
28 static const Int_t fgNstripY[126]; // number of Y strips
29 static const Float_t fgXcMin[126]; // min X pos of module
30 static const Float_t fgXcMax[126]; // max X poa of module
31 static const Int_t fgCircuitId[234]; // circuit Id. number
32
33 ClassDef(AliMUONTriggerConstants,1) // Trigger Constants class
34
35};
36#endif
37
38
39
40
41
42
43
44
45
46
47
48
49