X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=MUON%2FAliMUONConstants.h;h=8dbb42d2674b4a30c9e87a75aba7619bacbca756;hp=181215f5a4cc0f8f7b350658ed11597e634dc229;hb=a99233461c36a3f5c72a120cc49d498acfcb7b09;hpb=43adb63d6d072a3f84150a6afc73ae71b9fe168d diff --git a/MUON/AliMUONConstants.h b/MUON/AliMUONConstants.h index 181215f5a4c..8dbb42d2674 100644 --- a/MUON/AliMUONConstants.h +++ b/MUON/AliMUONConstants.h @@ -14,93 +14,116 @@ class AliMUONConstants : public TObject { public: - // return number of chambers - static Int_t NCh() {return fgNCh;} - // return number of tracking chambers - static Int_t NTrackingCh() {return fgNTrackingCh;} - // return number of trigger chambers - static Int_t NTriggerCh() {return fgNTriggerCh;} - // return number of trigger circuits + /// Return number of chambers + static Int_t NCh(); + /// Return number of tracking chambers + static Int_t NTrackingCh(); + /// Return number of tracking stations + static Int_t NTrackingSt() {return fgNTrackingSt;} + /// Return number of trigger chambers + static Int_t NTriggerCh() {return NCh()-NTrackingCh();} + /// Return number of trigger circuits static Int_t NTriggerCircuit() {return fgNTriggerCircuit;} - // return number of detection element + /// Return number of detection element static Int_t NDetElem() {return fgNDetElem;} - // return position of chamber i + /// Return number of geometry modules + static Int_t NGeomModules() {return fgNGeomModules;} + /// Return position of chamber i static Float_t DefaultChamberZ(Int_t i) {return fgDefaultChamberZ[i];} - // return ratio between trigger chambers + /// 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;} - // 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;} + /// 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;} + /// 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;} + /// Return chamber number according z position of hit. 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 + /// Return SqrtKx3 for Slat + static Float_t SqrtKx3() {return fgSqrtKx3;} + /// Return SqrtKy3 for Slat + static Float_t SqrtKy3() {return fgSqrtKy3;} + /// Return SqrtKx3 for Station 1 & 2 + static Float_t SqrtKx3St1() {return fgSqrtKx3St1;} + /// Return SqrtKy3 for Station 1 & 2 + static Float_t SqrtKy3St1() {return fgSqrtKy3St1;} + /// Return charge correlation (needed for response and for cluster finder !?) + static Float_t ChargeCorrel() {return fgChargeCorrel;} + /// Return charge correlation for Station 1 & 2 (needed for response and for cluster finder !?) + static Float_t ChargeCorrelSt1() {return fgChargeCorrelSt1;} + /// Return wire pitch static Float_t Pitch() {return fgPitch;} + /// Return wire pitch for Station 1 & 2 static Float_t PitchSt1() {return fgPitchSt1;} - + /// Return coil z-position + static Double_t CoilZ() {return fgCoilZ;} + /// Return coil lenght + static Double_t CoilL() {return fgCoilL;} + /// Return yoke z-position + static Double_t YokeZ() {return fgYokeZ;} + /// Return yoke lenght + static Double_t YokeL() {return fgYokeL;} + /// Return chamber thickness in X0 + static Double_t ChamberThicknessInX0() {return fgChamberThicknessInX0;} + /// Return Trigger ToF Limit (75 ns) + static Float_t TriggerTofLimit() {return fgkTriggerTofLimit;} + protected: + /// Default constructor AliMUONConstants() : TObject() {} + /// Destructor 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 Int_t fgNTrackingSt; ///< Number of Tracking Stations + static Int_t fgNTriggerCircuit; ///< Number of Trigger Circuits + static Int_t fgNDetElem; ///< Number of Detection Elements. + static Int_t fgNGeomModules; ///< Number of Geometry modules + + 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, 0) // MUON global constants + 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 Double_t fgChamberThicknessInX0; ///< default chamber thickness in X0 for reconstruction + + static Double_t fgCoilZ; ///< Coil z-position + static Double_t fgCoilL; ///< Coil lenght + static Double_t fgYokeZ; ///< Yoke z-position + static Double_t fgYokeL; ///< Yoke lenght + + static Int_t fgMaxZoom; ///< Maximum Zoom for event display + static Float_t fgkTriggerTofLimit; ///< Particle above this threshold are discarded in trigger algorithm + + ClassDef(AliMUONConstants, 0) // MUON global constants }; #endif - - - - - - -