1 /**************************************************************************
2 * Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
16 #include "AliITSRecoParam.h"
20 ///////////////////////////////////////////////////////////////////////////////
22 // Class with ITS reconstruction parameters //
23 // Origin: andrea.dainese@lnl.infn.it //
25 ///////////////////////////////////////////////////////////////////////////////
29 ClassImp(AliITSRecoParam)
31 const Int_t AliITSRecoParam::fgkLayersNotToSkip[AliITSgeomTGeo::kNLayers]={0,0,0,0,0,0};
32 const Int_t AliITSRecoParam::fgkLastLayerToTrackTo=0;
33 const Int_t AliITSRecoParam::fgkMaxDetectorPerLayer=1000;
34 const Double_t AliITSRecoParam::fgkriw=80.0;
35 const Double_t AliITSRecoParam::fgkdiw=0.0053;
36 const Double_t AliITSRecoParam::fgkX0iw=30.0;
37 const Double_t AliITSRecoParam::fgkrcd=61.0;
38 const Double_t AliITSRecoParam::fgkdcd=0.0053;
39 const Double_t AliITSRecoParam::fgkX0cd=30.0;
40 const Double_t AliITSRecoParam::fgkyr=12.8;
41 const Double_t AliITSRecoParam::fgkdr=0.03;
42 const Double_t AliITSRecoParam::fgkzm=0.2;
43 const Double_t AliITSRecoParam::fgkdm=0.40;
44 const Double_t AliITSRecoParam::fgkrs=50.0;
45 const Double_t AliITSRecoParam::fgkds=0.001;
46 const Double_t AliITSRecoParam::fgkrInsideITSscreen=49.0;
47 const Double_t AliITSRecoParam::fgkrInsideSPD1=3.7;
48 const Double_t AliITSRecoParam::fgkrPipe=3.;
49 const Double_t AliITSRecoParam::fgkrInsidePipe=2.7;
50 const Double_t AliITSRecoParam::fgkrOutsidePipe=3.3;
51 const Double_t AliITSRecoParam::fgkdPipe=0.0028;
52 const Double_t AliITSRecoParam::fgkrInsideShield[2]={7.5,25.0};
53 const Double_t AliITSRecoParam::fgkrOutsideShield[2]={10.5,30.0};
54 const Double_t AliITSRecoParam::fgkdshield[2]={0.0097,0.0034};
55 const Double_t AliITSRecoParam::fgkX0shield[2]={38.6,42.0};
56 const Double_t AliITSRecoParam::fgkX0Air=21.82;
57 const Double_t AliITSRecoParam::fgkX0Be=65.19;
58 const Double_t AliITSRecoParam::fgkBoundaryWidth=0.2;
59 const Double_t AliITSRecoParam::fgkDeltaXNeighbDets=0.5;
60 const Double_t AliITSRecoParam::fgkSPDdetzlength=6.960; // 7.072-2*0.056
61 const Double_t AliITSRecoParam::fgkSPDdetxlength=1.298; // 1.410-2*0.056
63 //_____________________________________________________________________________
64 AliITSRecoParam::AliITSRecoParam() : TObject(),
66 fNSigmaYLayerForRoadY(0),
68 fNSigmaZLayerForRoadZ(0),
74 fMaxNormChi2NonCForHypothesis(0),
87 fMaxDZToUseConstraint(0),
88 fMaxDforV0dghtrForProlongation(0),
89 fMaxDForProlongation(0),
90 fMaxDZForProlongation(0),
91 fMinPtForProlongation(0),
92 fAddVirtualClustersInDeadZone(kTRUE),
94 fSigmaXDeadZoneHit2(0),
95 fSigmaZDeadZoneHit2(0),
96 fXPassDeadZoneHits(0),
98 fAllowSharedClusters(kTRUE),
99 fClusterErrorsParam(1),
100 fExtendedEtaAcceptance(kFALSE),
101 fFactorSAWindowSizes(1.),
107 SetLayersParameters();
108 for(Int_t i=0; i<AliITSgeomTGeo::kNLayers; i++) fLayersToSkip[i]=0;
109 SetUseTGeoInTracker(0);
110 SetAllowSharedClusters(kTRUE);
112 SetAddVirtualClustersInDeadZone(kTRUE);
113 SetUseAmplitudeInfo(kTRUE);
114 SetClusterErrorsParam(1);
116 //_____________________________________________________________________________
117 AliITSRecoParam::~AliITSRecoParam()
123 //_____________________________________________________________________________
124 AliITSRecoParam *AliITSRecoParam::GetHighFluxParam()
127 // make default reconstruction parameters for hig flux env.
129 AliITSRecoParam *param = new AliITSRecoParam();
131 param->fMaxSnp = 0.95;
133 param->fNSigmaYLayerForRoadY = 4.;
134 param->fNSigmaRoadY = 7.5;
135 param->fNSigmaZLayerForRoadZ = 4.;
136 param->fNSigmaRoadZ = 7.5;
138 param->fNSigma2RoadZC = 60.; //7.75^2
139 param->fNSigma2RoadYC = 60.; //7.75^2
140 param->fNSigma2RoadZNonC = 50.; //7.07^2
141 param->fNSigma2RoadYNonC = 50.; //7.07^2
143 param->fMaxChi2PerCluster[0] = 11.; //7
144 param->fMaxChi2PerCluster[1] = 12.; //5
145 param->fMaxChi2PerCluster[2] = 12.; //8
146 param->fMaxChi2PerCluster[3] = 5.; //8
147 param->fMaxChi2PerCluster[4] = 12.; //6.5
149 param->fMaxNormChi2NonC[0] = 7.;
150 param->fMaxNormChi2NonC[1] = 8.;
151 param->fMaxNormChi2NonC[2] = 8.;
152 param->fMaxNormChi2NonC[3] = 11.;
153 param->fMaxNormChi2NonC[4] = 14.;
154 param->fMaxNormChi2NonC[5] = 25.;
156 param->fMaxNormChi2C[0] = 11.;
157 param->fMaxNormChi2C[1] = 13.;
158 param->fMaxNormChi2C[2] = 15.;
159 param->fMaxNormChi2C[3] = 18.;
160 param->fMaxNormChi2C[4] = 30.;
161 param->fMaxNormChi2C[5] = 35.;
163 param->fMaxNormChi2NonCForHypothesis = 7.;
165 param->fMaxChi2 = 35.;
167 param->fMaxChi2s[0] = 25.; //40
168 param->fMaxChi2s[1] = 25.; //40
169 param->fMaxChi2s[2] = 25.; //40
170 param->fMaxChi2s[3] = 25.; //40
171 param->fMaxChi2s[4] = 40.; //40
172 param->fMaxChi2s[5] = 50.; //40
174 param->fMaxRoad = 6.;
177 param->fMaxChi2In = 16.;
179 param->fMaxChi2sR[0] = 10.;
180 param->fMaxChi2sR[1] = 10.;
181 param->fMaxChi2sR[2] = 10.;
182 param->fMaxChi2sR[3] = 10.;
183 param->fMaxChi2sR[4] = 30.;
184 param->fMaxChi2sR[5] = 40.;
186 param->fChi2PerCluster = 9.;
192 param->fSigmaXV = 0.0050;
193 param->fSigmaYV = 0.0050;
194 param->fSigmaZV = 0.0100;
196 param->fVertexCut = 25.;
198 param->fMaxDZforPrimTrk = 0.4;
199 param->fMaxDZToUseConstraint = 3.;
201 param->fMaxDforV0dghtrForProlongation = 30.;
202 param->fMaxDForProlongation = 10.;
203 param->fMaxDZForProlongation = 20.;
204 param->fMinPtForProlongation = 0.120;
206 param->fZWindowDeadZone = 2.0;
207 param->fSigmaXDeadZoneHit2 = 0.004/12.;
208 param->fSigmaZDeadZoneHit2 = 0.001/12.;
209 param->fXPassDeadZoneHits = 0.018;
214 //_____________________________________________________________________________
215 AliITSRecoParam *AliITSRecoParam::GetLowFluxParam()
218 // make default reconstruction parameters for low flux env.
220 return GetHighFluxParam();
222 //_____________________________________________________________________________
223 AliITSRecoParam *AliITSRecoParam::GetCosmicTestParam()
226 // make default reconstruction parameters for cosmics
228 AliITSRecoParam *param = new AliITSRecoParam();
230 // larger seach windows for SA (in case of large misalignments)
231 param->SetFactorSAWindowSizes(3.);
233 param->fMaxSnp = 0.95;
235 param->fNSigmaYLayerForRoadY = 4.;
236 param->fNSigmaRoadY = 7.5;
237 param->fNSigmaZLayerForRoadZ = 4.;
238 param->fNSigmaRoadZ = 7.5;
240 param->fNSigma2RoadZC = 60.; //7.75^2
241 param->fNSigma2RoadYC = 60.; //7.75^2
242 param->fNSigma2RoadZNonC = 50.; //7.07^2
243 param->fNSigma2RoadYNonC = 50.; //7.07^2
245 param->fMaxChi2PerCluster[0] = 11.; //7
246 param->fMaxChi2PerCluster[1] = 12.; //5
247 param->fMaxChi2PerCluster[2] = 12.; //8
248 param->fMaxChi2PerCluster[3] = 5.; //8
249 param->fMaxChi2PerCluster[4] = 12.; //6.5
251 param->fMaxNormChi2NonC[0] = 7.;
252 param->fMaxNormChi2NonC[1] = 8.;
253 param->fMaxNormChi2NonC[2] = 8.;
254 param->fMaxNormChi2NonC[3] = 11.;
255 param->fMaxNormChi2NonC[4] = 14.;
256 param->fMaxNormChi2NonC[5] = 25.;
258 param->fMaxNormChi2C[0] = 11.;
259 param->fMaxNormChi2C[1] = 13.;
260 param->fMaxNormChi2C[2] = 15.;
261 param->fMaxNormChi2C[3] = 18.;
262 param->fMaxNormChi2C[4] = 30.;
263 param->fMaxNormChi2C[5] = 35.;
265 param->fMaxNormChi2NonCForHypothesis = 7.;
267 param->fMaxChi2 = 35.;
269 param->fMaxChi2s[0] = 25.; //40
270 param->fMaxChi2s[1] = 25.; //40
271 param->fMaxChi2s[2] = 25.; //40
272 param->fMaxChi2s[3] = 25.; //40
273 param->fMaxChi2s[4] = 40.; //40
274 param->fMaxChi2s[5] = 50.; //40
276 param->fMaxRoad = 6.;
279 param->fMaxChi2In = 16.;
281 param->fMaxChi2sR[0] = 10.;
282 param->fMaxChi2sR[1] = 10.;
283 param->fMaxChi2sR[2] = 10.;
284 param->fMaxChi2sR[3] = 10.;
285 param->fMaxChi2sR[4] = 30.;
286 param->fMaxChi2sR[5] = 40.;
288 param->fChi2PerCluster = 9.;
294 param->fSigmaXV = 0.0050;
295 param->fSigmaYV = 0.0050;
296 param->fSigmaZV = 0.0100;
298 param->fVertexCut = 25.;
300 param->fMaxDZforPrimTrk = 0.4;
301 param->fMaxDZToUseConstraint = 3.;
303 param->fMaxDforV0dghtrForProlongation = 30.;
304 param->fMaxDForProlongation = 10.;
305 param->fMaxDZForProlongation = 20.;
306 param->fMinPtForProlongation = 0.120;
308 param->fZWindowDeadZone = 2.0;
309 param->fSigmaXDeadZoneHit2 = 0.004/12.;
310 param->fSigmaZDeadZoneHit2 = 0.001/12.;
311 param->fXPassDeadZoneHits = 0.018;
316 //_____________________________________________________________________________
317 void AliITSRecoParam::SetLayersParameters()
320 // number of layers and layers spatial resolutions
323 // spatial resolutions of the detectors
324 // y: 12 12 38 38 20 20 micron
327 fSigmaY2[2]=1.444e-5;
328 fSigmaY2[3]=1.444e-5;
331 // z: 120 120 28 28 830 830 micron
336 fSigmaZ2[4]=6.889e-3;
337 fSigmaZ2[5]=6.889e-3;