Added debug logging in SetPointers
authorvestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 29 Nov 2001 10:24:47 +0000 (10:24 +0000)
committervestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 29 Nov 2001 10:24:47 +0000 (10:24 +0000)
HLT/src/AliL3ConfMapper.cxx

index 78e6b0fb5d50abc893ae188f08e5c815a9562d0d..cde56d354911946cad3594c102e893770b3423c6 100644 (file)
@@ -163,6 +163,7 @@ void AliL3ConfMapper::SetPointers()
   Float_t etaSlice = (fEtaMax-fEtaMin)/fNumEtaSegment;
   
   Int_t volumeIndex;
+  Int_t local_counter=0;
   for(Int_t j=0; j<fClustersUnused; j++)
     {
       
@@ -195,7 +196,8 @@ void AliL3ConfMapper::SetPointers()
          fEtaHitsOutOfRange++;
          continue;
        }
-                  
+      local_counter++;
+            
       //set volume pointers
       volumeIndex = localrow*fNumPhiEtaSegmentPlusOne+thisHit->phiIndex*fNumEtaSegmentPlusOne+thisHit->etaIndex;
       if(fVolume[volumeIndex].first == NULL)
@@ -214,6 +216,11 @@ void AliL3ConfMapper::SetPointers()
       
     }
   
+  if(fClustersUnused>0 && local_counter==0)
+    LOG(AliL3Log::kError,"AliL3ConfMapper::SetPointers","Parameters")
+      <<AliL3Log::kDec<<"No points passed to track finder, hits out of range: "
+      <<fEtaHitsOutOfRange+fPhiHitsOutOfRange<<ENDLOG;
+  
 }
 
 void AliL3ConfMapper::MainVertexTracking_a()