]>
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 | // // | |
7a9e557b | 21 | // |
22 | /* | |
23 | The reconstruction parameters are used in the AliTPCclustererMI and AliTPCtrackerMI | |
24 | ||
25 | They are retrieved: | |
26 | 0. User speciefied it in reconstruction macro | |
27 | 1. if (not 0) from OCDB - AliTPCcalibDB::GetRecoParam(eventtype) | |
28 | 2. if (not 0 or 1) default parameter - High flux enevironment used | |
29 | ||
30 | FIXME: | |
31 | In the future reconstruction parameters should be changed on event basis | |
32 | But for the moment, event types are still not defined | |
33 | ||
34 | */ | |
35 | // | |
669ce3c3 | 36 | /////////////////////////////////////////////////////////////////////////////// |
37 | ||
38 | ||
39 | #include "AliTPCRecoParam.h" | |
40 | ||
41 | ClassImp(AliTPCRecoParam) | |
42 | ||
43 | ||
44 | ||
45 | ||
46 | //_____________________________________________________________________________ | |
47 | AliTPCRecoParam::AliTPCRecoParam(): | |
b1c50d5c | 48 | AliDetectorRecoParam(), |
018e4f8a | 49 | fBClusterSharing(kTRUE), |
669ce3c3 | 50 | fCtgRange(1.05), |
51 | fMaxSnpTracker(0.95), | |
52 | fMaxSnpTrack(0.999), | |
657452bc | 53 | fBYMirror(kTRUE), |
b127a65f | 54 | fDumpSignal(kFALSE), |
669ce3c3 | 55 | fFirstBin(0), |
56 | fLastBin(-1), | |
57 | fBCalcPedestal(kFALSE), | |
58 | fBDoUnfold(kTRUE), | |
59 | fDumpAmplitudeMin(100), | |
837809ab | 60 | fMaxNoise(2.), |
940ed1f0 | 61 | fMinMaxCutAbs(5.), |
62 | fMinLeftRightCutAbs(9.), | |
63 | fMinUpDownCutAbs(10.), | |
64 | fMinMaxCutSigma(4.), | |
65 | fMinLeftRightCutSigma(7.), | |
66 | fMinUpDownCutSigma(8.), | |
b9cc16e4 | 67 | fMaxC(0.3), |
68 | fBSpecialSeeding(kFALSE), | |
7d27c1df | 69 | fBKinkFinder(kTRUE), |
70 | fLastSeedRowSec(120) | |
669ce3c3 | 71 | { |
72 | // | |
73 | // constructor | |
74 | // | |
b1c50d5c | 75 | SetName("TPC"); |
76 | SetTitle("TPC"); | |
669ce3c3 | 77 | } |
78 | ||
79 | //_____________________________________________________________________________ | |
80 | AliTPCRecoParam::~AliTPCRecoParam() | |
81 | { | |
82 | // | |
83 | // destructor | |
84 | // | |
85 | } | |
86 | ||
87 | ||
88 | ||
89 | ||
90 | AliTPCRecoParam *AliTPCRecoParam::GetLowFluxParam(){ | |
91 | // | |
92 | // make default reconstruction parameters for low flux env. | |
93 | // | |
94 | AliTPCRecoParam *param = new AliTPCRecoParam; | |
95 | param->fCtgRange = 10; | |
96 | param->fFirstBin = 0; | |
97 | param->fLastBin = 1000; | |
98 | return param; | |
99 | } | |
100 | ||
101 | AliTPCRecoParam *AliTPCRecoParam::GetHighFluxParam(){ | |
102 | // | |
103 | // make reco parameters for high flux env. | |
104 | // | |
105 | AliTPCRecoParam *param = new AliTPCRecoParam; | |
106 | param->fCtgRange = 1.05; | |
107 | param->fFirstBin = 0; | |
ec214961 | 108 | param->fLastBin = 1000; |
669ce3c3 | 109 | return param; |
110 | } | |
111 | ||
112 | AliTPCRecoParam *AliTPCRecoParam::GetLaserTestParam(Bool_t bPedestal){ | |
113 | // | |
114 | // special setting for laser | |
115 | // | |
116 | AliTPCRecoParam *param = new AliTPCRecoParam; | |
b127a65f | 117 | param->fDumpSignal=kTRUE; |
669ce3c3 | 118 | param->fCtgRange = 10.05; |
119 | param->fFirstBin = 0; | |
120 | param->fLastBin = 1000; | |
121 | param->fBCalcPedestal = bPedestal; | |
122 | param->fBDoUnfold = kFALSE; | |
fe5055e5 | 123 | param->fDumpAmplitudeMin = 150; |
669ce3c3 | 124 | param->fBKinkFinder = kFALSE; |
b9cc16e4 | 125 | param->fMaxSnpTracker = 0.98; |
126 | param->fMaxC = 0.02; | |
127 | param->fBSpecialSeeding = kTRUE; | |
657452bc | 128 | param->fBYMirror = kFALSE; |
ec214961 | 129 | // |
130 | // | |
669ce3c3 | 131 | return param; |
132 | } | |
133 | ||
134 | AliTPCRecoParam *AliTPCRecoParam::GetCosmicTestParam(Bool_t bPedestal){ | |
135 | // | |
136 | // special setting for cosmic | |
137 | // | |
138 | AliTPCRecoParam *param = new AliTPCRecoParam; | |
b127a65f | 139 | param->fDumpSignal=kTRUE; |
669ce3c3 | 140 | param->fCtgRange = 10.05; // full TPC |
141 | param->fFirstBin = 60; | |
142 | param->fLastBin = 1000; | |
143 | param->fBCalcPedestal = bPedestal; | |
144 | param->fBDoUnfold = kFALSE; | |
b9cc16e4 | 145 | param->fBSpecialSeeding = kTRUE; |
146 | param->fMaxC = 0.07; | |
669ce3c3 | 147 | param->fBKinkFinder = kFALSE; |
657452bc | 148 | param->fBYMirror = kFALSE; |
669ce3c3 | 149 | return param; |
150 | } | |
151 | ||
152 | ||
153 |