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