]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/MUON/OnlineAnalysis/AliHLTMUONHitReconstructorComponent.cxx
Replacement of AliMpIntPair object with algoritmic
[u/mrichter/AliRoot.git] / HLT / MUON / OnlineAnalysis / AliHLTMUONHitReconstructorComponent.cxx
index d4f87f8fe3ae40fbc6197afc0f10672b5f917b6c..99d480de71fbfc6b813f45486220818766b7c1bb 100644 (file)
@@ -962,19 +962,19 @@ int AliHLTMUONHitReconstructorComponent::ReadLutFromCDB()
                                for (Int_t iX = 0; iX<= maxIX ; iX++)
                                for (Int_t iY = 0; iY<= maxIY ; iY++)
                                {
-                                       if (not seg->HasPad(AliMpIntPair(iX,iY))) continue;
+                                       if (not seg->HasPadByIndices(iX,iY)) continue;
 
-                                       AliMpPad pad = seg->PadByIndices(AliMpIntPair(iX,iY), kFALSE);
+                                       AliMpPad pad = seg->PadByIndices(iX,iY, kFALSE);
                                        
                                        // Getting Manu id
-                                       manuId = pad.GetLocation().GetFirst();
+                                       manuId = pad.GetManuId();
                                        manuId &= 0x7FF; // 11 bits 
                                        if(!calibData.Pedestals(detElemId, manuId)) continue;
                        
                                        buspatchId = ddlStore->GetBusPatchId(detElemId,manuId);
                                        
                                        // Getting channel id
-                                       channelId =  pad.GetLocation().GetSecond();
+                                       channelId =  pad.GetManuChannel();
                                        channelId &= 0x3F; // 6 bits
                                        
                                        idManuChannel = buspatchId << 11;