]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/macros/testSt12ExistingPads.C
Replacement of AliMpIntPair object with algoritmic
[u/mrichter/AliRoot.git] / MUON / mapping / macros / testSt12ExistingPads.C
index 54b148ae1ec3443c40e103dfc36ee39355f99655..cbaceff042394774178112072b4fc3ff79b1ebf7 100644 (file)
@@ -71,8 +71,7 @@ void testExistingPads(AliMq::Station12Type station,AliMp::PlaneType plane)
   for (Int_t i=0; i<maxPadIndexX+1;i++){
     for (Int_t j=0;j<maxPadIndexY+1;++j){
 
-      AliMpIntPair indices(i,j);
-      if (segmentation->HasPad(indices)) histo->Fill(i,j);
+      if ( segmentation->HasPadByIndices(i,j) ) histo->Fill(i,j);
     }
   }
 
@@ -90,8 +89,7 @@ void testExistingPads(AliMq::Station12Type station,AliMp::PlaneType plane)
   for (Int_t i=0; i<maxPadIndexX+1;i++){
     for (Int_t j=0;j<maxPadIndexY+1;++j){
 
-      AliMpIntPair indices(i,j);
-      if (fast->HasPad(indices)) histo2->Fill(i,j);
+      if ( fast->HasPadByIndices(i,j) ) histo2->Fill(i,j);
     }
   }