Some minor changes in AliL3Hough
authorvestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 25 May 2002 10:03:22 +0000 (10:03 +0000)
committervestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 25 May 2002 10:03:22 +0000 (10:03 +0000)
HLT/exa/houghtest.C

index c633e9cc664461de1a6e3ac15be9b3dc5b0e158f..1b6e0610afcadc111b0930bdb51e422206151bc7 100644 (file)
@@ -2,12 +2,14 @@ void houghtest(Int_t slice,Char_t *path,Int_t n_eta_segments)
 {
   
 
-  hough = new AliL3Hough(path,kTRUE,n_eta_segments);
-  hough->ReadData(slice);
+  hough = new AliL3Hough();
+  hough->Init(path,kTRUE,n_eta_segments,kTRUE);
   
+  hough->ReadData(slice);
+
   hough->Transform();
-  
-  hough->SetPeakThreshold(1000);
+
+  hough->SetPeakThreshold(1);
   hough->AddAllHistograms();
   hough->FindTrackCandidates();
   
@@ -54,8 +56,8 @@ void display(AliL3Hough *hough,Int_t eta_index)
   
   //Draw the parameter space
   c1 = new TCanvas("c1","",2);
-  hough->GetTransformer(0)->GetHistogram(eta_index)->Draw("box");
-  
+  hough->GetTransformer(0)->GetHistogram(eta_index)->Draw("lego");
+  return;
   //Draw the tracks
   c2 = new TCanvas("c2","",2);
   digitd->Draw();