]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Added number of chambers as data member/getter
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 Jan 2006 09:04:01 +0000 (09:04 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 Jan 2006 09:04:01 +0000 (09:04 +0000)
(needed for DE iterator)

MUON/mapping/AliMpConstants.cxx
MUON/mapping/AliMpConstants.h

index 57864b2766d99f1a90589986be73225ac7e4d922..5a7556b815e6e422a56ab061f73c7c41ff313c40 100755 (executable)
@@ -14,7 +14,7 @@
  **************************************************************************/
 
 // $Id$
-// $MpId: AliMpConstants.cxx,v 1.7 2005/10/28 15:09:13 ivana Exp $
+// $MpId: AliMpConstants.cxx,v 1.8 2006/01/11 10:10:31 ivana Exp $
 // Category: basic
 //
 // Class AliMpConstants
@@ -34,6 +34,7 @@ ClassImp(AliMpConstants)
 const Double_t AliMpConstants::fgkLengthTolerance = 1e-05; // 0.1 mum;
 const Double_t AliMpConstants::fgkLengthStep = 0.1; // 1 mm;
 const Int_t    AliMpConstants::fgkStartPadIndex = 1;
+const Int_t    AliMpConstants::fgkNCh = 14;
 
 //_____________________________________________________________________________
 AliMpConstants::AliMpConstants()
index db155c9a0250fa9d20cfff9cfbc30f9b2ab3dfc8..76036b7003ef7cd1b9a3e86081e7f9ad3287ef7a 100755 (executable)
@@ -2,7 +2,7 @@
  * See cxx source for full Copyright notice                               */
 
 // $Id$
-// $MpId: AliMpConstants.h,v 1.6 2005/08/26 15:43:36 ivana Exp $
+// $MpId: AliMpConstants.h,v 1.7 2006/01/11 10:03:19 ivana Exp $
 
 /// \ingroup basic
 /// \class AliMpConstants
@@ -31,6 +31,7 @@ class AliMpConstants : public TObject
   static Double_t LengthTolerance();
   static Double_t LengthStep();
   static Int_t    StartPadIndex();
+  static Int_t    NCh();
 
  private:
   // unused derived functions
@@ -41,6 +42,7 @@ 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
+  static const Int_t     fgkNCh;            // number of chambers
 
   ClassDef(AliMpConstants,1) //Class for globally used constants definition
 };
@@ -50,5 +52,6 @@ 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