]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSRecoParam.cxx
Fix for copy/paste error. From rev. 33660
[u/mrichter/AliRoot.git] / ITS / AliITSRecoParam.cxx
CommitLineData
44347160 1/**************************************************************************
572f41f9 2 * Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
44347160 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
572f41f9 16#include "AliITSRecoParam.h"
5bd7ec3a 17#include "AliLog.h"
572f41f9 18
19/* $Id$ */
44347160 20
21///////////////////////////////////////////////////////////////////////////////
22// //
23// Class with ITS reconstruction parameters //
24// Origin: andrea.dainese@lnl.infn.it //
25// //
26///////////////////////////////////////////////////////////////////////////////
27
28
44347160 29
30ClassImp(AliITSRecoParam)
31
e50912db 32const Int_t AliITSRecoParam::fgkLayersNotToSkip[AliITSgeomTGeo::kNLayers]={0,0,0,0,0,0};
33const Int_t AliITSRecoParam::fgkLastLayerToTrackTo=0;
34const Int_t AliITSRecoParam::fgkMaxDetectorPerLayer=1000;
35const Double_t AliITSRecoParam::fgkriw=80.0;
36const Double_t AliITSRecoParam::fgkdiw=0.0053;
37const Double_t AliITSRecoParam::fgkX0iw=30.0;
38const Double_t AliITSRecoParam::fgkrcd=61.0;
39const Double_t AliITSRecoParam::fgkdcd=0.0053;
40const Double_t AliITSRecoParam::fgkX0cd=30.0;
41const Double_t AliITSRecoParam::fgkyr=12.8;
42const Double_t AliITSRecoParam::fgkdr=0.03;
43const Double_t AliITSRecoParam::fgkzm=0.2;
44const Double_t AliITSRecoParam::fgkdm=0.40;
45const Double_t AliITSRecoParam::fgkrs=50.0;
46const Double_t AliITSRecoParam::fgkds=0.001;
47const Double_t AliITSRecoParam::fgkrInsideITSscreen=49.0;
48const Double_t AliITSRecoParam::fgkrInsideSPD1=3.7;
49const Double_t AliITSRecoParam::fgkrPipe=3.;
50const Double_t AliITSRecoParam::fgkrInsidePipe=2.7;
51const Double_t AliITSRecoParam::fgkrOutsidePipe=3.3;
52const Double_t AliITSRecoParam::fgkdPipe=0.0028;
53const Double_t AliITSRecoParam::fgkrInsideShield[2]={7.5,25.0};
54const Double_t AliITSRecoParam::fgkrOutsideShield[2]={10.5,30.0};
55const Double_t AliITSRecoParam::fgkdshield[2]={0.0097,0.0034};
56const Double_t AliITSRecoParam::fgkX0shield[2]={38.6,42.0};
57const Double_t AliITSRecoParam::fgkX0Air=21.82;
58const Double_t AliITSRecoParam::fgkX0Be=65.19;
59const Double_t AliITSRecoParam::fgkBoundaryWidth=0.2;
60const Double_t AliITSRecoParam::fgkDeltaXNeighbDets=0.5;
61const Double_t AliITSRecoParam::fgkSPDdetzlength=6.960; // 7.072-2*0.056
62const Double_t AliITSRecoParam::fgkSPDdetxlength=1.298; // 1.410-2*0.056
44347160 63
64//_____________________________________________________________________________
6518a6c5 65AliITSRecoParam::AliITSRecoParam() : AliDetectorRecoParam(),
f9119eb9 66fTracker(0),
67fITSonly(kFALSE),
68fVertexer(0),
876026b6 69fClusterFinder(0),
70fPID(0),
7203e11a 71fVtxr3DZCutWide(0.),
72fVtxr3DRCutWide(0.),
73fVtxr3DZCutNarrow(0.),
74fVtxr3DRCutNarrow(0.),
75fVtxr3DPhiCutLoose(0.),
76fVtxr3DPhiCutTight(0.),
77fVtxr3DDCACut(0.),
8b78365f 78fVtxr3DPileupAlgo(1),
e50912db 79fMaxSnp(1.),
572f41f9 80fNSigmaYLayerForRoadY(0),
81fNSigmaRoadY(0),
82fNSigmaZLayerForRoadZ(0),
83fNSigmaRoadZ(0),
84fNSigma2RoadZC(0),
85fNSigma2RoadYC(0),
86fNSigma2RoadZNonC(0),
87fNSigma2RoadYNonC(0),
1c97ce2f 88fRoadMisal(0),
572f41f9 89fMaxNormChi2NonCForHypothesis(0),
90fMaxChi2(0),
91fMaxRoad(0),
92fMaxChi2In(0),
93fChi2PerCluster(0),
94fXV(0),
95fYV(0),
96fZV(0),
97fSigmaXV(0),
98fSigmaYV(0),
99fSigmaZV(0),
100fVertexCut(0),
101fMaxDZforPrimTrk(0),
102fMaxDZToUseConstraint(0),
103fMaxDforV0dghtrForProlongation(0),
104fMaxDForProlongation(0),
105fMaxDZForProlongation(0),
106fMinPtForProlongation(0),
6518a6c5 107fAddVirtualClustersInDeadZone(kFALSE),
572f41f9 108fZWindowDeadZone(0),
109fSigmaXDeadZoneHit2(0),
110fSigmaZDeadZoneHit2(0),
111fXPassDeadZoneHits(0),
6518a6c5 112fUseTGeoInTracker(3),
908753cb 113fStepSizeTGeo(5.),
572f41f9 114fAllowSharedClusters(kTRUE),
e50912db 115fClusterErrorsParam(1),
4a66240a 116fComputePlaneEff(kFALSE),
5fbd4fd6 117fHistoPlaneEff(kFALSE),
58e8dc31 118fUseTrackletsPlaneEff(kFALSE),
119fMCTrackletsPlaneEff(kFALSE),
120fBkgTrackletsPlaneEff(kFALSE),
121fTrackleterPhiWindowL1(0.10),
7284b2b2 122fTrackleterPhiWindowL2(0.07),
58e8dc31 123fTrackleterZetaWindowL1(0.6),
7284b2b2 124fTrackleterZetaWindowL2(0.4),
58e8dc31 125fUpdateOncePerEventPlaneEff(kTRUE),
126fMinContVtxPlaneEff(3),
0ed58a47 127fIPlanePlaneEff(0),
275a301c 128fReadPlaneEffFromOCDB(kFALSE),
0ed58a47 129fMinPtPlaneEff(0),
130fMaxMissingClustersPlaneEff(0),
131fRequireClusterInOuterLayerPlaneEff(kFALSE),
132fRequireClusterInInnerLayerPlaneEff(kFALSE),
133fOnlyConstraintPlaneEff(kFALSE),
2755f080 134fExtendedEtaAcceptance(kFALSE),
b406db2e 135fUseBadZonesFromOCDB(kTRUE),
23197852 136fUseSingleBadChannelsFromOCDB(kFALSE),
137fMinFractionOfBadInRoad(0),
ae00569a 138fAllowProlongationWithEmptyRoad(kFALSE),
12b1afb7 139fInwardFlagSA(kFALSE),
140fOuterStartLayerSA(2),
141fInnerStartLayerSA(3),
142fMinNPointsSA(3),
2755f080 143fFactorSAWindowSizes(1.),
c7d6d7b7 144fNLoopsSA(33),
145fMinPhiSA(0.002),
146fMaxPhiSA(0.0145),
147fMinLambdaSA(0.003),
148fMaxLambdaSA(0.008),
3733ccd2 149fMinClusterChargeSA(0.),
5a03f353 150fSAOnePointTracks(kFALSE),
151fSAUseAllClusters(kFALSE),
6518a6c5 152fFindV0s(kTRUE),
b0160ebc 153fStoreLikeSignV0s(kFALSE),
6518a6c5 154fUseUnfoldingInClusterFinderSPD(kFALSE),
155fUseUnfoldingInClusterFinderSDD(kTRUE),
d695268b 156fUseUnfoldingInClusterFinderSSD(kFALSE),
7101948c 157fUseBadChannelsInClusterFinderSSD(kFALSE),
ba0a07bf 158fUseSDDCorrectionMaps(kTRUE),
b779c7dc 159fUseSDDClusterSizeSelection(kFALSE),
160fMinClusterChargeSDD(0.),
7b116aa1 161fUseChargeMatchingInClusterFinderSSD(kTRUE),
7b116aa1 162fTrackleterPhiWindow(0.08),
7284b2b2 163fTrackleterThetaWindow(0.025),
7b116aa1 164fTrackleterRemoveClustersFromOverlaps(kFALSE),
165fTrackleterPhiOverlapCut(0.005),
42ed6062 166fTrackleterZetaOverlapCut(0.05),
ad7f2bfa 167fUseCosmicRunShiftsSSD(kFALSE),
168fSPDRemoveNoisyFlag(kTRUE),
9364069b 169fSPDRemoveDeadFlag(kTRUE),
170fVertexerFastSmearX(0.005),
171fVertexerFastSmearY(0.005),
f27a7e81 172fVertexerFastSmearZ(0.01),
173fAlignFilterCosmics(kFALSE),
174fAlignFilterCosmicMergeTracks(kTRUE),
175fAlignFilterMinITSPoints(4),
176fAlignFilterMinITSPointsMerged(4),
177fAlignFilterOnlyITSSATracks(kTRUE),
178fAlignFilterOnlyITSTPCTracks(kFALSE),
179fAlignFilterSkipExtra(kFALSE),
180fAlignFilterMaxMatchingAngle(0.085),
181fAlignFilterMinAngleWrtModulePlanes(0.52),
182fAlignFilterMinPt(0.),
183fAlignFilterMaxPt(1.e10),
767aaecb 184fAlignFilterFillQANtuples(kTRUE),
185fESDV0Params(NULL)
44347160 186{
187 //
188 // constructor
189 //
6518a6c5 190 SetName("ITS");
191 SetTitle("ITS");
192
44347160 193 SetLayersParameters();
2755f080 194 for(Int_t i=0; i<AliITSgeomTGeo::kNLayers; i++) fLayersToSkip[i]=0;
6518a6c5 195 SetUseTGeoInTracker(3);
908753cb 196 SetStepSizeTGeo(5.);
afd25725 197 SetAllowSharedClusters(kTRUE);
198 SetFindV0s(kTRUE);
6518a6c5 199 SetAddVirtualClustersInDeadZone(kFALSE);
572f41f9 200 SetUseAmplitudeInfo(kTRUE);
e50912db 201 SetClusterErrorsParam(1);
f9119eb9 202 SetClusterMisalError(0.);
4fd4a5d7 203 SetClusterMisalErrorBOn(0.);
7203e11a 204 SetVertexer3DDefaults();
f27a7e81 205
206 for(Int_t i=0; i<AliITSgeomTGeo::kNLayers; i++) fAlignFilterUseLayer[i]=kTRUE;
767aaecb 207 fESDV0Params = new AliESDV0Params();
208
209 fESDV0Params->SetMaxDist0(0.1);
210 fESDV0Params->SetMaxDist1(0.1);
211 fESDV0Params->SetMaxDist(1.);
212 fESDV0Params->SetMinPointAngle(0.85);
213 fESDV0Params->SetMinPointAngle2(0.99);
214 fESDV0Params->SetMinR(0.5);
215 fESDV0Params->SetMaxR(220.);
216 fESDV0Params->SetCausality0Cut(0.19);
217 fESDV0Params->SetLikelihood01Cut(0.45);
218 fESDV0Params->SetLikelihood1Cut(0.5);
219 fESDV0Params->SetCombinedCut(0.55);
220 fESDV0Params->SetMinClFullTrk(5.0);
221 fESDV0Params->SetMinTgl0(1.05);
222 fESDV0Params->SetMinTPCdensity(0.6);
223 fESDV0Params->SetMinTgl1(1.1);
224 fESDV0Params->SetMinTgl2(1.0);
225 fESDV0Params->SetMinchi2before0(16.);
226 fESDV0Params->SetMinchi2before1(16.);
227 fESDV0Params->SetMinchi2after0(16.);
228 fESDV0Params->SetMinchi2after1(16.);
229 fESDV0Params->SetAddchi2SharedCl(18.);
230 fESDV0Params->SetAddchi2NegCl0(25.);
231 fESDV0Params->SetAddchi2NegCl1(30.);
232 fESDV0Params->SetSigp0Par0(0.0001);
233 fESDV0Params->SetSigp0Par1(0.001);
234 fESDV0Params->SetSigp0Par2(0.1);
235 fESDV0Params->SetSigpPar0(0.5);
236 fESDV0Params->SetSigpPar1(0.6);
237 fESDV0Params->SetSigpPar2(0.4);
238 fESDV0Params->SetStreamLevel(0);
239 fESDV0Params->SetChi2KF(100);
240 fESDV0Params->SetRobustChi2KF(100);
241
44347160 242}
243//_____________________________________________________________________________
244AliITSRecoParam::~AliITSRecoParam()
245{
246 //
247 // destructor
248 //
767aaecb 249 if(fESDV0Params){
250 delete fESDV0Params;
251 fESDV0Params=NULL;
252 }
44347160 253}
254//_____________________________________________________________________________
255AliITSRecoParam *AliITSRecoParam::GetHighFluxParam()
256{
257 //
258 // make default reconstruction parameters for hig flux env.
259 //
260 AliITSRecoParam *param = new AliITSRecoParam();
14bcd755 261 param->SetVertexerZ();
44347160 262
1aa655ec 263 // use of bads from OCDB
264 param->SetUseBadZonesFromOCDB(kTRUE);
265 param->SetUseSingleBadChannelsFromOCDB(kFALSE);
266 // extended eta acceptance
267 param->SetExtendedEtaAcceptance(kFALSE);
268 // allow to skip layer if no cluster and no bad
269 param->SetAllowProlongationWithEmptyRoad(kFALSE);
270
9be1d1c7 271
44347160 272 param->fMaxSnp = 0.95;
273
274 param->fNSigmaYLayerForRoadY = 4.;
275 param->fNSigmaRoadY = 7.5;
276 param->fNSigmaZLayerForRoadZ = 4.;
277 param->fNSigmaRoadZ = 7.5;
278
279 param->fNSigma2RoadZC = 60.; //7.75^2
280 param->fNSigma2RoadYC = 60.; //7.75^2
281 param->fNSigma2RoadZNonC = 50.; //7.07^2
282 param->fNSigma2RoadYNonC = 50.; //7.07^2
283
284 param->fMaxChi2PerCluster[0] = 11.; //7
285 param->fMaxChi2PerCluster[1] = 12.; //5
286 param->fMaxChi2PerCluster[2] = 12.; //8
287 param->fMaxChi2PerCluster[3] = 5.; //8
288 param->fMaxChi2PerCluster[4] = 12.; //6.5
289
290 param->fMaxNormChi2NonC[0] = 7.;
291 param->fMaxNormChi2NonC[1] = 8.;
292 param->fMaxNormChi2NonC[2] = 8.;
293 param->fMaxNormChi2NonC[3] = 11.;
294 param->fMaxNormChi2NonC[4] = 14.;
295 param->fMaxNormChi2NonC[5] = 25.;
296
297 param->fMaxNormChi2C[0] = 11.;
298 param->fMaxNormChi2C[1] = 13.;
299 param->fMaxNormChi2C[2] = 15.;
300 param->fMaxNormChi2C[3] = 18.;
301 param->fMaxNormChi2C[4] = 30.;
302 param->fMaxNormChi2C[5] = 35.;
afd25725 303
304 param->fMaxNormChi2NonCForHypothesis = 7.;
44347160 305
306 param->fMaxChi2 = 35.;
307
308 param->fMaxChi2s[0] = 25.; //40
309 param->fMaxChi2s[1] = 25.; //40
310 param->fMaxChi2s[2] = 25.; //40
311 param->fMaxChi2s[3] = 25.; //40
312 param->fMaxChi2s[4] = 40.; //40
313 param->fMaxChi2s[5] = 50.; //40
314
315 param->fMaxRoad = 6.;
316
317 // not used
318 param->fMaxChi2In = 16.;
319
320 param->fMaxChi2sR[0] = 10.;
321 param->fMaxChi2sR[1] = 10.;
322 param->fMaxChi2sR[2] = 10.;
323 param->fMaxChi2sR[3] = 10.;
324 param->fMaxChi2sR[4] = 30.;
325 param->fMaxChi2sR[5] = 40.;
326
327 param->fChi2PerCluster = 9.;
328 // not used
329
330 param->fXV = 0.;
331 param->fYV = 0.;
332 param->fZV = 0.;
333 param->fSigmaXV = 0.0050;
334 param->fSigmaYV = 0.0050;
335 param->fSigmaZV = 0.0100;
336
337 param->fVertexCut = 25.;
afd25725 338
339 param->fMaxDZforPrimTrk = 0.4;
340 param->fMaxDZToUseConstraint = 3.;
341
342 param->fMaxDforV0dghtrForProlongation = 30.;
6518a6c5 343 param->fMaxDForProlongation = 40.;//10.;
344 param->fMaxDZForProlongation = 60.;//20.;
afd25725 345 param->fMinPtForProlongation = 0.120;
346
347 param->fZWindowDeadZone = 2.0;
348 param->fSigmaXDeadZoneHit2 = 0.004/12.;
349 param->fSigmaZDeadZoneHit2 = 0.001/12.;
350 param->fXPassDeadZoneHits = 0.018;
44347160 351
352 return param;
353}
354//_____________________________________________________________________________
355AliITSRecoParam *AliITSRecoParam::GetLowFluxParam()
356{
357 //
358 // make default reconstruction parameters for low flux env.
359 //
c7d6d7b7 360 AliITSRecoParam *param = new AliITSRecoParam();
7203e11a 361 param->SetVertexer3DDefaults();
c7d6d7b7 362
1aa655ec 363 // full use of bads from OCDB
364 param->SetUseBadZonesFromOCDB(kTRUE);
365 param->SetUseSingleBadChannelsFromOCDB(kTRUE);
366 // extended eta acceptance
367 param->SetExtendedEtaAcceptance(kTRUE);
368 // allow to skip layer if no cluster and no bad
369 param->SetAllowProlongationWithEmptyRoad(kTRUE);
370
9be1d1c7 371
c7d6d7b7 372 param->fMaxSnp = 0.95;
373
374 param->fNSigmaYLayerForRoadY = 4.;
375 param->fNSigmaRoadY = 7.5;
376 param->fNSigmaZLayerForRoadZ = 4.;
377 param->fNSigmaRoadZ = 7.5;
378
379 param->fNSigma2RoadZC = 60.; //7.75^2
380 param->fNSigma2RoadYC = 60.; //7.75^2
381 param->fNSigma2RoadZNonC = 50.; //7.07^2
382 param->fNSigma2RoadYNonC = 50.; //7.07^2
383
384 param->fMaxChi2PerCluster[0] = 11.; //7
385 param->fMaxChi2PerCluster[1] = 12.; //5
386 param->fMaxChi2PerCluster[2] = 12.; //8
387 param->fMaxChi2PerCluster[3] = 5.; //8
388 param->fMaxChi2PerCluster[4] = 12.; //6.5
389
390 param->fMaxNormChi2NonC[0] = 7.;
391 param->fMaxNormChi2NonC[1] = 8.;
392 param->fMaxNormChi2NonC[2] = 8.;
393 param->fMaxNormChi2NonC[3] = 11.;
394 param->fMaxNormChi2NonC[4] = 14.;
395 param->fMaxNormChi2NonC[5] = 25.;
396
397 param->fMaxNormChi2C[0] = 11.;
398 param->fMaxNormChi2C[1] = 13.;
399 param->fMaxNormChi2C[2] = 15.;
400 param->fMaxNormChi2C[3] = 18.;
401 param->fMaxNormChi2C[4] = 30.;
402 param->fMaxNormChi2C[5] = 35.;
403
404 param->fMaxNormChi2NonCForHypothesis = 7.;
405
406 param->fMaxChi2 = 35.;
407
408 param->fMaxChi2s[0] = 25.; //40
409 param->fMaxChi2s[1] = 25.; //40
410 param->fMaxChi2s[2] = 25.; //40
411 param->fMaxChi2s[3] = 25.; //40
412 param->fMaxChi2s[4] = 40.; //40
413 param->fMaxChi2s[5] = 50.; //40
414
415 param->fMaxRoad = 6.;
416
417 // not used
418 param->fMaxChi2In = 16.;
419
420 param->fMaxChi2sR[0] = 10.;
421 param->fMaxChi2sR[1] = 10.;
422 param->fMaxChi2sR[2] = 10.;
423 param->fMaxChi2sR[3] = 10.;
424 param->fMaxChi2sR[4] = 30.;
425 param->fMaxChi2sR[5] = 40.;
426
427 param->fChi2PerCluster = 9.;
428 // not used
429
430 param->fXV = 0.;
431 param->fYV = 0.;
432 param->fZV = 0.;
433 param->fSigmaXV = 0.0050;
434 param->fSigmaYV = 0.0050;
435 param->fSigmaZV = 0.0100;
436
437 param->fVertexCut = 25.;
438
439 param->fMaxDZforPrimTrk = 0.4;
440 param->fMaxDZToUseConstraint = 3.;
441
442 param->fMaxDforV0dghtrForProlongation = 30.;
443 param->fMaxDForProlongation = 40.;//10.;
444 param->fMaxDZForProlongation = 60.;//20.;
445 param->fMinPtForProlongation = 0.120;
446
447 param->fZWindowDeadZone = 2.0;
448 param->fSigmaXDeadZoneHit2 = 0.004/12.;
449 param->fSigmaZDeadZoneHit2 = 0.001/12.;
450 param->fXPassDeadZoneHits = 0.018;
3733ccd2 451 param->SetNLoopsSA(20);
452 param->fMaxPhiSA = 0.07;
453 param->fMaxLambdaSA = 0.04;
c7d6d7b7 454 return param;
44347160 455}
456//_____________________________________________________________________________
457AliITSRecoParam *AliITSRecoParam::GetCosmicTestParam()
458{
459 //
460 // make default reconstruction parameters for cosmics
461 //
e340bb86 462 AliITSRecoParam *param = new AliITSRecoParam();
463
f9119eb9 464 // vertexer for cosmics
465 param->SetVertexer(2);
466
4fd4a5d7 467 param->SetClusterErrorsParam(2);
468 param->SetFindV0s(kFALSE);
469 param->SetAddVirtualClustersInDeadZone(kFALSE);
470 param->SetUseAmplitudeInfo(kFALSE);
471
472 // full use of bads from OCDB
473 param->SetUseBadZonesFromOCDB(kTRUE);
474 param->SetUseSingleBadChannelsFromOCDB(kTRUE);
475
9f9cae94 476 // find independently ITS SA tracks
477 param->SetSAUseAllClusters();
478 param->SetOuterStartLayerSA(AliITSgeomTGeo::GetNLayers()-2);
f9119eb9 479
4fd4a5d7 480 //****** COSMICS 2009 (same as COSMICS 2008) *********************
481
482 // to maximize efficiency
483 param->SetAllowProlongationWithEmptyRoad();
484
2755f080 485 // larger seach windows for SA (in case of large misalignments)
4fd4a5d7 486 param->SetNLoopsSA(33);
487 param->SetFactorSAWindowSizes(20);
488
489 // additional error due to misal (B off)
490 param->SetClusterMisalErrorY(1.0,1.0,1.0,1.0,1.0,1.0); // [cm]
491 param->SetClusterMisalErrorZ(1.0,1.0,1.0,1.0,1.0,1.0); // [cm]
492 // additional error due to misal (B on)
493 param->SetClusterMisalErrorYBOn(0.0,0.0,0.1,0.1,0.1,0.1); // [cm]
494 param->SetClusterMisalErrorZBOn(0.1,0.1,0.1,0.1,0.1,0.1); // [cm]
495
496
497 // SDD configuration
498 param->fUseSDDCorrectionMaps = kFALSE;
499 param->fUseSDDClusterSizeSelection=kTRUE;
500 param->fMinClusterChargeSDD=30.;
501
e340bb86 502
f27a7e81 503 // alignment data filter
504 param->SetAlignFilterCosmics(kTRUE);
505 param->SetAlignFilterCosmicMergeTracks(kTRUE);
506 param->SetAlignFilterMinITSPoints(1);
507 param->SetAlignFilterMinITSPointsMerged(3);
508 param->SetAlignFilterOnlyITSSATracks(kTRUE);
509 param->SetAlignFilterOnlyITSTPCTracks(kFALSE);
510 param->SetAlignFilterSkipExtra(kFALSE);
511 param->SetAlignFilterMaxMatchingAngle(0.085/*5deg*/);
512 param->SetAlignFilterMinPt(0.2);
513 param->SetAlignFilterMaxPt(1.e10);
514 param->SetAlignFilterFillQANtuples(kTRUE);
515
4fd4a5d7 516 //******************************************************************
517
e340bb86 518 param->fMaxSnp = 0.95;
519
520 param->fNSigmaYLayerForRoadY = 4.;
521 param->fNSigmaRoadY = 7.5;
522 param->fNSigmaZLayerForRoadZ = 4.;
523 param->fNSigmaRoadZ = 7.5;
524
525 param->fNSigma2RoadZC = 60.; //7.75^2
526 param->fNSigma2RoadYC = 60.; //7.75^2
527 param->fNSigma2RoadZNonC = 50.; //7.07^2
528 param->fNSigma2RoadYNonC = 50.; //7.07^2
529
530 param->fMaxChi2PerCluster[0] = 11.; //7
531 param->fMaxChi2PerCluster[1] = 12.; //5
532 param->fMaxChi2PerCluster[2] = 12.; //8
533 param->fMaxChi2PerCluster[3] = 5.; //8
534 param->fMaxChi2PerCluster[4] = 12.; //6.5
535
536 param->fMaxNormChi2NonC[0] = 7.;
537 param->fMaxNormChi2NonC[1] = 8.;
538 param->fMaxNormChi2NonC[2] = 8.;
539 param->fMaxNormChi2NonC[3] = 11.;
540 param->fMaxNormChi2NonC[4] = 14.;
541 param->fMaxNormChi2NonC[5] = 25.;
542
543 param->fMaxNormChi2C[0] = 11.;
544 param->fMaxNormChi2C[1] = 13.;
545 param->fMaxNormChi2C[2] = 15.;
546 param->fMaxNormChi2C[3] = 18.;
547 param->fMaxNormChi2C[4] = 30.;
548 param->fMaxNormChi2C[5] = 35.;
549
550 param->fMaxNormChi2NonCForHypothesis = 7.;
551
552 param->fMaxChi2 = 35.;
553
554 param->fMaxChi2s[0] = 25.; //40
555 param->fMaxChi2s[1] = 25.; //40
556 param->fMaxChi2s[2] = 25.; //40
557 param->fMaxChi2s[3] = 25.; //40
558 param->fMaxChi2s[4] = 40.; //40
559 param->fMaxChi2s[5] = 50.; //40
560
561 param->fMaxRoad = 6.;
562
563 // not used
564 param->fMaxChi2In = 16.;
565
566 param->fMaxChi2sR[0] = 10.;
567 param->fMaxChi2sR[1] = 10.;
568 param->fMaxChi2sR[2] = 10.;
569 param->fMaxChi2sR[3] = 10.;
570 param->fMaxChi2sR[4] = 30.;
571 param->fMaxChi2sR[5] = 40.;
572
573 param->fChi2PerCluster = 9.;
574 // not used
575
576 param->fXV = 0.;
577 param->fYV = 0.;
578 param->fZV = 0.;
579 param->fSigmaXV = 0.0050;
580 param->fSigmaYV = 0.0050;
581 param->fSigmaZV = 0.0100;
582
583 param->fVertexCut = 25.;
584
585 param->fMaxDZforPrimTrk = 0.4;
586 param->fMaxDZToUseConstraint = 3.;
587
588 param->fMaxDforV0dghtrForProlongation = 30.;
589 param->fMaxDForProlongation = 10.;
590 param->fMaxDZForProlongation = 20.;
591 param->fMinPtForProlongation = 0.120;
592
593 param->fZWindowDeadZone = 2.0;
594 param->fSigmaXDeadZoneHit2 = 0.004/12.;
595 param->fSigmaZDeadZoneHit2 = 0.001/12.;
596 param->fXPassDeadZoneHits = 0.018;
597
e340bb86 598 return param;
44347160 599}
600//_____________________________________________________________________________
ae00569a 601AliITSRecoParam *AliITSRecoParam::GetPlaneEffParam(Int_t i)
602{
603 //
58e8dc31 604 // make special reconstruction parameters for Plane Efficiency study on layer i (0,5)
605 //
606 // if i=-1, then the evaluation for both pixel layers is tried with the tracklet method
ae00569a 607 //
58e8dc31 608 if (i<-1 || i>=AliITSgeomTGeo::kNLayers) {
609 printf("AliITSRecoParam::GetPlaneEffParam: index of ITS Plane nor in the range [0,5] neither =-1\n");
0ed58a47 610 printf("returning null pointer");
611 return NULL;
612 }
58e8dc31 613 if(i>=0) { // Method using tracks (remove given plane from tracking)
614 AliITSRecoParam *param;
615 param = GetHighFluxParam();
616 param->SetComputePlaneEff();
617 param->SetLayerToSkip(i);
618 param->SetIPlanePlaneEff(i);
619 // optimized setting for SPD0 (i==0)
620 if (i==0 || i==1) {
621 param->fMinPtPlaneEff = 0.200; // high pt particles
622 param->fMaxMissingClustersPlaneEff = 1; // at most 1 layer out of 5 without cluster
623 param->fRequireClusterInOuterLayerPlaneEff = kTRUE; // cluster on SPD1 must be
624 //param->fOnlyConstraintPlaneEff = kTRUE;
625 }
626 if (i==2 || i==3) {
627 param->fMinPtPlaneEff = 0.200; // high pt particles
628 param->fMaxMissingClustersPlaneEff = 1; // at most 1 layer out of 5 without cluster
629 param->fRequireClusterInOuterLayerPlaneEff = kTRUE;
630 //param->fOnlyConstraintPlaneEff = kTRUE;
631 }
632 if (i==4) {
633 param->fMinPtPlaneEff = 0.200; // high pt particles
634 param->fMaxMissingClustersPlaneEff = 0; // at most 1 layer out of 5 without cluster
635 param->fRequireClusterInOuterLayerPlaneEff = kTRUE;
636 //param->fOnlyConstraintPlaneEff = kTRUE;
637 }
638 if (i==5) {
639 param->fMinPtPlaneEff = 0.200; // high pt particles
640 }
641 //
642 return param;
0ed58a47 643 }
58e8dc31 644 else if (i==-1) { // Method using tracklets
645 AliITSRecoParam *param;
646 param = GetLowFluxParam();
647 param->SetIPlanePlaneEff(i);
648 param->SetComputePlaneEff(kTRUE,kFALSE);
649 param->SetUseTrackletsPlaneEff(kTRUE);
7284b2b2 650 param->SetTrackleterPhiWindowL2(0.07);
651 param->SetTrackleterZetaWindowL2(0.4);
58e8dc31 652 param->SetTrackleterPhiWindowL1(0.10);
653 param->SetTrackleterZetaWindowL1(0.6);
654 param->SetUpdateOncePerEventPlaneEff(kTRUE);
655 param->SetMinContVtxPlaneEff(3);
656 return param;
0ed58a47 657 }
5bd7ec3a 658 else {
659 AliErrorGeneral("AliITSRecoParam",Form("Unrecognised value of i %d\n",i));
660 return 0;
661 }
ae00569a 662}
663//_____________________________________________________________________________
44347160 664void AliITSRecoParam::SetLayersParameters()
665{
666 //
667 // number of layers and layers spatial resolutions
668 //
669
670 // spatial resolutions of the detectors
671 // y: 12 12 38 38 20 20 micron
672 fSigmaY2[0]=1.44e-6;
673 fSigmaY2[1]=1.44e-6;
674 fSigmaY2[2]=1.444e-5;
675 fSigmaY2[3]=1.444e-5;
676 fSigmaY2[4]=4.0e-6;
677 fSigmaY2[5]=4.0e-6;
678 // z: 120 120 28 28 830 830 micron
679 fSigmaZ2[0]=1.44e-4;
680 fSigmaZ2[1]=1.44e-4;
681 fSigmaZ2[2]=7.84e-6;
682 fSigmaZ2[3]=7.84e-6;
683 fSigmaZ2[4]=6.889e-3;
684 fSigmaZ2[5]=6.889e-3;
685
686 return;
687}
ed446fa3 688//_____________________________________________________________________________
689void AliITSRecoParam::PrintParameters() const
690{
691 //
692 // print parameters
693 //
694
695 printf("============================= AliITSRecoParam::PrintParameters ");
f9119eb9 696 printf("============================= \n\n");
ed446fa3 697 for(Int_t i=0; i<AliITSgeomTGeo::kNLayers; i++) {
698 if(!fLayersToSkip[i]) {
699 printf("ITS Traking: using layer %d\n",i);
700 } else {
701 printf("ITS Traking: skipping layer %d\n",i);
702 }
703 }
704 for(Int_t i=0; i<AliITSgeomTGeo::kNLayers; i++) {
705 if(fUseAmplitudeInfo[i]) {
706 printf("ITS Traking: use amplitude info for layer %d\n",i);
707 } else {
708 printf("ITS Traking: don't use amplitude info for layer %d\n",i);
709 }
710 }
711 for(Int_t i=0; i<AliITSgeomTGeo::kNLayers; i++)
f9119eb9 712 printf("Layer %d:\n sigmaY2 %f, sigmaZ2 %f\n sigmaMisalY %f, sigmaMisalZ %f\n max norm chi2 for non constrained tracks %f\n max norm chi2 for constrained tracks %f\n max predicted chi2 (cluster & track prol.) %f\n",i,fSigmaY2[i],fSigmaZ2[i],fClusterMisalErrorY[i],fClusterMisalErrorZ[i],fMaxNormChi2NonC[i],fMaxNormChi2C[i],fMaxChi2s[i]);
ed446fa3 713
714
715 Dump();
716
717 return;
0a56760a 718}