]>
Commit | Line | Data |
---|---|---|
1 | //$Id$ | |
2 | ||
3 | // Author: Anders Vestbo <mailto:vestbo@fi.uib.no> | |
4 | //*-- Copyright © ASV | |
5 | ||
6 | #include "AliL3MemHandler.h" | |
7 | #include "AliL3Logging.h" | |
8 | #include "AliL3HoughBaseTransformer.h" | |
9 | #include "AliL3Defs.h" | |
10 | #include "AliL3Transform.h" | |
11 | #include "AliL3DigitData.h" | |
12 | #include "AliL3Histogram.h" | |
13 | ||
14 | //_____________________________________________________________ | |
15 | // AliL3HoughBaseTransformer | |
16 | // | |
17 | // The base class for implementations of Hough Transform on ALICE TPC data. | |
18 | ||
19 | ClassImp(AliL3HoughBaseTransformer) | |
20 | ||
21 | AliL3HoughBaseTransformer::AliL3HoughBaseTransformer() | |
22 | { | |
23 | //Default constructor | |
24 | fTransform = 0; | |
25 | fDigitRowData = 0; | |
26 | ||
27 | } | |
28 | ||
29 | AliL3HoughBaseTransformer::AliL3HoughBaseTransformer(Int_t slice,Int_t patch,Int_t n_eta_segments) | |
30 | { | |
31 | fSlice = slice; | |
32 | fPatch = patch; | |
33 | fNEtaSegments = n_eta_segments; | |
34 | fEtaMin = 0; | |
35 | fEtaMax = fSlice < 18 ? 0.9 : -0.9; | |
36 | fTransform = new AliL3Transform(); | |
37 | fThreshold = 0; | |
38 | fDigitRowData=0; | |
39 | } | |
40 | ||
41 | AliL3HoughBaseTransformer::~AliL3HoughBaseTransformer() | |
42 | { | |
43 | if(fTransform) | |
44 | delete fTransform; | |
45 | } | |
46 |