]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/macros/testSt12AllIndices.C
Replacement of AliMpIntPair object with algoritmic
[u/mrichter/AliRoot.git] / MUON / mapping / macros / testSt12AllIndices.C
index 27e1be0d5361b7727506fbd8c64309e1084ed641..f33701a89d1e5929c0df45eb97b84b3aa27abd12 100644 (file)
@@ -91,10 +91,9 @@ void testAllIndices(AliMq::Station12Type station, AliMp::PlaneType plane)
         for ( Int_t gassNum=0; gassNum<64; gassNum++ ) {
           if (motifPos->GetMotif()->GetMotifType()->FindConnectionByGassiNum(gassNum)){
           
-            AliMpPad pad = segmentation.PadByLocation(AliMpIntPair(motifPos->GetID(),gassNum));
+            AliMpPad pad = segmentation.PadByLocation(motifPos->GetID(),gassNum);
             if (pad != AliMpPad::Invalid()) {
-              histo->Fill(pad.GetIndices().GetFirst(),
-                          pad.GetIndices().GetSecond());
+              histo->Fill(pad.GetIx(), pad.GetIy());
               histo2->Fill(pad.Position().X(),
                            pad.Position().Y());
             }