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