Little changes to make g++ version 3.2 compile the hough library.
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughBaseTransformer.cxx
1 //$Id$
2
3 // Author: Anders Vestbo <mailto:vestbo@fi.uib.no>
4 //*-- Copyright &copy ASV 
5
6 #include "AliL3StandardIncludes.h"
7
8 #include "AliL3Logging.h"
9 #include "AliL3HoughBaseTransformer.h"
10 #include "AliL3MemHandler.h"
11 #include "AliL3DigitData.h"
12 #include "AliL3Histogram.h"
13
14 //_____________________________________________________________
15 // AliL3HoughBaseTransformer
16 //
17 // The base class for implementations of Hough Transform on ALICE TPC data.
18 //
19 // This is an abstract class, and is only meant to provide the interface
20 // to the different implementations.
21
22 ClassImp(AliL3HoughBaseTransformer)
23
24 AliL3HoughBaseTransformer::AliL3HoughBaseTransformer()
25 {
26   //Default constructor
27   fDigitRowData = 0;
28   /*
29   fSlice = 0;
30   fPatch = 0;
31   fNEtaSegments =0;
32   fEtaMin = 0;
33   fEtaMax = 0;
34   fLowerThreshold = 0;
35   fUpperThreshold = 0;
36   */
37 }
38
39 AliL3HoughBaseTransformer::AliL3HoughBaseTransformer(Int_t slice,Int_t patch,Int_t n_eta_segments)
40 {
41   fDigitRowData = 0;
42
43   Init(slice,patch,n_eta_segments);
44 }
45
46 AliL3HoughBaseTransformer::~AliL3HoughBaseTransformer()
47 {
48 }
49
50 void AliL3HoughBaseTransformer::Init(Int_t slice,Int_t patch,Int_t n_eta_segments)
51 {
52   fSlice = slice;
53   fPatch = patch;
54   fNEtaSegments = n_eta_segments;
55   fEtaMin = 0;
56   fEtaMax = fSlice < 18 ? 0.9 : -0.9;
57   fLowerThreshold = 3;
58   fUpperThreshold = 1023;
59 }