/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
-/*$Id $*/
+/* $Id$*/
+// Revision of includes 07/05/2004
+//
+/// \ingroup base
+/// \class AliMUONConstants
+/// \brief MUON global constants
#include <TObject.h>
static Int_t NTriggerCh() {return fgNTriggerCh;}
// return number of trigger circuits
static Int_t NTriggerCircuit() {return fgNTriggerCircuit;}
- // return poistion of chamber i
+ // return number of detection element
+ static Int_t NDetElem() {return fgNDetElem;}
+ // return position of chamber i
static Float_t DefaultChamberZ(Int_t i) {return fgDefaultChamberZ[i];}
+ // return ratio between trigger chambers
+ static Float_t DefaultRatioTriggerChamber(Int_t i) {return fgDefaultRatioTriggerChamber[i];}
+// return Inclination with respect the vertical axis of stations 345
+ static Float_t St345Inclination() {return fgSt345inclination;}
// return pointer to array of positions
static Float_t* DefaultChamberZ() {return fgDefaultChamberZ;}
// return chamber i inner diameter
static Float_t Dmin(Int_t i) {return fgDmin[i];}
+ // return chamber i inner radius
+ static Float_t Rmin(Int_t i) {return Dmin(i)/2.0;}
// return chamber i outer diameter
static Float_t Dmax(Int_t i) {return fgDmax[i];}
+ // return chamber i outer radius
+ static Float_t Rmax(Int_t i) {return Dmax(i)/2.0;}
// return maximum zoom for event display
static Int_t MaxZoom() {return fgMaxZoom;}
- private:
- AliMUONConstants(){}
+ // return half-distance between two half-chambers
+ static Float_t DzCh() {return fgDzCh;}
+ // return half-distance between two slats
+ static Float_t DzSlat() {return fgDzSlat;}
+ static Int_t ChamberNumber(Float_t z);
+ // return SqrtKx3 and SqrtKy3 for Slat
+ static Float_t SqrtKx3() {return fgSqrtKx3;}
+ static Float_t SqrtKy3() {return fgSqrtKy3;}
+ // return SqrtKx3 and SqrtKy3 for Station 1 & 2
+ static Float_t SqrtKx3St1() {return fgSqrtKx3St1;}
+ static Float_t SqrtKy3St1() {return fgSqrtKy3St1;}
+ // return charge correlation (needed for response and for cluster finder !?)
+ static Float_t ChargeCorrel() {return fgChargeCorrel;}
+ static Float_t ChargeCorrelSt1() {return fgChargeCorrelSt1;}
+ // return wire pitch
+ static Float_t Pitch() {return fgPitch;}
+ static Float_t PitchSt1() {return fgPitchSt1;}
+
+ protected:
+ AliMUONConstants() : TObject() {}
virtual ~AliMUONConstants(){}
+
private:
static Int_t fgNCh; // Number of Chambers
static Int_t fgNTrackingCh; // Number of Tracking Chambers
static Int_t fgNTriggerCh; // Number of Trigger Chambers
static Int_t fgNTriggerCircuit; // Number of Trigger Circuits
+ static Int_t fgNDetElem; // Number of Detection Elements.
//
static Float_t fgDefaultChamberZ[14]; // ! Z-positions of chambers
+ static Float_t fgDefaultRatioTriggerChamber[4]; // ratio between trigger chambers
+ static Float_t fgSt345inclination; // ! Inclination with respect the vertical axis of stations 345
static Float_t fgDmin[7]; // ! inner diameter
static Float_t fgDmax[7]; // ! outer diameter
+
+ static Float_t fgDzCh; // half-distance between two half-chambers
+ static Float_t fgDzSlat; // half-distance between two slat on the same chamber
+ static Float_t fgSqrtKx3; // SqrtKx3 for St2 & Slat
+ static Float_t fgSqrtKy3; // SqrtKy3 for St2 & Slat
+ static Float_t fgSqrtKx3St1; // SqrtKx3 for Station 1
+ static Float_t fgSqrtKy3St1; // SqrtKy3 for Station 1
+
+ static Float_t fgChargeCorrel; // charge correlation for St2 & Slats
+ static Float_t fgChargeCorrelSt1; // charge correlation for Station 1
+
+ static Float_t fgPitch; // wire pitch for St2 & Slats
+ static Float_t fgPitchSt1; // wire pitch for Station 1
+
//
static Int_t fgMaxZoom; // Maximum Zoom for event display
- ClassDef(AliMUONConstants, 1) // Class definition in ROOT context
+ ClassDef(AliMUONConstants, 0) // MUON global constants
};
#endif