]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/hough/AliL3HoughBaseTransformer.cxx
Merged Bergen, mergen Cvetan TransformerRow and
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughBaseTransformer.cxx
index dc7fd05e11ad4859f61c7fa0d7c7581b870f84a0..aa43fbe0838c7bd0d53ab2a4b98d42a26d7e3c70 100644 (file)
@@ -1,15 +1,18 @@
-//$Id$
+// @(#) $Id$
 
 // Author: Anders Vestbo <mailto:vestbo@fi.uib.no>
-//*-- Copyright &copy ASV 
+//*-- Copyright &copy ALICE HLT Group
+
+#include "AliL3StandardIncludes.h"
 
-#include "AliL3MemHandler.h"
 #include "AliL3Logging.h"
-#include "AliL3HoughBaseTransformer.h"
-#include "AliL3Defs.h"
+#include "AliL3MemHandler.h"
 #include "AliL3DigitData.h"
 #include "AliL3Histogram.h"
+#include "AliL3HoughBaseTransformer.h"
 
+/** \class AliL3HoughBaseTransformer
+<pre>
 //_____________________________________________________________
 // AliL3HoughBaseTransformer
 //
@@ -17,6 +20,9 @@
 //
 // This is an abstract class, and is only meant to provide the interface
 // to the different implementations.
+//
+</pre>
+*/
 
 ClassImp(AliL3HoughBaseTransformer)
 
@@ -24,20 +30,42 @@ AliL3HoughBaseTransformer::AliL3HoughBaseTransformer()
 {
   //Default constructor
   fDigitRowData = 0;
+
+  fSlice = 0;
+  fPatch = 0;
+  fNEtaSegments =0;
+  fEtaMin = 0;
+  fEtaMax = 0;
+  fLowerThreshold = 0;
+  fUpperThreshold = 1023;
+  fZVertex = 0.0;
 }
 
-AliL3HoughBaseTransformer::AliL3HoughBaseTransformer(Int_t slice,Int_t patch,Int_t n_eta_segments)
+AliL3HoughBaseTransformer::AliL3HoughBaseTransformer(Int_t slice,Int_t patch,Int_t n_eta_segments,Float_t zvertex)
 {
-  fSlice = slice;
-  fPatch = patch;
-  fNEtaSegments = n_eta_segments;
-  fEtaMin = 0;
-  fEtaMax = fSlice < 18 ? 0.9 : -0.9;
-  fThreshold = 0;
   fDigitRowData = 0;
+
+  fSlice = 0;
+  fPatch = 0;
+  fNEtaSegments =0;
+  fEtaMin = 0;
+  fEtaMax = 0;
+  fLowerThreshold = 3;
+  fUpperThreshold = 1023;
+  fZVertex = zvertex;
+
+  Init(slice,patch,n_eta_segments);
 }
 
 AliL3HoughBaseTransformer::~AliL3HoughBaseTransformer()
 {
+}
 
+void AliL3HoughBaseTransformer::Init(Int_t slice,Int_t patch,Int_t n_eta_segments,Int_t /*n_seqs*/)
+{
+  fSlice = slice;
+  fPatch = patch;
+  fNEtaSegments = n_eta_segments;
+  fEtaMin = 0;
+  fEtaMax = fSlice < 18 ? 1. : -1.;
 }