]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/macros/testExistingPads2.C
- All mapping enums within namespace (AliMp).
[u/mrichter/AliRoot.git] / MUON / mapping / macros / testExistingPads2.C
index 0bb2454f4497dd9441855c26a8e431214594e849..6ecdd471ce7df4992198120d2640e38b0a211b5c 100644 (file)
@@ -9,8 +9,8 @@
 
 #include <iomanip>
 
-void testExistingPads2(AliMpStationType station = kStation1,
-                       AliMpPlaneType plane = kBendingPlane) 
+void testExistingPads2(AliMp::StationType station = AliMp::kStation1,
+                       AliMp::PlaneType plane = AliMp::kBendingPlane) 
 {
   AliMpSectorReader r(station, plane);
   AliMpSector* sector = r.BuildSector();
@@ -22,7 +22,7 @@ void testExistingPads2(AliMpStationType station = kStation1,
   // First loop over indices
   cout << "Iterating via indices ..." << endl;
   Int_t counter1 = 0;
-  if ( sector->GetDirection() == kX )
+  if ( sector->GetDirection() == AliMp::kX )
     for (Int_t i=1; i<segmentation.MaxPadIndexX()+1; i++) {
       for (Int_t j=1; j<segmentation.MaxPadIndexY()+1; j++) {
         AliMpIntPair indices(i,j);
@@ -32,7 +32,7 @@ void testExistingPads2(AliMpStationType station = kStation1,
       }
     }
 
-  if ( sector->GetDirection() == kY )
+  if ( sector->GetDirection() == AliMp::kY )
     for (Int_t j=1; j<segmentation.MaxPadIndexY()+1; j++) {
       for (Int_t i=1; i<segmentation.MaxPadIndexX()+1; i++) {
         AliMpIntPair indices(i,j);