]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
- Adding fgkNofGeomModules static data member and its getter
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Oct 2006 09:35:10 +0000 (09:35 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Oct 2006 09:35:10 +0000 (09:35 +0000)
- Renaming fgkNCh to fgkNofChambers and its getter accordingly

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

index 887135d1a96fd66076ececd54ef90f0437afa6dc..3702a2ea6f3c8b5cb93e9480ae2a59839d9204aa 100755 (executable)
@@ -36,7 +36,8 @@ 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;
+const Int_t    AliMpConstants::fgkNofChambers = 14;
+const Int_t    AliMpConstants::fgkNofGeomModules = 20;
 const Int_t AliMpConstants::fgkNonBendingManuMask(1<<10);
 
 //_____________________________________________________________________________
index dbe15222e64a82e3723869de23a775668827efd6..4f4ecddc786cde9532520ee0c13033cc6c3beb22 100755 (executable)
@@ -32,7 +32,8 @@ class AliMpConstants : public TObject
   static Double_t LengthTolerance();
   static Double_t LengthStep();
   static Int_t    StartPadIndex();
-  static Int_t    NCh();
+  static Int_t    NofChambers();
+  static Int_t    NofGeomModules();
   static Int_t    ManuMask(AliMpPlaneType planeType);
   
  private:
@@ -44,7 +45,8 @@ class AliMpConstants : public TObject
   static const Double_t  fgkLengthStep;     ///< \brief 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
+  static const Int_t     fgkNofChambers;    ///< number of chambers
+  static const Int_t     fgkNofGeomModules; ///< number of geometry modules
   static const Int_t     fgkNonBendingManuMask; ///< bit to set to indicate a manu located in non-bending plane
   
   ClassDef(AliMpConstants,3) //Class for globally used constants definition
@@ -52,10 +54,11 @@ class AliMpConstants : public TObject
 
 // 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;}
+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::NofChambers()     { return fgkNofChambers;}
+inline Int_t    AliMpConstants::NofGeomModules()  { return fgkNofGeomModules;}
 
 #endif //ALI_MP_CONSTANTS_H