]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Adding NofCathodes() method.
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 4 Jul 2007 14:25:09 +0000 (14:25 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 4 Jul 2007 14:25:09 +0000 (14:25 +0000)
MUON/mapping/AliMpConstants.cxx
MUON/mapping/AliMpConstants.h

index 76bf1b23aaf4f288767767bf5ed09ab7e1b8053a..41a14ae7e22d3f10089c9498cc3d58070073bba4 100755 (executable)
@@ -36,6 +36,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::fgkNofCathodes = 2;
 const Int_t    AliMpConstants::fgkNofChambers = 14;
 const Int_t    AliMpConstants::fgkNofTrackingChambers = 10;
 const Int_t    AliMpConstants::fgkNofGeomModules = 20;
index a63e0be1f8236b0c1d2616af8fe26e5e8cb447b3..1add9e71faf48cc0c0611d60ef1e366f79d18fd5 100755 (executable)
@@ -32,6 +32,7 @@ class AliMpConstants : public TObject
   static Double_t LengthTolerance();
   static Double_t LengthStep();
   static Int_t    StartPadIndex();
+  static Int_t    NofCathodes();
   static Int_t    NofChambers();
   static Int_t    NofTrackingChambers();
   static Int_t    NofTriggerChambers();
@@ -50,6 +51,7 @@ 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     fgkNofCathodes;    ///< number of cathodes
   static const Int_t     fgkNofChambers;    ///< number of chambers
   static const Int_t     fgkNofTrackingChambers; ///< number of tracking chambers
   static const Int_t     fgkNofGeomModules; ///< number of geometry modules
@@ -69,6 +71,8 @@ inline Double_t AliMpConstants::LengthTolerance() { return fgkLengthTolerance;}
 inline Double_t AliMpConstants::LengthStep()      { return fgkLengthStep;}
                 /// Return global pad indices start value
 inline Int_t    AliMpConstants::StartPadIndex()   { return fgkStartPadIndex;}
+                /// Return number of cathodes
+inline Int_t    AliMpConstants::NofCathodes()     { return fgkNofCathodes;}
                 /// Return number of chambers
 inline Int_t    AliMpConstants::NofChambers()     { return fgkNofChambers;}
                 /// Return number of tracking chambers