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