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