]>
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 | //------------------------------------------------------------------------- |
4aa41877 | 6 | // Implementation of the AliHLTHoughBaseTransformer class |
7 | // that is the base class for AliHLTHoughTransformer, | |
8 | // AliHLTHoughTransformerVhdl, AliHLTHoughTransformerGlobal, | |
9 | // AliHLTHoughTransformerRow | |
fc79823f | 10 | //------------------------------------------------------------------------- |
c52cf5d8 | 11 | |
4aa41877 | 12 | #include "AliHLTStandardIncludes.h" |
e06900d5 | 13 | |
4aa41877 | 14 | #include "AliHLTHoughBaseTransformer.h" |
c52cf5d8 | 15 | |
4aa41877 | 16 | /** \class AliHLTHoughBaseTransformer |
0bd0c1ef | 17 | <pre> |
c52cf5d8 | 18 | //_____________________________________________________________ |
4aa41877 | 19 | // AliHLTHoughBaseTransformer |
c52cf5d8 | 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 | |
4aa41877 | 29 | ClassImp(AliHLTHoughBaseTransformer) |
c52cf5d8 | 30 | |
4aa41877 | 31 | AliHLTHoughBaseTransformer::AliHLTHoughBaseTransformer() |
c52cf5d8 | 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 | ||
4aa41877 | 48 | AliHLTHoughBaseTransformer::AliHLTHoughBaseTransformer(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 | ||
4aa41877 | 66 | AliHLTHoughBaseTransformer::~AliHLTHoughBaseTransformer() |
65ca0c00 | 67 | { |
c62b480b | 68 | //dtor |
65ca0c00 | 69 | } |
70 | ||
4aa41877 | 71 | void AliHLTHoughBaseTransformer::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 | } |