]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpConstants.h
- Reordering includes and/or
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpConstants.h
index 819793b4c0350ffff1013e678c153411c9f61a75..5068dd8c1ee923cd6327cffb807b54e631f6f8f4 100755 (executable)
@@ -1,16 +1,20 @@
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
 // $Id$
-// Category: basic
-//
-// Class AliMpConstants
-// --------------------
-// Class for globally used constants definition.
-//
-// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
+// $MpId: AliMpConstants.h,v 1.8 2006/03/02 16:26:53 ivana Exp $
+
+/// \ingroup basic
+/// \class AliMpConstants
+/// \brief Globally used constants definition.
+///
+/// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
 
 #ifndef ALI_MP_CONSTANTS_H
 #define ALI_MP_CONSTANTS_H
 
 #include <TObject.h>
+#include "AliMpPlaneType.h"
 
 class TVector2;
 
@@ -28,7 +32,9 @@ class AliMpConstants : public TObject
   static Double_t LengthTolerance();
   static Double_t LengthStep();
   static Int_t    StartPadIndex();
-
+  static Int_t    NCh();
+  static Int_t    ManuMask(AliMpPlaneType planeType);
+  
  private:
   // unused derived functions
   virtual Bool_t  IsEqual(const TObject*) const { return true; }
@@ -38,8 +44,10 @@ class AliMpConstants : public TObject
   static const Double_t  fgkLengthStep;     // the step in length used to move from
                                             // a geometric border inside (pad, motif)
   static const Int_t     fgkStartPadIndex;  // global pad indices start value
-
-  ClassDef(AliMpConstants,1) //Class for globally used constants definition
+  static const Int_t     fgkNCh;            // number of chambers
+  static const Int_t     fgNonBendingManuMask; // bit to set to indicate a manu located in non-bending plane
+  
+  ClassDef(AliMpConstants,2) //Class for globally used constants definition
 };
 
 // inline functions
@@ -47,5 +55,7 @@ class AliMpConstants : public TObject
 inline Double_t AliMpConstants::LengthTolerance() {return fgkLengthTolerance;}
 inline Double_t AliMpConstants::LengthStep()      {return fgkLengthStep;}
 inline Int_t    AliMpConstants::StartPadIndex()   {return fgkStartPadIndex;}
+inline Int_t    AliMpConstants::NCh()             {return fgkNCh;}
 
 #endif //ALI_MP_CONSTANTS_H
+