]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpExMapIterator.cxx
Replacement of AliMpIntPair object with algoritmic
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpExMapIterator.cxx
index 6ea13b36ed09322f0675c0cb7f056fa7fde04843..a963770ff259e4cdb1412870903ef99262d979ab 100644 (file)
 //-----------------------------------------------------------------------------
 
 #include "AliMpExMapIterator.h"
+#include "AliMpExMap.h"
 
 #include "AliLog.h"
-#include "AliMpExMap.h"
-#include "AliMpIntPair.h"
+
 #include <TClass.h>
 #include <TExMap.h>
 #include <TString.h>
@@ -135,7 +135,7 @@ AliMpExMapIterator::Next(Int_t& key)
 
 //_____________________________________________________________________________
 TObject* 
-AliMpExMapIterator::Next(AliMpIntPair& key)
+AliMpExMapIterator::Next(Int_t& keyFirst, Int_t& keySecond)
 {
 /// Return the next object in iteration and fill the key.
 /// The returned object must not be deleted by the user.  
@@ -143,7 +143,8 @@ AliMpExMapIterator::Next(AliMpIntPair& key)
   Long_t index;
   TObject* o(0x0);
   Next(index,o);
-  key = AliMpExMap::GetPair(index);
+  keyFirst = AliMpExMap::GetPairFirst(index);
+  keySecond = AliMpExMap::GetPairSecond(index);
   return o;
 }