Rewriting and cleaning up
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughEval.cxx
index 8982be469528422dd1873d51277b1db309a0de00..4d50d2ed21ba9f33a6fece2db3f9f04a429ab3b5 100644 (file)
@@ -13,12 +13,12 @@ ClassImp(AliL3HoughEval)
 
 AliL3HoughEval::AliL3HoughEval()
 {
-
+    
 }
 
 AliL3HoughEval::AliL3HoughEval(AliL3HoughTransformer *transformer)
 {
-
+  
   fHoughTransformer = transformer;
   fTransform = new AliL3Transform();
   
@@ -56,7 +56,7 @@ void AliL3HoughEval::GenerateLUT()
     {
       Int_t prow = i - NRows[fPatch][0];
       fRowPointers[prow] = tempPt;
-      tempPt = fHoughTransformer->UpdateDataPointer(tempPt);
+      fHoughTransformer->UpdateDataPointer(tempPt);
     }
   
 }
@@ -161,6 +161,7 @@ void AliL3HoughEval::DisplayEtaSlice(Int_t eta_index,AliL3Histogram *hist)
          UChar_t pad = digPt[j].fPad;
          UChar_t charge = digPt[j].fCharge;
          UShort_t time = digPt[j].fTime;
+         if(charge < fHoughTransformer->GetThreshold()) continue;
          Float_t xyz[3];
          Int_t sector,row;
          fTransform->Slice2Sector(fSlice,padrow,sector,row);