]>
Commit | Line | Data |
---|---|---|
669ce3c3 | 1 | /************************************************************************** |
2 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
3 | * * | |
4 | * Author: The ALICE Off-line Project. * | |
5 | * Contributors are mentioned in the code where appropriate. * | |
6 | * * | |
7 | * Permission to use, copy, modify and distribute this software and its * | |
8 | * documentation strictly for non-commercial purposes is hereby granted * | |
9 | * without fee, provided that the above copyright notice appears in all * | |
10 | * copies and that both the copyright notice and this permission notice * | |
11 | * appear in the supporting documentation. The authors make no claims * | |
12 | * about the suitability of this software for any purpose. It is * | |
13 | * provided "as is" without express or implied warranty. * | |
14 | **************************************************************************/ | |
15 | ||
16 | ||
17 | /////////////////////////////////////////////////////////////////////////////// | |
18 | // // | |
19 | // Class with TPC reconstruction parameters // | |
20 | // // | |
21 | // // | |
22 | /////////////////////////////////////////////////////////////////////////////// | |
23 | ||
24 | ||
25 | #include "AliTPCRecoParam.h" | |
26 | ||
27 | ClassImp(AliTPCRecoParam) | |
28 | ||
29 | ||
30 | ||
31 | ||
32 | //_____________________________________________________________________________ | |
33 | AliTPCRecoParam::AliTPCRecoParam(): | |
34 | fCtgRange(1.05), | |
35 | fMaxSnpTracker(0.95), | |
36 | fMaxSnpTrack(0.999), | |
657452bc | 37 | fBYMirror(kTRUE), |
669ce3c3 | 38 | fFirstBin(0), |
39 | fLastBin(-1), | |
40 | fBCalcPedestal(kFALSE), | |
41 | fBDoUnfold(kTRUE), | |
42 | fDumpAmplitudeMin(100), | |
837809ab | 43 | fMaxNoise(2.), |
940ed1f0 | 44 | fMinMaxCutAbs(5.), |
45 | fMinLeftRightCutAbs(9.), | |
46 | fMinUpDownCutAbs(10.), | |
47 | fMinMaxCutSigma(4.), | |
48 | fMinLeftRightCutSigma(7.), | |
49 | fMinUpDownCutSigma(8.), | |
b9cc16e4 | 50 | fMaxC(0.3), |
51 | fBSpecialSeeding(kFALSE), | |
7d27c1df | 52 | fBKinkFinder(kTRUE), |
53 | fLastSeedRowSec(120) | |
669ce3c3 | 54 | { |
55 | // | |
56 | // constructor | |
57 | // | |
58 | } | |
59 | ||
60 | //_____________________________________________________________________________ | |
61 | AliTPCRecoParam::~AliTPCRecoParam() | |
62 | { | |
63 | // | |
64 | // destructor | |
65 | // | |
66 | } | |
67 | ||
68 | ||
69 | ||
70 | ||
71 | AliTPCRecoParam *AliTPCRecoParam::GetLowFluxParam(){ | |
72 | // | |
73 | // make default reconstruction parameters for low flux env. | |
74 | // | |
75 | AliTPCRecoParam *param = new AliTPCRecoParam; | |
76 | param->fCtgRange = 10; | |
77 | param->fFirstBin = 0; | |
78 | param->fLastBin = 1000; | |
79 | return param; | |
80 | } | |
81 | ||
82 | AliTPCRecoParam *AliTPCRecoParam::GetHighFluxParam(){ | |
83 | // | |
84 | // make reco parameters for high flux env. | |
85 | // | |
86 | AliTPCRecoParam *param = new AliTPCRecoParam; | |
87 | param->fCtgRange = 1.05; | |
88 | param->fFirstBin = 0; | |
89 | param->fLastBin = 1000; | |
90 | return param; | |
91 | } | |
92 | ||
93 | AliTPCRecoParam *AliTPCRecoParam::GetLaserTestParam(Bool_t bPedestal){ | |
94 | // | |
95 | // special setting for laser | |
96 | // | |
97 | AliTPCRecoParam *param = new AliTPCRecoParam; | |
98 | param->fCtgRange = 10.05; | |
99 | param->fFirstBin = 0; | |
100 | param->fLastBin = 1000; | |
101 | param->fBCalcPedestal = bPedestal; | |
102 | param->fBDoUnfold = kFALSE; | |
fe5055e5 | 103 | param->fDumpAmplitudeMin = 150; |
669ce3c3 | 104 | param->fBKinkFinder = kFALSE; |
b9cc16e4 | 105 | param->fMaxSnpTracker = 0.98; |
106 | param->fMaxC = 0.02; | |
107 | param->fBSpecialSeeding = kTRUE; | |
657452bc | 108 | param->fBYMirror = kFALSE; |
669ce3c3 | 109 | return param; |
110 | } | |
111 | ||
112 | AliTPCRecoParam *AliTPCRecoParam::GetCosmicTestParam(Bool_t bPedestal){ | |
113 | // | |
114 | // special setting for cosmic | |
115 | // | |
116 | AliTPCRecoParam *param = new AliTPCRecoParam; | |
117 | param->fCtgRange = 10.05; // full TPC | |
118 | param->fFirstBin = 60; | |
119 | param->fLastBin = 1000; | |
120 | param->fBCalcPedestal = bPedestal; | |
121 | param->fBDoUnfold = kFALSE; | |
b9cc16e4 | 122 | param->fBSpecialSeeding = kTRUE; |
123 | param->fMaxC = 0.07; | |
669ce3c3 | 124 | param->fBKinkFinder = kFALSE; |
657452bc | 125 | param->fBYMirror = kFALSE; |
669ce3c3 | 126 | return param; |
127 | } | |
128 | ||
129 | ||
130 |