]>
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 | ||
c62b480b | 44 | AliL3HoughBaseTransformer::AliL3HoughBaseTransformer(Int_t slice,Int_t patch,Int_t netasegments,Float_t zvertex) |
65ca0c00 | 45 | { |
c62b480b | 46 | //normal ctor |
65ca0c00 | 47 | fDigitRowData = 0; |
e06900d5 | 48 | |
de8dd0c2 | 49 | fSlice = 0; |
50 | fPatch = 0; | |
51 | fNEtaSegments =0; | |
52 | fEtaMin = 0; | |
53 | fEtaMax = 0; | |
b2a02bce | 54 | fLowerThreshold = 3; |
55 | fUpperThreshold = 1023; | |
0bd0c1ef | 56 | fZVertex = zvertex; |
de8dd0c2 | 57 | |
c62b480b | 58 | Init(slice,patch,netasegments); |
65ca0c00 | 59 | } |
60 | ||
61 | AliL3HoughBaseTransformer::~AliL3HoughBaseTransformer() | |
62 | { | |
c62b480b | 63 | //dtor |
65ca0c00 | 64 | } |
65 | ||
c62b480b | 66 | void AliL3HoughBaseTransformer::Init(Int_t slice,Int_t patch,Int_t netasegments,Int_t /*n_seqs*/) |
c52cf5d8 | 67 | { |
c62b480b | 68 | //Transformer init |
c52cf5d8 | 69 | fSlice = slice; |
70 | fPatch = patch; | |
c62b480b | 71 | fNEtaSegments = netasegments; |
c52cf5d8 | 72 | fEtaMin = 0; |
3e87ef69 | 73 | fEtaMax = fSlice < 18 ? 1. : -1.; |
237d3f5c | 74 | } |