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"
21 ///////////////////////////////////////////////////////////////////////////////
23 // Class with ITS reconstruction parameters //
24 // Origin: andrea.dainese@lnl.infn.it //
26 ///////////////////////////////////////////////////////////////////////////////
30 ClassImp(AliITSRecoParam)
32 const Int_t AliITSRecoParam::fgkLayersNotToSkip[AliITSgeomTGeo::kNLayers]={0,0,0,0,0,0};
33 const Int_t AliITSRecoParam::fgkLastLayerToTrackTo=0;
34 const Int_t AliITSRecoParam::fgkMaxDetectorPerLayer=1000;
35 const Double_t AliITSRecoParam::fgkriw=80.0;
36 const Double_t AliITSRecoParam::fgkdiw=0.0053;
37 const Double_t AliITSRecoParam::fgkX0iw=30.0;
38 const Double_t AliITSRecoParam::fgkrcd=61.0;
39 const Double_t AliITSRecoParam::fgkdcd=0.0053;
40 const Double_t AliITSRecoParam::fgkX0cd=30.0;
41 const Double_t AliITSRecoParam::fgkyr=12.8;
42 const Double_t AliITSRecoParam::fgkdr=0.03;
43 const Double_t AliITSRecoParam::fgkzm=0.2;
44 const Double_t AliITSRecoParam::fgkdm=0.40;
45 const Double_t AliITSRecoParam::fgkrs=50.0;
46 const Double_t AliITSRecoParam::fgkds=0.001;
47 const Double_t AliITSRecoParam::fgkrInsideITSscreen=49.0;
48 const Double_t AliITSRecoParam::fgkrInsideSPD1=3.5;
49 const Double_t AliITSRecoParam::fgkrPipe=3.;
50 const Double_t AliITSRecoParam::fgkrInsidePipe=2.7;
51 const Double_t AliITSRecoParam::fgkrOutsidePipe=3.3;
52 const Double_t AliITSRecoParam::fgkdPipe=0.0028;
53 const Double_t AliITSRecoParam::fgkrInsideShield[2]={7.5,25.0};
54 const Double_t AliITSRecoParam::fgkrOutsideShield[2]={10.5,30.0};
55 const Double_t AliITSRecoParam::fgkdshield[2]={0.0097,0.0034};
56 const Double_t AliITSRecoParam::fgkX0shield[2]={38.6,42.0};
57 const Double_t AliITSRecoParam::fgkX0Air=21.82;
58 const Double_t AliITSRecoParam::fgkX0Be=65.19;
59 const Double_t AliITSRecoParam::fgkBoundaryWidth=0.2;
60 const Double_t AliITSRecoParam::fgkDeltaXNeighbDets=0.5;
61 const Double_t AliITSRecoParam::fgkSPDdetzlength=6.960; // 7.072-2*0.056
62 const Double_t AliITSRecoParam::fgkSPDdetxlength=1.298; // 1.410-2*0.056
64 //_____________________________________________________________________________
65 AliITSRecoParam::AliITSRecoParam() : AliDetectorRecoParam(),
73 fVtxr3DZCutNarrow(0.),
74 fVtxr3DRCutNarrow(0.),
75 fVtxr3DPhiCutLoose(0.),
76 fVtxr3DPhiCutTight(0.),
80 fNSigmaYLayerForRoadY(0),
82 fNSigmaZLayerForRoadZ(0),
89 fMaxNormChi2NonCForHypothesis(0),
102 fMaxDZToUseConstraint(0),
103 fMaxDforV0dghtrForProlongation(0),
104 fMaxDForProlongation(0),
105 fMaxDZForProlongation(0),
106 fMinPtForProlongation(0),
107 fAddVirtualClustersInDeadZone(kFALSE),
109 fSigmaXDeadZoneHit2(0),
110 fSigmaZDeadZoneHit2(0),
111 fXPassDeadZoneHits(0),
112 fUseTGeoInTracker(3),
114 fAllowSharedClusters(kTRUE),
115 fClusterErrorsParam(1),
116 fComputePlaneEff(kFALSE),
117 fHistoPlaneEff(kFALSE),
118 fUseTrackletsPlaneEff(kFALSE),
119 fMCTrackletsPlaneEff(kFALSE),
120 fBkgTrackletsPlaneEff(kFALSE),
121 fTrackleterPhiWindowL1(0.10),
122 fTrackleterPhiWindowL2(0.07),
123 fTrackleterZetaWindowL1(0.6),
124 fTrackleterZetaWindowL2(0.4),
125 fUpdateOncePerEventPlaneEff(kTRUE),
126 fMinContVtxPlaneEff(3),
128 fReadPlaneEffFromOCDB(kFALSE),
130 fMaxMissingClustersPlaneEff(0),
131 fRequireClusterInOuterLayerPlaneEff(kFALSE),
132 fRequireClusterInInnerLayerPlaneEff(kFALSE),
133 fOnlyConstraintPlaneEff(kFALSE),
134 fExtendedEtaAcceptance(kFALSE),
135 fUseBadZonesFromOCDB(kTRUE),
136 fUseSingleBadChannelsFromOCDB(kFALSE),
137 fMinFractionOfBadInRoad(0),
138 fAllowProlongationWithEmptyRoad(kFALSE),
139 fInwardFlagSA(kFALSE),
140 fOuterStartLayerSA(2),
141 fInnerStartLayerSA(3),
143 fFactorSAWindowSizes(1.),
149 fMinClusterChargeSA(0.),
150 fSAOnePointTracks(kFALSE),
151 fSAUseAllClusters(kFALSE),
153 fStoreLikeSignV0s(kFALSE),
154 fUseUnfoldingInClusterFinderSPD(kFALSE),
155 fUseUnfoldingInClusterFinderSDD(kTRUE),
156 fUseUnfoldingInClusterFinderSSD(kFALSE),
157 fUseBadChannelsInClusterFinderSSD(kFALSE),
158 fUseSDDCorrectionMaps(kTRUE),
159 fUseSDDClusterSizeSelection(kFALSE),
160 fMinClusterChargeSDD(0.),
161 fUseChargeMatchingInClusterFinderSSD(kTRUE),
162 fTrackleterPhiWindow(0.08),
163 fTrackleterThetaWindow(0.025),
164 fTrackleterPhiShift(0.0045),
165 fTrackleterRemoveClustersFromOverlaps(kFALSE),
166 fTrackleterPhiOverlapCut(0.005),
167 fTrackleterZetaOverlapCut(0.05),
168 fUseCosmicRunShiftsSSD(kFALSE),
169 fSPDRemoveNoisyFlag(kTRUE),
170 fSPDRemoveDeadFlag(kTRUE),
171 fVertexerFastSmearX(0.005),
172 fVertexerFastSmearY(0.005),
173 fVertexerFastSmearZ(0.01),
174 fAlignFilterCosmics(kFALSE),
175 fAlignFilterCosmicMergeTracks(kTRUE),
176 fAlignFilterMinITSPoints(4),
177 fAlignFilterMinITSPointsMerged(4),
178 fAlignFilterOnlyITSSATracks(kTRUE),
179 fAlignFilterOnlyITSTPCTracks(kFALSE),
180 fAlignFilterSkipExtra(kFALSE),
181 fAlignFilterMaxMatchingAngle(0.085),
182 fAlignFilterMinAngleWrtModulePlanes(0.52),
183 fAlignFilterMinPt(0.),
184 fAlignFilterMaxPt(1.e10),
185 fAlignFilterFillQANtuples(kTRUE),
194 SetLayersParameters();
195 for(Int_t i=0; i<AliITSgeomTGeo::kNLayers; i++) fLayersToSkip[i]=0;
196 SetUseTGeoInTracker(3);
198 SetAllowSharedClusters(kTRUE);
200 SetAddVirtualClustersInDeadZone(kFALSE);
201 SetUseAmplitudeInfo(kTRUE);
202 SetClusterErrorsParam(1);
203 SetClusterMisalError(0.);
204 SetClusterMisalErrorBOn(0.);
205 SetVertexer3DDefaults();
207 for(Int_t i=0; i<AliITSgeomTGeo::kNLayers; i++) fAlignFilterUseLayer[i]=kTRUE;
208 fESDV0Params = new AliESDV0Params();
210 fESDV0Params->SetMaxDist0(0.1);
211 fESDV0Params->SetMaxDist1(0.1);
212 fESDV0Params->SetMaxDist(1.);
213 fESDV0Params->SetMinPointAngle(0.85);
214 fESDV0Params->SetMinPointAngle2(0.99);
215 fESDV0Params->SetMinR(0.5);
216 fESDV0Params->SetMaxR(220.);
217 fESDV0Params->SetMinPABestConst(0.9999);
218 fESDV0Params->SetMaxRBestConst(10.);
219 fESDV0Params->SetCausality0Cut(0.19);
220 fESDV0Params->SetLikelihood01Cut(0.45);
221 fESDV0Params->SetLikelihood1Cut(0.5);
222 fESDV0Params->SetCombinedCut(0.55);
223 fESDV0Params->SetMinClFullTrk(5.0);
224 fESDV0Params->SetMinTgl0(1.05);
225 fESDV0Params->SetMinRTgl0(40.0);
227 fESDV0Params->SetMinNormDistForbTgl0(3.0);
228 fESDV0Params->SetMinClForb0(4.5);
229 fESDV0Params->SetMinNormDistForb1(3.0);
230 fESDV0Params->SetMinNormDistForb2(2.0);
231 fESDV0Params->SetMinNormDistForb3(1.0);
232 fESDV0Params->SetMinNormDistForb4(4.0);
233 fESDV0Params->SetMinNormDistForb5(5.0);
234 fESDV0Params->SetMinNormDistForbProt(2.0);
235 fESDV0Params->SetMaxPidProbPionForb(0.5);
237 fESDV0Params->SetMinRTPCdensity(40.);
238 fESDV0Params->SetMaxRTPCdensity0(110.);
239 fESDV0Params->SetMaxRTPCdensity10(120.);
240 fESDV0Params->SetMaxRTPCdensity20(130.);
241 fESDV0Params->SetMaxRTPCdensity30(140.);
243 fESDV0Params->SetMinTPCdensity(0.6);
244 fESDV0Params->SetMinTgl1(1.1);
245 fESDV0Params->SetMinTgl2(1.0);
246 fESDV0Params->SetMinchi2before0(16.);
247 fESDV0Params->SetMinchi2before1(16.);
248 fESDV0Params->SetMinchi2after0(16.);
249 fESDV0Params->SetMinchi2after1(16.);
250 fESDV0Params->SetAddchi2SharedCl(18.);
251 fESDV0Params->SetAddchi2NegCl0(25.);
252 fESDV0Params->SetAddchi2NegCl1(30.);
253 fESDV0Params->SetSigp0Par0(0.0001);
254 fESDV0Params->SetSigp0Par1(0.001);
255 fESDV0Params->SetSigp0Par2(0.1);
256 fESDV0Params->SetSigpPar0(0.5);
257 fESDV0Params->SetSigpPar1(0.6);
258 fESDV0Params->SetSigpPar2(0.4);
259 fESDV0Params->SetMaxDcaLh0(0.5);
260 fESDV0Params->SetStreamLevel(0);
261 fESDV0Params->SetChi2KF(100);
262 fESDV0Params->SetRobustChi2KF(100);
265 //_____________________________________________________________________________
266 AliITSRecoParam::~AliITSRecoParam()
276 //_____________________________________________________________________________
277 AliITSRecoParam *AliITSRecoParam::GetHighFluxParam()
280 // make default reconstruction parameters for hig flux env.
282 AliITSRecoParam *param = new AliITSRecoParam();
283 param->SetVertexerZ();
285 // use of bads from OCDB
286 param->SetUseBadZonesFromOCDB(kTRUE);
287 param->SetUseSingleBadChannelsFromOCDB(kFALSE);
288 // extended eta acceptance
289 param->SetExtendedEtaAcceptance(kFALSE);
290 // allow to skip layer if no cluster and no bad
291 param->SetAllowProlongationWithEmptyRoad(kFALSE);
293 param->SetEventSpecie(AliRecoParam::kHighMult);
295 param->fMaxSnp = 0.95;
297 param->fNSigmaYLayerForRoadY = 4.;
298 param->fNSigmaRoadY = 7.5;
299 param->fNSigmaZLayerForRoadZ = 4.;
300 param->fNSigmaRoadZ = 7.5;
302 param->fNSigma2RoadZC = 60.; //7.75^2
303 param->fNSigma2RoadYC = 60.; //7.75^2
304 param->fNSigma2RoadZNonC = 50.; //7.07^2
305 param->fNSigma2RoadYNonC = 50.; //7.07^2
307 param->fMaxChi2PerCluster[0] = 11.; //7
308 param->fMaxChi2PerCluster[1] = 12.; //5
309 param->fMaxChi2PerCluster[2] = 12.; //8
310 param->fMaxChi2PerCluster[3] = 5.; //8
311 param->fMaxChi2PerCluster[4] = 12.; //6.5
313 param->fMaxNormChi2NonC[0] = 7.;
314 param->fMaxNormChi2NonC[1] = 8.;
315 param->fMaxNormChi2NonC[2] = 8.;
316 param->fMaxNormChi2NonC[3] = 11.;
317 param->fMaxNormChi2NonC[4] = 14.;
318 param->fMaxNormChi2NonC[5] = 25.;
320 param->fMaxNormChi2C[0] = 11.;
321 param->fMaxNormChi2C[1] = 13.;
322 param->fMaxNormChi2C[2] = 15.;
323 param->fMaxNormChi2C[3] = 18.;
324 param->fMaxNormChi2C[4] = 30.;
325 param->fMaxNormChi2C[5] = 35.;
327 param->fMaxNormChi2NonCForHypothesis = 7.;
329 param->fMaxChi2 = 35.;
331 param->fMaxChi2s[0] = 25.; //40
332 param->fMaxChi2s[1] = 25.; //40
333 param->fMaxChi2s[2] = 25.; //40
334 param->fMaxChi2s[3] = 25.; //40
335 param->fMaxChi2s[4] = 40.; //40
336 param->fMaxChi2s[5] = 50.; //40
338 param->fMaxRoad = 6.;
341 param->fMaxChi2In = 16.;
343 param->fMaxChi2sR[0] = 10.;
344 param->fMaxChi2sR[1] = 10.;
345 param->fMaxChi2sR[2] = 10.;
346 param->fMaxChi2sR[3] = 10.;
347 param->fMaxChi2sR[4] = 30.;
348 param->fMaxChi2sR[5] = 40.;
350 param->fChi2PerCluster = 9.;
356 param->fSigmaXV = 0.0050;
357 param->fSigmaYV = 0.0050;
358 param->fSigmaZV = 0.0100;
360 param->fVertexCut = 25.;
362 param->fMaxDZforPrimTrk = 0.4;
363 param->fMaxDZToUseConstraint = 3.;
365 param->fMaxDforV0dghtrForProlongation = 30.;
366 param->fMaxDForProlongation = 40.;//10.;
367 param->fMaxDZForProlongation = 60.;//20.;
368 param->fMinPtForProlongation = 0.120;
370 param->fZWindowDeadZone = 2.0;
371 param->fSigmaXDeadZoneHit2 = 0.004/12.;
372 param->fSigmaZDeadZoneHit2 = 0.001/12.;
373 param->fXPassDeadZoneHits = 0.018;
379 //_____________________________________________________________________________
380 AliITSRecoParam *AliITSRecoParam::GetLowFluxParam()
383 // make default reconstruction parameters for low flux env.
385 AliITSRecoParam *param = new AliITSRecoParam();
386 param->SetVertexer3DDefaults();
388 // full use of bads from OCDB
389 param->SetUseBadZonesFromOCDB(kTRUE);
390 param->SetUseSingleBadChannelsFromOCDB(kTRUE);
391 // extended eta acceptance
392 param->SetExtendedEtaAcceptance(kTRUE);
393 // allow to skip layer if no cluster and no bad
394 param->SetAllowProlongationWithEmptyRoad(kTRUE);
396 param->SetEventSpecie(AliRecoParam::kLowMult);
398 param->fMaxSnp = 0.95;
400 param->fNSigmaYLayerForRoadY = 4.;
401 param->fNSigmaRoadY = 7.5;
402 param->fNSigmaZLayerForRoadZ = 4.;
403 param->fNSigmaRoadZ = 7.5;
405 param->fNSigma2RoadZC = 60.; //7.75^2
406 param->fNSigma2RoadYC = 60.; //7.75^2
407 param->fNSigma2RoadZNonC = 50.; //7.07^2
408 param->fNSigma2RoadYNonC = 50.; //7.07^2
410 param->fMaxChi2PerCluster[0] = 11.; //7
411 param->fMaxChi2PerCluster[1] = 12.; //5
412 param->fMaxChi2PerCluster[2] = 12.; //8
413 param->fMaxChi2PerCluster[3] = 5.; //8
414 param->fMaxChi2PerCluster[4] = 12.; //6.5
416 param->fMaxNormChi2NonC[0] = 7.;
417 param->fMaxNormChi2NonC[1] = 8.;
418 param->fMaxNormChi2NonC[2] = 8.;
419 param->fMaxNormChi2NonC[3] = 11.;
420 param->fMaxNormChi2NonC[4] = 14.;
421 param->fMaxNormChi2NonC[5] = 25.;
423 param->fMaxNormChi2C[0] = 11.;
424 param->fMaxNormChi2C[1] = 13.;
425 param->fMaxNormChi2C[2] = 15.;
426 param->fMaxNormChi2C[3] = 18.;
427 param->fMaxNormChi2C[4] = 30.;
428 param->fMaxNormChi2C[5] = 35.;
430 param->fMaxNormChi2NonCForHypothesis = 7.;
432 param->fMaxChi2 = 35.;
434 param->fMaxChi2s[0] = 25.; //40
435 param->fMaxChi2s[1] = 25.; //40
436 param->fMaxChi2s[2] = 25.; //40
437 param->fMaxChi2s[3] = 25.; //40
438 param->fMaxChi2s[4] = 40.; //40
439 param->fMaxChi2s[5] = 50.; //40
441 param->fMaxRoad = 6.;
444 param->fMaxChi2In = 16.;
446 param->fMaxChi2sR[0] = 10.;
447 param->fMaxChi2sR[1] = 10.;
448 param->fMaxChi2sR[2] = 10.;
449 param->fMaxChi2sR[3] = 10.;
450 param->fMaxChi2sR[4] = 30.;
451 param->fMaxChi2sR[5] = 40.;
453 param->fChi2PerCluster = 9.;
459 param->fSigmaXV = 0.0050;
460 param->fSigmaYV = 0.0050;
461 param->fSigmaZV = 0.0100;
463 param->fVertexCut = 25.;
465 param->fMaxDZforPrimTrk = 0.4;
466 param->fMaxDZToUseConstraint = 3.;
468 param->fMaxDforV0dghtrForProlongation = 30.;
469 param->fMaxDForProlongation = 40.;//10.;
470 param->fMaxDZForProlongation = 60.;//20.;
471 param->fMinPtForProlongation = 0.120;
473 param->fZWindowDeadZone = 2.0;
474 param->fSigmaXDeadZoneHit2 = 0.004/12.;
475 param->fSigmaZDeadZoneHit2 = 0.001/12.;
476 param->fXPassDeadZoneHits = 0.018;
477 param->SetNLoopsSA(20);
478 param->fMaxPhiSA = 0.07;
479 param->fMaxLambdaSA = 0.04;
482 param->GetESDV0Params()->SetMinRTgl0(0.5);
483 param->GetESDV0Params()->SetMaxDist(1.5);
484 param->GetESDV0Params()->SetMaxDcaLh0(1.5);
485 param->GetESDV0Params()->SetMaxRBestConst(80);
486 param->GetESDV0Params()->SetMinPABestConst(0.99);
487 param->GetESDV0Params()->SetMinNormDistForbTgl0(1.);
488 param->GetESDV0Params()->SetMinNormDistForb1(2.);
489 param->GetESDV0Params()->SetMinNormDistForbProt(1.);
490 param->GetESDV0Params()->SetMaxPidProbPionForb(0.7);
491 param->GetESDV0Params()->SetLikelihood01Cut(0.3);
492 param->GetESDV0Params()->SetLikelihood1Cut(0.35);
493 param->GetESDV0Params()->SetCombinedCut(0.4);
499 //_____________________________________________________________________________
500 AliITSRecoParam *AliITSRecoParam::GetCosmicTestParam()
503 // make default reconstruction parameters for cosmics
505 AliITSRecoParam *param = new AliITSRecoParam();
507 // vertexer for cosmics
508 param->SetVertexer(2);
510 param->SetClusterErrorsParam(2);
511 param->SetFindV0s(kFALSE);
512 param->SetAddVirtualClustersInDeadZone(kFALSE);
513 param->SetUseAmplitudeInfo(kFALSE);
516 param->SetEventSpecie(AliRecoParam::kCosmic);
518 // full use of bads from OCDB
519 param->SetUseBadZonesFromOCDB(kTRUE);
520 param->SetUseSingleBadChannelsFromOCDB(kTRUE);
522 // find independently ITS SA tracks
523 param->SetSAUseAllClusters();
524 param->SetOuterStartLayerSA(AliITSgeomTGeo::GetNLayers()-2);
526 //****** COSMICS 2009 (same as COSMICS 2008) *********************
528 // to maximize efficiency
529 param->SetAllowProlongationWithEmptyRoad();
531 // larger seach windows for SA (in case of large misalignments)
532 param->SetNLoopsSA(33);
533 param->SetFactorSAWindowSizes(20);
535 // additional error due to misal (B off)
536 param->SetClusterMisalErrorY(1.0,1.0,1.0,1.0,1.0,1.0); // [cm]
537 param->SetClusterMisalErrorZ(1.0,1.0,1.0,1.0,1.0,1.0); // [cm]
538 // additional error due to misal (B on)
539 param->SetClusterMisalErrorYBOn(0.0,0.0,0.1,0.1,0.1,0.1); // [cm]
540 param->SetClusterMisalErrorZBOn(0.1,0.1,0.1,0.1,0.1,0.1); // [cm]
544 param->fUseSDDCorrectionMaps = kFALSE;
545 param->fUseSDDClusterSizeSelection=kTRUE;
546 param->fMinClusterChargeSDD=30.;
549 // alignment data filter
550 param->SetAlignFilterCosmics(kTRUE);
551 param->SetAlignFilterCosmicMergeTracks(kTRUE);
552 param->SetAlignFilterMinITSPoints(1);
553 param->SetAlignFilterMinITSPointsMerged(3);
554 param->SetAlignFilterOnlyITSSATracks(kTRUE);
555 param->SetAlignFilterOnlyITSTPCTracks(kFALSE);
556 param->SetAlignFilterSkipExtra(kFALSE);
557 param->SetAlignFilterMaxMatchingAngle(0.085/*5deg*/);
558 param->SetAlignFilterMinPt(0.2);
559 param->SetAlignFilterMaxPt(1.e10);
560 param->SetAlignFilterFillQANtuples(kTRUE);
562 //******************************************************************
564 param->fMaxSnp = 0.95;
566 param->fNSigmaYLayerForRoadY = 4.;
567 param->fNSigmaRoadY = 7.5;
568 param->fNSigmaZLayerForRoadZ = 4.;
569 param->fNSigmaRoadZ = 7.5;
571 param->fNSigma2RoadZC = 60.; //7.75^2
572 param->fNSigma2RoadYC = 60.; //7.75^2
573 param->fNSigma2RoadZNonC = 50.; //7.07^2
574 param->fNSigma2RoadYNonC = 50.; //7.07^2
576 param->fMaxChi2PerCluster[0] = 11.; //7
577 param->fMaxChi2PerCluster[1] = 12.; //5
578 param->fMaxChi2PerCluster[2] = 12.; //8
579 param->fMaxChi2PerCluster[3] = 5.; //8
580 param->fMaxChi2PerCluster[4] = 12.; //6.5
582 param->fMaxNormChi2NonC[0] = 7.;
583 param->fMaxNormChi2NonC[1] = 8.;
584 param->fMaxNormChi2NonC[2] = 8.;
585 param->fMaxNormChi2NonC[3] = 11.;
586 param->fMaxNormChi2NonC[4] = 14.;
587 param->fMaxNormChi2NonC[5] = 25.;
589 param->fMaxNormChi2C[0] = 11.;
590 param->fMaxNormChi2C[1] = 13.;
591 param->fMaxNormChi2C[2] = 15.;
592 param->fMaxNormChi2C[3] = 18.;
593 param->fMaxNormChi2C[4] = 30.;
594 param->fMaxNormChi2C[5] = 35.;
596 param->fMaxNormChi2NonCForHypothesis = 7.;
598 param->fMaxChi2 = 35.;
600 param->fMaxChi2s[0] = 25.; //40
601 param->fMaxChi2s[1] = 25.; //40
602 param->fMaxChi2s[2] = 25.; //40
603 param->fMaxChi2s[3] = 25.; //40
604 param->fMaxChi2s[4] = 40.; //40
605 param->fMaxChi2s[5] = 50.; //40
607 param->fMaxRoad = 6.;
610 param->fMaxChi2In = 16.;
612 param->fMaxChi2sR[0] = 10.;
613 param->fMaxChi2sR[1] = 10.;
614 param->fMaxChi2sR[2] = 10.;
615 param->fMaxChi2sR[3] = 10.;
616 param->fMaxChi2sR[4] = 30.;
617 param->fMaxChi2sR[5] = 40.;
619 param->fChi2PerCluster = 9.;
625 param->fSigmaXV = 0.0050;
626 param->fSigmaYV = 0.0050;
627 param->fSigmaZV = 0.0100;
629 param->fVertexCut = 25.;
631 param->fMaxDZforPrimTrk = 0.4;
632 param->fMaxDZToUseConstraint = 3.;
634 param->fMaxDforV0dghtrForProlongation = 30.;
635 param->fMaxDForProlongation = 10.;
636 param->fMaxDZForProlongation = 20.;
637 param->fMinPtForProlongation = 0.120;
639 param->fZWindowDeadZone = 2.0;
640 param->fSigmaXDeadZoneHit2 = 0.004/12.;
641 param->fSigmaZDeadZoneHit2 = 0.001/12.;
642 param->fXPassDeadZoneHits = 0.018;
646 //_____________________________________________________________________________
647 AliITSRecoParam *AliITSRecoParam::GetPlaneEffParam(Int_t i)
650 // make special reconstruction parameters for Plane Efficiency study on layer i (0,5)
652 // if i=-1, then the evaluation for both pixel layers is tried with the tracklet method
654 if (i<-1 || i>=AliITSgeomTGeo::kNLayers) {
655 printf("AliITSRecoParam::GetPlaneEffParam: index of ITS Plane nor in the range [0,5] neither =-1\n");
656 printf("returning null pointer");
659 if(i>=0) { // Method using tracks (remove given plane from tracking)
660 AliITSRecoParam *param;
661 param = GetHighFluxParam();
662 param->SetComputePlaneEff();
663 param->SetLayerToSkip(i);
664 param->SetIPlanePlaneEff(i);
665 // optimized setting for SPD0 (i==0)
667 param->fMinPtPlaneEff = 0.200; // high pt particles
668 param->fMaxMissingClustersPlaneEff = 1; // at most 1 layer out of 5 without cluster
669 param->fRequireClusterInOuterLayerPlaneEff = kTRUE; // cluster on SPD1 must be
670 //param->fOnlyConstraintPlaneEff = kTRUE;
673 param->fMinPtPlaneEff = 0.200; // high pt particles
674 param->fMaxMissingClustersPlaneEff = 1; // at most 1 layer out of 5 without cluster
675 param->fRequireClusterInOuterLayerPlaneEff = kTRUE;
676 //param->fOnlyConstraintPlaneEff = kTRUE;
679 param->fMinPtPlaneEff = 0.200; // high pt particles
680 param->fMaxMissingClustersPlaneEff = 0; // at most 1 layer out of 5 without cluster
681 param->fRequireClusterInOuterLayerPlaneEff = kTRUE;
682 //param->fOnlyConstraintPlaneEff = kTRUE;
685 param->fMinPtPlaneEff = 0.200; // high pt particles
690 else if (i==-1) { // Method using tracklets
691 AliITSRecoParam *param;
692 param = GetLowFluxParam();
693 param->SetIPlanePlaneEff(i);
694 param->SetComputePlaneEff(kTRUE,kFALSE);
695 param->SetUseTrackletsPlaneEff(kTRUE);
696 param->SetTrackleterPhiWindowL2(0.07);
697 param->SetTrackleterZetaWindowL2(0.4);
698 param->SetTrackleterPhiWindowL1(0.10);
699 param->SetTrackleterZetaWindowL1(0.6);
700 param->SetUpdateOncePerEventPlaneEff(kTRUE);
701 param->SetMinContVtxPlaneEff(3);
705 AliErrorGeneral("AliITSRecoParam",Form("Unrecognised value of i %d\n",i));
709 //_____________________________________________________________________________
710 void AliITSRecoParam::SetLayersParameters()
713 // number of layers and layers spatial resolutions
716 // spatial resolutions of the detectors
717 // y: 12 12 38 38 20 20 micron
720 fSigmaY2[2]=1.444e-5;
721 fSigmaY2[3]=1.444e-5;
724 // z: 120 120 28 28 830 830 micron
729 fSigmaZ2[4]=6.889e-3;
730 fSigmaZ2[5]=6.889e-3;
734 //_____________________________________________________________________________
735 void AliITSRecoParam::PrintParameters() const
741 printf("============================= AliITSRecoParam::PrintParameters ");
742 printf("============================= \n\n");
743 for(Int_t i=0; i<AliITSgeomTGeo::kNLayers; i++) {
744 if(!fLayersToSkip[i]) {
745 printf("ITS Traking: using layer %d\n",i);
747 printf("ITS Traking: skipping layer %d\n",i);
750 for(Int_t i=0; i<AliITSgeomTGeo::kNLayers; i++) {
751 if(fUseAmplitudeInfo[i]) {
752 printf("ITS Traking: use amplitude info for layer %d\n",i);
754 printf("ITS Traking: don't use amplitude info for layer %d\n",i);
757 for(Int_t i=0; i<AliITSgeomTGeo::kNLayers; i++)
758 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]);