Fill charge as default
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughTransformerLUT.cxx
index ed5cc5a51ef916285617abe7ba8f71ad52ed9722..a20992db22009ed123e40e21267f9f9eb5300885 100644 (file)
@@ -48,7 +48,7 @@ AliL3HoughTransformerLUT::AliL3HoughTransformerLUT() : AliL3HoughBaseTransformer
   fLUT2sinphi0=0;
   fLUT2cosphi0=0;
   fLUTKappa=0;
-
+  
   fLastPad=0;
   fLastIndex=0;
 }
@@ -459,8 +459,8 @@ void AliL3HoughTransformerLUT::TransformCircle()
 
          //Fill the histogram along the phirange
          for(Int_t b=0; b<fNPhi0; b++){
-           //hist->Fill(fLUTKappa[b],fLUTphi0[b],charge);
-           hist->Fill(fLUTKappa[b],fLUTphi0[b],1);
+           hist->Fill(fLUTKappa[b],fLUTphi0[b],charge);
+           //hist->Fill(fLUTKappa[b],fLUTphi0[b],1);
            //cout << kappa << " " << fLUTphi0[b] << " " << charge << endl;
 
 #ifdef do_mcc
@@ -493,7 +493,7 @@ void AliL3HoughTransformerLUT::TransformCircle()
     }
 }
 
-Int_t AliL3HoughTransformerLUT::GetTrackID(Int_t eta_index,Double_t kappa,Double_t psi)
+Int_t AliL3HoughTransformerLUT::GetTrackID(Int_t eta_index,Double_t kappa,Double_t psi,Int_t &nhits)
 {
   if(!fDoMC)
     {