]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/macros/testDE.C
Replacement of TVector2 object with two doubles
[u/mrichter/AliRoot.git] / MUON / mapping / macros / testDE.C
index f47e05d27fcbb770711f1448665d4049c2a4aabe..b08352e5077ef3f8cfbed59951cfb2c26304779e 100644 (file)
@@ -33,9 +33,9 @@ void testDE()
    cout << "   number of pads: " << kSegmentation->NofPads() << endl;   
       
     // Find pad by indices in this DE
-    AliMpIntPair indices(kSegmentation->MaxPadIndexX()/2 , 
-                         kSegmentation->MaxPadIndexY()/2);
-    AliMpPad pad = kSegmentation->PadByIndices(indices, false);
+    Int_t ix = kSegmentation->MaxPadIndexX()/2;
+    Int_t iy = kSegmentation->MaxPadIndexY()/2;
+    AliMpPad pad = kSegmentation->PadByIndices(ix, iy, false);
     
     cout << "   found pad: " << pad << endl << endl;
   }