Fixing a bug, spotted by Sasha), in Neighbours method (the iteration region
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 10 Feb 2006 16:41:45 +0000 (16:41 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 10 Feb 2006 16:41:45 +0000 (16:41 +0000)
was too big).
(Laurent)

MUON/AliMUONSt345SlatSegmentationV2.cxx

index aff04f6be3509d2ddeaaf8c5448ac88a7a1e3229..f5712ffc11dfed158e4c1d6d2fa01bde058382ce 100644 (file)
@@ -419,9 +419,9 @@ AliMUONSt345SlatSegmentationV2::Neighbours(Int_t iX, Int_t iY, Int_t* Nlist,
        fSlatSegmentation->PadByIndices(AliMpIntPair(iX-fgIntOffset,iY-fgIntOffset),kTRUE);
        
   // Define the region to look into : a region slightly bigger
-  // than the pad itself (10% bigger), in order to catch first neighbours.
-//  AliMpArea area(pad.Position()+fSlat->Dimensions(),pad.Dimensions()*2.1); 
-  AliMpArea area(pad.Position(),pad.Dimensions()*2.1); 
+  // than the pad itself (5% bigger), in order to catch first neighbours.
+
+  AliMpArea area(pad.Position(),pad.Dimensions()*1.05); 
                
   AliMpVPadIterator* it = fSlatSegmentation->CreateIterator(area);
   it->First();