Add class AliMUONConstants with MUON specific constants using static memeber data...
[u/mrichter/AliRoot.git] / MUON / AliMUONConstants.h
CommitLineData
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
6/*$Id $*/
7
8#include <TObject.h>
9#include <TArrayF.h>
10#include <TArrayI.h>
11
12
13class AliMUONConstants : public TObject {
14 public:
15 // return number of chambers
16 static Int_t NCh() {return fgNCh;}
17 // return number of tracking chambers
18 static Int_t NTrackingCh() {return fgNTrackingCh;}
19 // return number of trigger chambers
20 static Int_t NTriggerCh() {return fgNTriggerCh;}
21 // return number of trigger circuits
22 static Int_t NTriggerCircuit() {return fgNTriggerCircuit;}
23 // return poistion of chamber i
24 static Float_t DefaultChamberZ(Int_t i) {return fgDefaultChamberZ[i];}
25 // return pointer to array of positions
26 static Float_t* DefaultChamberZ() {return fgDefaultChamberZ;}
27 // return chamber i inner diameter
28 static Float_t Dmin(Int_t i) {return fgDmin[i];}
29 // return chamber i outer diameter
30 static Float_t Dmax(Int_t i) {return fgDmax[i];}
31 private:
32 AliMUONConstants(){}
33 virtual ~AliMUONConstants(){}
34 private:
35 static AliMUONConstants* fgConstants; // !
36 static Int_t fgNCh; // Number of Chambers
37 static Int_t fgNTrackingCh; // Number of Tracking Chambers
38 static Int_t fgNTriggerCh; // Number of Trigger Chambers
39 static Int_t fgNTriggerCircuit; // Number of Trigger Circuits
40//
41 static Float_t fgDefaultChamberZ[14]; // ! Z-positions of chambers
42 static Float_t fgDmin[7]; // ! inner diameter
43 static Float_t fgDmax[7]; // ! outer diameter
44//
45 ClassDef(AliMUONConstants, 1) // Class definition in ROOT context
46};
47
48#endif
49
50
51
52
53
54
55
56