Read from rootfile called digitfile.root in AliL3Hough.cxx.
authorvestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 2 Sep 2002 17:42:06 +0000 (17:42 +0000)
committervestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 2 Sep 2002 17:42:06 +0000 (17:42 +0000)
Bugfix in the rest.

HLT/hough/AliL3Hough.cxx
HLT/hough/AliL3HoughTransformerLUT.cxx
HLT/hough/AliL3HoughTransformerVhdl.cxx

index 8fe3fee..233e160 100644 (file)
@@ -148,7 +148,7 @@ void AliL3Hough::Init(Bool_t doit, Bool_t addhists)
   fDoIterative   = doit; 
   fAddHistograms = addhists;
 
-  AliL3Transform::Init(fPath);
+  AliL3Transform::Init(fPath,!fBinary);
   fNPatches = AliL3Transform::GetNPatches();
 
   fHoughTransformer = new AliL3HoughBaseTransformer*[fNPatches];
@@ -189,7 +189,7 @@ void AliL3Hough::Init(Bool_t doit, Bool_t addhists)
          if(!fBinary)
            {
              Char_t filename[100];
-             sprintf(filename,"%s/digitfile",fPath);
+             sprintf(filename,"%s/digitfile.root",fPath);
              fMemHandler[i]->SetAliInput(filename);
            }
        }
index ca28f4e..1c218e5 100644 (file)
@@ -369,7 +369,7 @@ void AliL3HoughTransformerLUT::TransformCircle()
       if(i != (Int_t)tempPt->fRow)
        {
          LOG(AliL3Log::kError,"AliL3HoughTransformerLUT::TransformCircle","Data")
-           <<"AliL3HoughTransformerLUT::TransformCircle : Mismatching padrow numbering "<<i<<" != "<<(Int_t)tempPt->fRow<<endl;
+           <<"AliL3HoughTransformerLUT::TransformCircle : Mismatching padrow numbering "<<i<<" != "<<(Int_t)tempPt->fRow<<ENDLOG;
          continue;
        }
 
@@ -413,7 +413,7 @@ void AliL3HoughTransformerLUT::TransformCircle()
            hist->Fill(kappa,fLUTphi0[b],charge);
            //cout << kappa << " " << fLUTphi0[b] << " " << charge << endl;
 
-#ifdef do_mc
+#ifdef do_mcc
            if(fDoMC)
              {
                Int_t bin = hist->FindBin(kappa,phi0);
@@ -446,7 +446,7 @@ Int_t AliL3HoughTransformerLUT::GetTrackID(Int_t eta_index,Double_t kappa,Double
       return -1;
     }
   
-#ifdef do_mc
+#ifdef do_mcc
   if(eta_index < 0 || eta_index > fNEtas)
     {
       cerr<<"AliL3HoughTransformer::GetTrackID : Wrong etaindex "<<eta_index<<endl;
index 3bb96fc..0aac048 100644 (file)
@@ -111,7 +111,7 @@ void AliL3HoughTransformerVhdl::TransformCircle()
       if(i != (Int_t)tempPt->fRow)
        {
          LOG(AliL3Log::kError,"AliL3HoughTransformerVhdl::TransformCircle","Data")
-           <<"AliL3HoughTransformerLUT::TransformCircle : Mismatching padrow numbering "<<i<<" != "<<(Int_t)tempPt->fRow<<endl;
+           <<"AliL3HoughTransformerLUT::TransformCircle : Mismatching padrow numbering "<<i<<" != "<<(Int_t)tempPt->fRow<<ENDLOG;
          continue;
        }