+/* 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;
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; }
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
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
+