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