From 4ec77aa812c1ce255e2acf3f5fc648ba76204fff Mon Sep 17 00:00:00 2001 From: loizides Date: Fri, 15 Nov 2002 14:42:03 +0000 Subject: [PATCH] Added Kappa information. --- HLT/hough/AliL3HoughTransformerVhdl.cxx | 33 +++++++++++++++++++------ 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/HLT/hough/AliL3HoughTransformerVhdl.cxx b/HLT/hough/AliL3HoughTransformerVhdl.cxx index de7faf66e3d..02bdcb7a11f 100644 --- a/HLT/hough/AliL3HoughTransformerVhdl.cxx +++ b/HLT/hough/AliL3HoughTransformerVhdl.cxx @@ -74,7 +74,7 @@ void AliL3HoughTransformerVhdl::CreateHistograms(Int_t nxbin,Double_t xmin,Doubl fNybin=nybin; fYmin=ymin; fYmax=ymax; - // cout << fEpsilon << " - " << (xmax-xmin)/nxbin << endl; + //cout << fEpsilon << " - " << (xmax-xmin)/nxbin << endl; } void AliL3HoughTransformerVhdl::Init(Int_t slice,Int_t patch,Int_t n_eta_segments,Int_t n_its) @@ -287,13 +287,13 @@ void AliL3HoughTransformerVhdl::PrintVhdl() { cout << "fSlice := " << GetSlice() << ";" << endl; cout << "fPatch := " << GetPatch() << ";" << endl; - // cout << "fSector := " << fSector << ";" << endl; - // cout << "fSectorRow := " << fSectorRow << ";" << endl; - // cout << "fMinRow := " << fMinRow << ";" << endl; - // cout << "fMaxRow := " << fMaxRow << ";" << endl; - // cout << "fNRows := " << fNRows << ";" << endl; - // cout << "fNEtas := " << fNEtas << ";" << endl; - // cout << "fNPhi0 := " << fNPhi0 << ";" << endl; + //cout << "fSector := " << fSector << ";" << endl; + //cout << "fSectorRow := " << fSectorRow << ";" << endl; + //cout << "fMinRow := " << fMinRow << ";" << endl; + //cout << "fMaxRow := " << fMaxRow << ";" << endl; + //cout << "fNRows := " << fNRows << ";" << endl; + //cout << "fNEtas := " << fNEtas << ";" << endl; + //cout << "fNPhi0 := " << fNPhi0 << ";" << endl; cout << "fZSign := " << fZSign << ";" << endl; cout << "fZLengthPlusOff := " << fZLengthPlusOff << ";" << endl; cout << "fPadPitch := " << fPadPitch << ";" << endl; @@ -316,9 +316,20 @@ void AliL3HoughTransformerVhdl::PrintVhdl() cout << fLUTEta[fNEtas-1] << " );\n" << endl; if(!fNPhi0) return; + cout << "-- Kappa -- " << endl; cout << "fNxbin := " << fNxbin << endl; cout << "fxmin := " << fXmin << endl; cout << "fxmax := " << fXmax << endl; + Float_t kdiff=(fXmax-fXmin)/fNxbin; + Float_t k=fXmin; + cout << "fKappa := "; + for(Int_t i=0;i