Minor bugfix
authorvestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 16 Jan 2003 12:00:30 +0000 (12:00 +0000)
committervestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 16 Jan 2003 12:00:30 +0000 (12:00 +0000)
HLT/hough/AliL3HoughEval.cxx
HLT/hough/AliL3HoughTransformerLUT.cxx

index 919177e..3218a87 100644 (file)
@@ -131,7 +131,7 @@ Bool_t AliL3HoughEval::LookInsideRoad(AliL3HoughTrack *track,Int_t &nrows_crosse
              if(pad < p) continue;
              if(pad > p) break;
              UShort_t time = digPt[j].fTime;
-             Double_t eta = AliL3Transform::GetEta(padrow,pad,time);
+             Double_t eta = AliL3Transform::GetEta(fSlice,padrow,pad,time);
              Int_t pixel_index = fHoughTransformer->GetEtaIndex(eta);
              if(pixel_index != track->GetEtaIndex()) continue;
              total_charge += digPt[j].fCharge;
@@ -218,7 +218,7 @@ void AliL3HoughEval::FindEta(AliL3TrackArray *tracks)
                  if(pad < p) continue;
                  if(pad > p) break;
                  UShort_t time = digPt[j].fTime;
-                 Double_t eta = AliL3Transform::GetEta(padrow,pad,time);
+                 Double_t eta = AliL3Transform::GetEta(fSlice,padrow,pad,time);
                  Int_t pixel_index = (Int_t)(eta/etaslice);
                  if(pixel_index > track->GetEtaIndex()+1) continue;
                  if(pixel_index < track->GetEtaIndex()-1) break;
index a20992d..e05273e 100644 (file)
@@ -493,7 +493,7 @@ void AliL3HoughTransformerLUT::TransformCircle()
     }
 }
 
-Int_t AliL3HoughTransformerLUT::GetTrackID(Int_t eta_index,Double_t kappa,Double_t psi,Int_t &nhits)
+Int_t AliL3HoughTransformerLUT::GetTrackID(Int_t eta_index,Double_t kappa,Double_t psi)
 {
   if(!fDoMC)
     {