git://git.uio.no
/
u
/
mrichter
/
AliRoot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added virtual function Init for setting the slice, patch and n_eta_seg information...
[u/mrichter/AliRoot.git]
/
HLT
/
hough
/
AliL3HoughBaseTransformer.cxx
diff --git
a/HLT/hough/AliL3HoughBaseTransformer.cxx
b/HLT/hough/AliL3HoughBaseTransformer.cxx
index d67deec35105f5817f9b7d6dea3a2c6d350dbef6..0321e062b047ced72dca78d49fbe3d039796ce91 100644
(file)
--- a/
HLT/hough/AliL3HoughBaseTransformer.cxx
+++ b/
HLT/hough/AliL3HoughBaseTransformer.cxx
@@
-23,9
+23,27
@@
AliL3HoughBaseTransformer::AliL3HoughBaseTransformer()
{
//Default constructor
fDigitRowData = 0;
{
//Default constructor
fDigitRowData = 0;
+
+ fSlice = 0;
+ fPatch = 0;
+ fNEtaSegments =0;
+ fEtaMin = 0;
+ fEtaMax = 0;
+ fLowerThreshold = 0;
+ fUpperThreshold = 0;
}
AliL3HoughBaseTransformer::AliL3HoughBaseTransformer(Int_t slice,Int_t patch,Int_t n_eta_segments)
}
AliL3HoughBaseTransformer::AliL3HoughBaseTransformer(Int_t slice,Int_t patch,Int_t n_eta_segments)
+{
+ fDigitRowData = 0;
+ Init(slice,patch,n_eta_segments);
+}
+
+AliL3HoughBaseTransformer::~AliL3HoughBaseTransformer()
+{
+}
+
+void AliL3HoughBaseTransformer::Init(Int_t slice=0,Int_t patch=0,Int_t n_eta_segments=100)
{
fSlice = slice;
fPatch = patch;
{
fSlice = slice;
fPatch = patch;
@@
-34,10
+52,4
@@
AliL3HoughBaseTransformer::AliL3HoughBaseTransformer(Int_t slice,Int_t patch,Int
fEtaMax = fSlice < 18 ? 0.9 : -0.9;
fLowerThreshold = 3;
fUpperThreshold = 1023;
fEtaMax = fSlice < 18 ? 0.9 : -0.9;
fLowerThreshold = 3;
fUpperThreshold = 1023;
- fDigitRowData = 0;
-}
-
-AliL3HoughBaseTransformer::~AliL3HoughBaseTransformer()
-{
-
}
}