]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPreClusterFinderV2.cxx
adding the libAliHLTTPC.so to the dependencies of the libAliHLTITS.so
[u/mrichter/AliRoot.git] / MUON / AliMUONPreClusterFinderV2.cxx
index 873b4ec0a65907cd5b69ab3c589ee9ee2482ef39..143373c46b15f46c44b528b949b16b7a720f5500 100644 (file)
@@ -20,6 +20,7 @@
 #include "AliLog.h"
 #include "AliMUONCluster.h"
 #include "AliMpVSegmentation.h"
+#include "AliMpPad.h"
 #include "TClonesArray.h"
 #include "TVector2.h"
 #include "AliMUONPad.h"
@@ -120,7 +121,7 @@ AliMUONPreClusterFinderV2::AddPad(AliMUONCluster& cluster, AliMUONPad* pad)
   
   // Check neighbours
   TObjArray neighbours;
-  AliMpPad p = fkSegmentations[pad->Cathode()]->PadByIndices(AliMpIntPair(pad->Ix(),pad->Iy()),kTRUE);
+  AliMpPad p = fkSegmentations[pad->Cathode()]->PadByIndices(pad->Ix(),pad->Iy(),kTRUE);
   Int_t nn = fkSegmentations[pad->Cathode()]->GetNeighbours(p,neighbours);
   for (Int_t in = 0; in < nn; ++in) 
   {
@@ -131,8 +132,8 @@ AliMUONPreClusterFinderV2::AddPad(AliMUONCluster& cluster, AliMUONPad* pad)
     
     while ( ( p2 = static_cast<AliMUONPad*>(next2()) ) )
     {
-        if ( !p2->IsUsed() && p2->Ix()==p1->GetIndices().GetFirst() 
-             && p2->Iy() == p1->GetIndices().GetSecond() &&
+        if ( !p2->IsUsed() && p2->Ix()==p1->GetIx() 
+             && p2->Iy() == p1->GetIy() &&
              p2->Cathode() == pad->Cathode() )
         {
           AddPad(cluster,p2);