]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/tracking/AliHLTTPCHoughTransformer.cxx
make hough tracking code compiling
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking / AliHLTTPCHoughTransformer.cxx
1 // @(#) $Id$
2 // origin hough/AliL3HoughBaseTransformer.cxx,v 1.16 Tue Mar 22 13:11:58 2005 UTC by cvetan 
3
4 // Author: Anders Vestbo <mailto:vestbo@fi.uib.no>
5 //*-- Copyright &copy ALICE HLT Group
6 //-------------------------------------------------------------------------
7 //          Implementation of the AliHLTTPCHoughTransformer class
8 //  that is the base class for AliHLTHoughTransformer,
9 //  AliHLTHoughTransformerVhdl, AliHLTHoughTransformerGlobal,
10 //  AliHLTHoughTransformerRow    
11 //-------------------------------------------------------------------------
12
13 #include "AliHLTTPCHoughTransformer.h"
14
15 /** \class AliHLTTPCHoughTransformer
16 <pre>
17 //_____________________________________________________________
18 // AliHLTTPCHoughTransformer
19 //
20 // The base class for implementations of Hough Transform on ALICE TPC data.
21 //
22 // This is an abstract class, and is only meant to provide the interface
23 // to the different implementations.
24 //
25 </pre>
26 */
27
28 ClassImp(AliHLTTPCHoughTransformer)
29
30 AliHLTTPCHoughTransformer::AliHLTTPCHoughTransformer()
31 {
32   //Default constructor
33   fDigitRowData = 0;
34
35   fSlice = 0;
36   fPatch = 0;
37   fLastPatch = -1;
38   fLastTransformer = 0;
39   fNEtaSegments =0;
40   fEtaMin = 0;
41   fEtaMax = 0;
42   fLowerThreshold = 0;
43   fUpperThreshold = 1023;
44   fZVertex = 0.0;
45 }
46
47 AliHLTTPCHoughTransformer::AliHLTTPCHoughTransformer(Int_t slice,Int_t patch,Int_t netasegments,Float_t zvertex)
48 {
49   //normal ctor
50   fDigitRowData = 0;
51
52   fSlice = 0;
53   fPatch = 0;
54   fLastPatch = -1;
55   fNEtaSegments =0;
56   fEtaMin = 0;
57   fEtaMax = 0;
58   fLowerThreshold = 3;
59   fUpperThreshold = 1023;
60   fZVertex = zvertex;
61
62   Init(slice,patch,netasegments);
63 }
64
65 AliHLTTPCHoughTransformer::~AliHLTTPCHoughTransformer()
66 {
67   //dtor
68 }
69
70 void AliHLTTPCHoughTransformer::Init(Int_t slice,Int_t patch,Int_t netasegments,Int_t /*n_seqs*/)
71 {
72   //Transformer init
73   fSlice = slice;
74   fPatch = patch;
75   fLastPatch = -1;
76   fNEtaSegments = netasegments;
77   fEtaMin = 0;
78   fEtaMax = fSlice < 18 ? 1. : -1.;
79 }