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 919177eb2f266748a2cf1f08e133c07dece259e9..3218a87c702235339a976fc5e3e57959addfc81e 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;
              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;
              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;
                  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;
                  Int_t pixel_index = (Int_t)(eta/etaslice);
                  if(pixel_index > track->GetEtaIndex()+1) continue;
                  if(pixel_index < track->GetEtaIndex()-1) break;
index a20992db22009ed123e40e21267f9f9eb5300885..e05273e9b78991186ad1f8dadbd1163590c33e18 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)
     {
 {
   if(!fDoMC)
     {