]>
Commit | Line | Data |
---|---|---|
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 | 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 | // | |
36 | /////////////////////////////////////////////////////////////////////////////// | |
37 | ||
38 | ||
39 | #include "AliTPCRecoParam.h" | |
40 | ||
41 | ClassImp(AliTPCRecoParam) | |
42 | ||
43 | ||
44 | ||
45 | ||
46 | //_____________________________________________________________________________ | |
47 | AliTPCRecoParam::AliTPCRecoParam(): | |
48 | AliDetectorRecoParam(), | |
49 | fBClusterSharing(kTRUE), | |
50 | fCtgRange(1.05), | |
51 | fMaxSnpTracker(0.95), | |
52 | fMaxSnpTrack(0.999), | |
53 | fBYMirror(kTRUE), | |
54 | fDumpSignal(kFALSE), | |
55 | fFirstBin(0), | |
56 | fLastBin(-1), | |
57 | fBCalcPedestal(kFALSE), | |
58 | fBDoUnfold(kTRUE), | |
59 | fDumpAmplitudeMin(100), | |
60 | fMaxNoise(2.), | |
61 | fMinMaxCutAbs(5.), | |
62 | fMinLeftRightCutAbs(9.), | |
63 | fMinUpDownCutAbs(10.), | |
64 | fMinMaxCutSigma(4.), | |
65 | fMinLeftRightCutSigma(7.), | |
66 | fMinUpDownCutSigma(8.), | |
67 | fMaxC(0.3), | |
68 | fBSpecialSeeding(kFALSE), | |
69 | fBKinkFinder(kTRUE), | |
70 | fLastSeedRowSec(120) | |
71 | { | |
72 | // | |
73 | // constructor | |
74 | // | |
75 | SetName("TPC"); | |
76 | SetTitle("TPC"); | |
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; | |
108 | param->fLastBin = 1000; | |
109 | return param; | |
110 | } | |
111 | ||
112 | AliTPCRecoParam *AliTPCRecoParam::GetLaserTestParam(Bool_t bPedestal){ | |
113 | // | |
114 | // special setting for laser | |
115 | // | |
116 | AliTPCRecoParam *param = new AliTPCRecoParam; | |
117 | param->fDumpSignal=kTRUE; | |
118 | param->fCtgRange = 10.05; | |
119 | param->fFirstBin = 0; | |
120 | param->fLastBin = 1000; | |
121 | param->fBCalcPedestal = bPedestal; | |
122 | param->fBDoUnfold = kFALSE; | |
123 | param->fDumpAmplitudeMin = 150; | |
124 | param->fBKinkFinder = kFALSE; | |
125 | param->fMaxSnpTracker = 0.98; | |
126 | param->fMaxC = 0.02; | |
127 | param->fBSpecialSeeding = kTRUE; | |
128 | param->fBYMirror = kFALSE; | |
129 | // | |
130 | // | |
131 | return param; | |
132 | } | |
133 | ||
134 | AliTPCRecoParam *AliTPCRecoParam::GetCosmicTestParam(Bool_t bPedestal){ | |
135 | // | |
136 | // special setting for cosmic | |
137 | // | |
138 | AliTPCRecoParam *param = new AliTPCRecoParam; | |
139 | param->fDumpSignal=kTRUE; | |
140 | param->fCtgRange = 10.05; // full TPC | |
141 | param->fFirstBin = 60; | |
142 | param->fLastBin = 1000; | |
143 | param->fBCalcPedestal = bPedestal; | |
144 | param->fBDoUnfold = kFALSE; | |
145 | param->fBSpecialSeeding = kTRUE; | |
146 | param->fMaxC = 0.07; | |
147 | param->fBKinkFinder = kFALSE; | |
148 | param->fBYMirror = kFALSE; | |
149 | return param; | |
150 | } | |
151 | ||
152 | ||
153 |