]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/hough/AliL3HoughBaseTransformer.cxx
-Added protected copy constructors and assignment operators. -Public data members...
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughBaseTransformer.cxx
1 // @(#) $Id$
2
3 // Author: Anders Vestbo <mailto:vestbo@fi.uib.no>
4 //*-- Copyright &copy ALICE HLT Group
5
6 #include "AliL3StandardIncludes.h"
7
8 #include "AliL3Logging.h"
9 #include "AliL3MemHandler.h"
10 #include "AliL3DigitData.h"
11 #include "AliL3Histogram.h"
12 #include "AliL3HoughBaseTransformer.h"
13
14 /** \class AliL3HoughBaseTransformer
15 <pre>
16 //_____________________________________________________________
17 // AliL3HoughBaseTransformer
18 //
19 // The base class for implementations of Hough Transform on ALICE TPC data.
20 //
21 // This is an abstract class, and is only meant to provide the interface
22 // to the different implementations.
23 //
24 </pre>
25 */
26
27 ClassImp(AliL3HoughBaseTransformer)
28
29 AliL3HoughBaseTransformer::AliL3HoughBaseTransformer()
30 {
31   //Default constructor
32   fDigitRowData = 0;
33
34   fSlice = 0;
35   fPatch = 0;
36   fNEtaSegments =0;
37   fEtaMin = 0;
38   fEtaMax = 0;
39   fLowerThreshold = 0;
40   fUpperThreshold = 1023;
41   fZVertex = 0.0;
42 }
43
44 AliL3HoughBaseTransformer::AliL3HoughBaseTransformer(Int_t slice,Int_t patch,Int_t n_eta_segments,Float_t zvertex)
45 {
46   fDigitRowData = 0;
47
48   fSlice = 0;
49   fPatch = 0;
50   fNEtaSegments =0;
51   fEtaMin = 0;
52   fEtaMax = 0;
53   fLowerThreshold = 3;
54   fUpperThreshold = 1023;
55   fZVertex = zvertex;
56
57   Init(slice,patch,n_eta_segments);
58 }
59
60 AliL3HoughBaseTransformer::~AliL3HoughBaseTransformer()
61 {
62 }
63
64 void AliL3HoughBaseTransformer::Init(Int_t slice,Int_t patch,Int_t n_eta_segments,Int_t /*n_seqs*/)
65 {
66   fSlice = slice;
67   fPatch = patch;
68   fNEtaSegments = n_eta_segments;
69   fEtaMin = 0;
70   fEtaMax = fSlice < 18 ? 1. : -1.;
71 }