]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/hough/AliL3HoughBaseTransformer.cxx
Added support for NEWIO, merged cern-hlt tree, updated to latest track candidate...
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughBaseTransformer.cxx
CommitLineData
3e87ef69 1// @(#) $Id$
c52cf5d8 2
3// Author: Anders Vestbo <mailto:vestbo@fi.uib.no>
3e87ef69 4//*-- Copyright &copy ALICE HLT Group
c52cf5d8 5
e06900d5 6#include "AliL3StandardIncludes.h"
7
c52cf5d8 8#include "AliL3Logging.h"
9#include "AliL3HoughBaseTransformer.h"
e06900d5 10#include "AliL3MemHandler.h"
c52cf5d8 11#include "AliL3DigitData.h"
12#include "AliL3Histogram.h"
13
3e87ef69 14
c52cf5d8 15//_____________________________________________________________
16// AliL3HoughBaseTransformer
17//
18// The base class for implementations of Hough Transform on ALICE TPC data.
237d3f5c 19//
20// This is an abstract class, and is only meant to provide the interface
21// to the different implementations.
c52cf5d8 22
23ClassImp(AliL3HoughBaseTransformer)
24
25AliL3HoughBaseTransformer::AliL3HoughBaseTransformer()
26{
27 //Default constructor
c52cf5d8 28 fDigitRowData = 0;
de8dd0c2 29
65ca0c00 30 fSlice = 0;
31 fPatch = 0;
32 fNEtaSegments =0;
33 fEtaMin = 0;
34 fEtaMax = 0;
35 fLowerThreshold = 0;
b2a02bce 36 fUpperThreshold = 1023;
c52cf5d8 37}
38
39AliL3HoughBaseTransformer::AliL3HoughBaseTransformer(Int_t slice,Int_t patch,Int_t n_eta_segments)
65ca0c00 40{
41 fDigitRowData = 0;
e06900d5 42
de8dd0c2 43 fSlice = 0;
44 fPatch = 0;
45 fNEtaSegments =0;
46 fEtaMin = 0;
47 fEtaMax = 0;
b2a02bce 48 fLowerThreshold = 3;
49 fUpperThreshold = 1023;
de8dd0c2 50
65ca0c00 51 Init(slice,patch,n_eta_segments);
52}
53
54AliL3HoughBaseTransformer::~AliL3HoughBaseTransformer()
55{
56}
57
3e87ef69 58void AliL3HoughBaseTransformer::Init(Int_t slice,Int_t patch,Int_t n_eta_segments,Int_t n_seqs)
c52cf5d8 59{
60 fSlice = slice;
61 fPatch = patch;
62 fNEtaSegments = n_eta_segments;
63 fEtaMin = 0;
3e87ef69 64 fEtaMax = fSlice < 18 ? 1. : -1.;
237d3f5c 65}