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 fSkipSubdetsNotInTriggerCluster(kTRUE),
113 fUseTGeoInTracker(3),
115 fAllowSharedClusters(kTRUE),
116 fClusterErrorsParam(1),
117 fComputePlaneEff(kFALSE),
118 fHistoPlaneEff(kFALSE),
119 fUseTrackletsPlaneEff(kFALSE),
120 fMCTrackletsPlaneEff(kFALSE),
121 fBkgTrackletsPlaneEff(kFALSE),
122 fTrackleterPhiWindowL1(0.10),
123 fTrackleterPhiWindowL2(0.07),
124 fTrackleterZetaWindowL1(0.6),
125 fTrackleterZetaWindowL2(0.4),
126 fUpdateOncePerEventPlaneEff(kTRUE),
127 fMinContVtxPlaneEff(3),
129 fReadPlaneEffFromOCDB(kFALSE),
131 fMaxMissingClustersPlaneEff(0),
132 fRequireClusterInOuterLayerPlaneEff(kFALSE),
133 fRequireClusterInInnerLayerPlaneEff(kFALSE),
134 fOnlyConstraintPlaneEff(kFALSE),
135 fExtendedEtaAcceptance(kFALSE),
136 fUseBadZonesFromOCDB(kTRUE),
137 fUseSingleBadChannelsFromOCDB(kFALSE),
138 fMinFractionOfBadInRoad(0),
139 fAllowProlongationWithEmptyRoad(kFALSE),
140 fInwardFlagSA(kFALSE),
141 fOuterStartLayerSA(2),
142 fInnerStartLayerSA(3),
144 fFactorSAWindowSizes(1.),
150 fMinClusterChargeSA(0.),
151 fSAOnePointTracks(kFALSE),
152 fSAUseAllClusters(kFALSE),
154 fStoreLikeSignV0s(kFALSE),
155 fUseUnfoldingInClusterFinderSPD(kFALSE),
156 fUseUnfoldingInClusterFinderSDD(kTRUE),
157 fUseUnfoldingInClusterFinderSSD(kFALSE),
158 fUseBadChannelsInClusterFinderSSD(kFALSE),
159 fUseSDDCorrectionMaps(kTRUE),
160 fUseSDDClusterSizeSelection(kFALSE),
161 fMinClusterChargeSDD(0.),
162 fUseChargeMatchingInClusterFinderSSD(kTRUE),
163 fTrackleterPhiWindow(0.08),
164 fTrackleterThetaWindow(0.025),
165 fTrackleterPhiShift(0.0045),
166 fTrackleterRemoveClustersFromOverlaps(kFALSE),
167 fTrackleterPhiOverlapCut(0.005),
168 fTrackleterZetaOverlapCut(0.05),
169 fUseCosmicRunShiftsSSD(kFALSE),
170 fSPDRemoveNoisyFlag(kTRUE),
171 fSPDRemoveDeadFlag(kTRUE),
172 fVertexerFastSmearX(0.005),
173 fVertexerFastSmearY(0.005),
174 fVertexerFastSmearZ(0.01),
175 fAlignFilterCosmics(kFALSE),
176 fAlignFilterCosmicMergeTracks(kTRUE),
177 fAlignFilterMinITSPoints(4),
178 fAlignFilterMinITSPointsMerged(4),
179 fAlignFilterOnlyITSSATracks(kTRUE),
180 fAlignFilterOnlyITSTPCTracks(kFALSE),
181 fAlignFilterSkipExtra(kFALSE),
182 fAlignFilterMaxMatchingAngle(0.085),
183 fAlignFilterMinAngleWrtModulePlanes(0.52),
184 fAlignFilterMinPt(0.),
185 fAlignFilterMaxPt(1.e10),
186 fAlignFilterFillQANtuples(kTRUE),
195 SetLayersParameters();
196 for(Int_t i=0; i<AliITSgeomTGeo::kNLayers; i++) fLayersToSkip[i]=0;
197 SetUseTGeoInTracker(3);
199 SetAllowSharedClusters(kTRUE);
201 SetAddVirtualClustersInDeadZone(kFALSE);
202 SetUseAmplitudeInfo(kTRUE);
203 SetClusterErrorsParam(1);
204 SetClusterMisalError(0.);
205 SetClusterMisalErrorBOn(0.);
206 SetVertexer3DDefaults();
208 for(Int_t i=0; i<AliITSgeomTGeo::kNLayers; i++) fAlignFilterUseLayer[i]=kTRUE;
209 fESDV0Params = new AliESDV0Params();
211 fESDV0Params->SetMaxDist0(0.1);
212 fESDV0Params->SetMaxDist1(0.1);
213 fESDV0Params->SetMaxDist(1.);
214 fESDV0Params->SetMinPointAngle(0.85);
215 fESDV0Params->SetMinPointAngle2(0.99);
216 fESDV0Params->SetMinR(0.5);
217 fESDV0Params->SetMaxR(220.);
218 fESDV0Params->SetMinPABestConst(0.9999);
219 fESDV0Params->SetMaxRBestConst(10.);
220 fESDV0Params->SetCausality0Cut(0.19);
221 fESDV0Params->SetLikelihood01Cut(0.45);
222 fESDV0Params->SetLikelihood1Cut(0.5);
223 fESDV0Params->SetCombinedCut(0.55);
224 fESDV0Params->SetMinClFullTrk(5.0);
225 fESDV0Params->SetMinTgl0(1.05);
226 fESDV0Params->SetMinRTgl0(40.0);
228 fESDV0Params->SetMinNormDistForbTgl0(3.0);
229 fESDV0Params->SetMinClForb0(4.5);
230 fESDV0Params->SetMinNormDistForb1(3.0);
231 fESDV0Params->SetMinNormDistForb2(2.0);
232 fESDV0Params->SetMinNormDistForb3(1.0);
233 fESDV0Params->SetMinNormDistForb4(4.0);
234 fESDV0Params->SetMinNormDistForb5(5.0);
235 fESDV0Params->SetMinNormDistForbProt(2.0);
236 fESDV0Params->SetMaxPidProbPionForb(0.5);
238 fESDV0Params->SetMinRTPCdensity(40.);
239 fESDV0Params->SetMaxRTPCdensity0(110.);
240 fESDV0Params->SetMaxRTPCdensity10(120.);
241 fESDV0Params->SetMaxRTPCdensity20(130.);
242 fESDV0Params->SetMaxRTPCdensity30(140.);
244 fESDV0Params->SetMinTPCdensity(0.6);
245 fESDV0Params->SetMinTgl1(1.1);
246 fESDV0Params->SetMinTgl2(1.0);
247 fESDV0Params->SetMinchi2before0(16.);
248 fESDV0Params->SetMinchi2before1(16.);
249 fESDV0Params->SetMinchi2after0(16.);
250 fESDV0Params->SetMinchi2after1(16.);
251 fESDV0Params->SetAddchi2SharedCl(18.);
252 fESDV0Params->SetAddchi2NegCl0(25.);
253 fESDV0Params->SetAddchi2NegCl1(30.);
254 fESDV0Params->SetSigp0Par0(0.0001);
255 fESDV0Params->SetSigp0Par1(0.001);
256 fESDV0Params->SetSigp0Par2(0.1);
257 fESDV0Params->SetSigpPar0(0.5);
258 fESDV0Params->SetSigpPar1(0.6);
259 fESDV0Params->SetSigpPar2(0.4);
260 fESDV0Params->SetMaxDcaLh0(0.5);
261 fESDV0Params->SetStreamLevel(0);
262 fESDV0Params->SetChi2KF(100);
263 fESDV0Params->SetRobustChi2KF(100);
266 //_____________________________________________________________________________
267 AliITSRecoParam::~AliITSRecoParam()
277 //_____________________________________________________________________________
278 AliITSRecoParam *AliITSRecoParam::GetHighFluxParam()
281 // make default reconstruction parameters for hig flux env.
283 AliITSRecoParam *param = new AliITSRecoParam();
284 param->SetVertexerZ();
286 // use of bads from OCDB
287 param->SetUseBadZonesFromOCDB(kTRUE);
288 param->SetUseSingleBadChannelsFromOCDB(kFALSE);
289 // extended eta acceptance
290 param->SetExtendedEtaAcceptance(kFALSE);
291 // allow to skip layer if no cluster and no bad
292 param->SetAllowProlongationWithEmptyRoad(kFALSE);
294 param->SetEventSpecie(AliRecoParam::kHighMult);
296 param->fMaxSnp = 0.95;
298 param->fNSigmaYLayerForRoadY = 4.;
299 param->fNSigmaRoadY = 7.5;
300 param->fNSigmaZLayerForRoadZ = 4.;
301 param->fNSigmaRoadZ = 7.5;
303 param->fNSigma2RoadZC = 60.; //7.75^2
304 param->fNSigma2RoadYC = 60.; //7.75^2
305 param->fNSigma2RoadZNonC = 50.; //7.07^2
306 param->fNSigma2RoadYNonC = 50.; //7.07^2
308 param->fMaxChi2PerCluster[0] = 11.; //7
309 param->fMaxChi2PerCluster[1] = 12.; //5
310 param->fMaxChi2PerCluster[2] = 12.; //8
311 param->fMaxChi2PerCluster[3] = 5.; //8
312 param->fMaxChi2PerCluster[4] = 12.; //6.5
314 param->fMaxNormChi2NonC[0] = 7.;
315 param->fMaxNormChi2NonC[1] = 8.;
316 param->fMaxNormChi2NonC[2] = 8.;
317 param->fMaxNormChi2NonC[3] = 11.;
318 param->fMaxNormChi2NonC[4] = 14.;
319 param->fMaxNormChi2NonC[5] = 25.;
321 param->fMaxNormChi2C[0] = 11.;
322 param->fMaxNormChi2C[1] = 13.;
323 param->fMaxNormChi2C[2] = 15.;
324 param->fMaxNormChi2C[3] = 18.;
325 param->fMaxNormChi2C[4] = 30.;
326 param->fMaxNormChi2C[5] = 35.;
328 param->fMaxNormChi2NonCForHypothesis = 7.;
330 param->fMaxChi2 = 35.;
332 param->fMaxChi2s[0] = 25.; //40
333 param->fMaxChi2s[1] = 25.; //40
334 param->fMaxChi2s[2] = 25.; //40
335 param->fMaxChi2s[3] = 25.; //40
336 param->fMaxChi2s[4] = 40.; //40
337 param->fMaxChi2s[5] = 50.; //40
339 param->fMaxRoad = 6.;
342 param->fMaxChi2In = 16.;
344 param->fMaxChi2sR[0] = 10.;
345 param->fMaxChi2sR[1] = 10.;
346 param->fMaxChi2sR[2] = 10.;
347 param->fMaxChi2sR[3] = 10.;
348 param->fMaxChi2sR[4] = 30.;
349 param->fMaxChi2sR[5] = 40.;
351 param->fChi2PerCluster = 9.;
357 param->fSigmaXV = 0.0050;
358 param->fSigmaYV = 0.0050;
359 param->fSigmaZV = 0.0100;
361 param->fVertexCut = 25.;
363 param->fMaxDZforPrimTrk = 0.4;
364 param->fMaxDZToUseConstraint = 3.;
366 param->fMaxDforV0dghtrForProlongation = 30.;
367 param->fMaxDForProlongation = 40.;//10.;
368 param->fMaxDZForProlongation = 60.;//20.;
369 param->fMinPtForProlongation = 0.120;
371 param->fZWindowDeadZone = 2.0;
372 param->fSigmaXDeadZoneHit2 = 0.004/12.;
373 param->fSigmaZDeadZoneHit2 = 0.001/12.;
374 param->fXPassDeadZoneHits = 0.018;
380 //_____________________________________________________________________________
381 AliITSRecoParam *AliITSRecoParam::GetLowFluxParam()
384 // make default reconstruction parameters for low flux env.
386 AliITSRecoParam *param = new AliITSRecoParam();
387 param->SetVertexer3DDefaults();
389 // full use of bads from OCDB
390 param->SetUseBadZonesFromOCDB(kTRUE);
391 param->SetUseSingleBadChannelsFromOCDB(kTRUE);
392 // extended eta acceptance
393 param->SetExtendedEtaAcceptance(kTRUE);
394 // allow to skip layer if no cluster and no bad
395 param->SetAllowProlongationWithEmptyRoad(kTRUE);
397 param->SetEventSpecie(AliRecoParam::kLowMult);
399 param->fMaxSnp = 0.95;
401 param->fNSigmaYLayerForRoadY = 4.;
402 param->fNSigmaRoadY = 7.5;
403 param->fNSigmaZLayerForRoadZ = 4.;
404 param->fNSigmaRoadZ = 7.5;
406 param->fNSigma2RoadZC = 60.; //7.75^2
407 param->fNSigma2RoadYC = 60.; //7.75^2
408 param->fNSigma2RoadZNonC = 50.; //7.07^2
409 param->fNSigma2RoadYNonC = 50.; //7.07^2
411 param->fMaxChi2PerCluster[0] = 11.; //7
412 param->fMaxChi2PerCluster[1] = 12.; //5
413 param->fMaxChi2PerCluster[2] = 12.; //8
414 param->fMaxChi2PerCluster[3] = 5.; //8
415 param->fMaxChi2PerCluster[4] = 12.; //6.5
417 param->fMaxNormChi2NonC[0] = 7.;
418 param->fMaxNormChi2NonC[1] = 8.;
419 param->fMaxNormChi2NonC[2] = 8.;
420 param->fMaxNormChi2NonC[3] = 11.;
421 param->fMaxNormChi2NonC[4] = 14.;
422 param->fMaxNormChi2NonC[5] = 25.;
424 param->fMaxNormChi2C[0] = 11.;
425 param->fMaxNormChi2C[1] = 13.;
426 param->fMaxNormChi2C[2] = 15.;
427 param->fMaxNormChi2C[3] = 18.;
428 param->fMaxNormChi2C[4] = 30.;
429 param->fMaxNormChi2C[5] = 35.;
431 param->fMaxNormChi2NonCForHypothesis = 7.;
433 param->fMaxChi2 = 35.;
435 param->fMaxChi2s[0] = 25.; //40
436 param->fMaxChi2s[1] = 25.; //40
437 param->fMaxChi2s[2] = 25.; //40
438 param->fMaxChi2s[3] = 25.; //40
439 param->fMaxChi2s[4] = 40.; //40
440 param->fMaxChi2s[5] = 50.; //40
442 param->fMaxRoad = 6.;
445 param->fMaxChi2In = 16.;
447 param->fMaxChi2sR[0] = 10.;
448 param->fMaxChi2sR[1] = 10.;
449 param->fMaxChi2sR[2] = 10.;
450 param->fMaxChi2sR[3] = 10.;
451 param->fMaxChi2sR[4] = 30.;
452 param->fMaxChi2sR[5] = 40.;
454 param->fChi2PerCluster = 9.;
460 param->fSigmaXV = 0.0050;
461 param->fSigmaYV = 0.0050;
462 param->fSigmaZV = 0.0100;
464 param->fVertexCut = 25.;
466 param->fMaxDZforPrimTrk = 0.4;
467 param->fMaxDZToUseConstraint = 3.;
469 param->fMaxDforV0dghtrForProlongation = 30.;
470 param->fMaxDForProlongation = 40.;//10.;
471 param->fMaxDZForProlongation = 60.;//20.;
472 param->fMinPtForProlongation = 0.120;
474 param->fZWindowDeadZone = 2.0;
475 param->fSigmaXDeadZoneHit2 = 0.004/12.;
476 param->fSigmaZDeadZoneHit2 = 0.001/12.;
477 param->fXPassDeadZoneHits = 0.018;
478 param->SetNLoopsSA(20);
479 param->fMaxPhiSA = 0.07;
480 param->fMaxLambdaSA = 0.04;
483 param->GetESDV0Params()->SetMinRTgl0(0.5);
484 param->GetESDV0Params()->SetMaxDist(1.5);
485 param->GetESDV0Params()->SetMaxDcaLh0(1.5);
486 param->GetESDV0Params()->SetMaxRBestConst(80);
487 param->GetESDV0Params()->SetMinPABestConst(0.99);
488 param->GetESDV0Params()->SetMinNormDistForbTgl0(1.);
489 param->GetESDV0Params()->SetMinNormDistForb1(2.);
490 param->GetESDV0Params()->SetMinNormDistForbProt(1.);
491 param->GetESDV0Params()->SetMaxPidProbPionForb(0.7);
492 param->GetESDV0Params()->SetLikelihood01Cut(0.3);
493 param->GetESDV0Params()->SetLikelihood1Cut(0.35);
494 param->GetESDV0Params()->SetCombinedCut(0.4);
500 //_____________________________________________________________________________
501 AliITSRecoParam *AliITSRecoParam::GetCosmicTestParam()
504 // make default reconstruction parameters for cosmics
506 AliITSRecoParam *param = new AliITSRecoParam();
508 // vertexer for cosmics
509 param->SetVertexer(2);
511 param->SetClusterErrorsParam(2);
512 param->SetFindV0s(kFALSE);
513 param->SetAddVirtualClustersInDeadZone(kFALSE);
514 param->SetUseAmplitudeInfo(kFALSE);
517 param->SetEventSpecie(AliRecoParam::kCosmic);
519 // full use of bads from OCDB
520 param->SetUseBadZonesFromOCDB(kTRUE);
521 param->SetUseSingleBadChannelsFromOCDB(kTRUE);
523 // find independently ITS SA tracks
524 param->SetSAUseAllClusters();
525 param->SetOuterStartLayerSA(AliITSgeomTGeo::GetNLayers()-2);
527 //****** COSMICS 2009 (same as COSMICS 2008) *********************
529 // to maximize efficiency
530 param->SetAllowProlongationWithEmptyRoad();
531 param->SetMinNPointsSA(2);
533 // larger seach windows for SA (in case of large misalignments)
534 param->SetNLoopsSA(33);
535 param->SetFactorSAWindowSizes(20);
537 // additional error due to misal (B off)
538 param->SetClusterMisalErrorY(1.0,1.0,1.0,1.0,1.0,1.0); // [cm]
539 param->SetClusterMisalErrorZ(1.0,1.0,1.0,1.0,1.0,1.0); // [cm]
540 // additional error due to misal (B on)
541 param->SetClusterMisalErrorYBOn(0.0,0.0,0.1,0.1,0.1,0.1); // [cm]
542 param->SetClusterMisalErrorZBOn(0.1,0.1,0.1,0.1,0.1,0.1); // [cm]
546 param->fUseSDDCorrectionMaps = kFALSE;
547 param->fUseSDDClusterSizeSelection=kTRUE;
548 param->fMinClusterChargeSDD=30.;
551 // alignment data filter
552 param->SetAlignFilterCosmics(kTRUE);
553 param->SetAlignFilterCosmicMergeTracks(kTRUE);
554 param->SetAlignFilterMinITSPoints(1);
555 param->SetAlignFilterMinITSPointsMerged(3);
556 param->SetAlignFilterOnlyITSSATracks(kTRUE);
557 param->SetAlignFilterOnlyITSTPCTracks(kFALSE);
558 param->SetAlignFilterSkipExtra(kFALSE);
559 param->SetAlignFilterMaxMatchingAngle(0.085/*5deg*/);
560 param->SetAlignFilterMinPt(0.2);
561 param->SetAlignFilterMaxPt(1.e10);
562 param->SetAlignFilterFillQANtuples(kTRUE);
564 //******************************************************************
566 param->fMaxSnp = 0.95;
568 param->fNSigmaYLayerForRoadY = 4.;
569 param->fNSigmaRoadY = 7.5;
570 param->fNSigmaZLayerForRoadZ = 4.;
571 param->fNSigmaRoadZ = 7.5;
573 param->fNSigma2RoadZC = 60.; //7.75^2
574 param->fNSigma2RoadYC = 60.; //7.75^2
575 param->fNSigma2RoadZNonC = 50.; //7.07^2
576 param->fNSigma2RoadYNonC = 50.; //7.07^2
578 param->fMaxChi2PerCluster[0] = 11.; //7
579 param->fMaxChi2PerCluster[1] = 12.; //5
580 param->fMaxChi2PerCluster[2] = 12.; //8
581 param->fMaxChi2PerCluster[3] = 5.; //8
582 param->fMaxChi2PerCluster[4] = 12.; //6.5
584 param->fMaxNormChi2NonC[0] = 7.;
585 param->fMaxNormChi2NonC[1] = 8.;
586 param->fMaxNormChi2NonC[2] = 8.;
587 param->fMaxNormChi2NonC[3] = 11.;
588 param->fMaxNormChi2NonC[4] = 14.;
589 param->fMaxNormChi2NonC[5] = 25.;
591 param->fMaxNormChi2C[0] = 11.;
592 param->fMaxNormChi2C[1] = 13.;
593 param->fMaxNormChi2C[2] = 15.;
594 param->fMaxNormChi2C[3] = 18.;
595 param->fMaxNormChi2C[4] = 30.;
596 param->fMaxNormChi2C[5] = 35.;
598 param->fMaxNormChi2NonCForHypothesis = 7.;
600 param->fMaxChi2 = 35.;
602 param->fMaxChi2s[0] = 25.; //40
603 param->fMaxChi2s[1] = 25.; //40
604 param->fMaxChi2s[2] = 25.; //40
605 param->fMaxChi2s[3] = 25.; //40
606 param->fMaxChi2s[4] = 40.; //40
607 param->fMaxChi2s[5] = 50.; //40
609 param->fMaxRoad = 6.;
612 param->fMaxChi2In = 16.;
614 param->fMaxChi2sR[0] = 10.;
615 param->fMaxChi2sR[1] = 10.;
616 param->fMaxChi2sR[2] = 10.;
617 param->fMaxChi2sR[3] = 10.;
618 param->fMaxChi2sR[4] = 30.;
619 param->fMaxChi2sR[5] = 40.;
621 param->fChi2PerCluster = 9.;
627 param->fSigmaXV = 0.0050;
628 param->fSigmaYV = 0.0050;
629 param->fSigmaZV = 0.0100;
631 param->fVertexCut = 25.;
633 param->fMaxDZforPrimTrk = 0.4;
634 param->fMaxDZToUseConstraint = 3.;
636 param->fMaxDforV0dghtrForProlongation = 30.;
637 param->fMaxDForProlongation = 10.;
638 param->fMaxDZForProlongation = 20.;
639 param->fMinPtForProlongation = 0.120;
641 param->fZWindowDeadZone = 2.0;
642 param->fSigmaXDeadZoneHit2 = 0.004/12.;
643 param->fSigmaZDeadZoneHit2 = 0.001/12.;
644 param->fXPassDeadZoneHits = 0.018;
648 //_____________________________________________________________________________
649 AliITSRecoParam *AliITSRecoParam::GetPlaneEffParam(Int_t i)
652 // make special reconstruction parameters for Plane Efficiency study on layer i (0,5)
654 // if i=-1, then the evaluation for both pixel layers is tried with the tracklet method
656 if (i<-1 || i>=AliITSgeomTGeo::kNLayers) {
657 printf("AliITSRecoParam::GetPlaneEffParam: index of ITS Plane nor in the range [0,5] neither =-1\n");
658 printf("returning null pointer");
661 if(i>=0) { // Method using tracks (remove given plane from tracking)
662 AliITSRecoParam *param;
663 param = GetHighFluxParam();
664 param->SetComputePlaneEff();
665 param->SetLayerToSkip(i);
666 param->SetIPlanePlaneEff(i);
667 // optimized setting for SPD0 (i==0)
669 param->fMinPtPlaneEff = 0.200; // high pt particles
670 param->fMaxMissingClustersPlaneEff = 1; // at most 1 layer out of 5 without cluster
671 param->fRequireClusterInOuterLayerPlaneEff = kTRUE; // cluster on SPD1 must be
672 //param->fOnlyConstraintPlaneEff = kTRUE;
675 param->fMinPtPlaneEff = 0.200; // high pt particles
676 param->fMaxMissingClustersPlaneEff = 1; // at most 1 layer out of 5 without cluster
677 param->fRequireClusterInOuterLayerPlaneEff = kTRUE;
678 //param->fOnlyConstraintPlaneEff = kTRUE;
681 param->fMinPtPlaneEff = 0.200; // high pt particles
682 param->fMaxMissingClustersPlaneEff = 0; // at most 1 layer out of 5 without cluster
683 param->fRequireClusterInOuterLayerPlaneEff = kTRUE;
684 //param->fOnlyConstraintPlaneEff = kTRUE;
687 param->fMinPtPlaneEff = 0.200; // high pt particles
692 else if (i==-1) { // Method using tracklets
693 AliITSRecoParam *param;
694 param = GetLowFluxParam();
695 param->SetIPlanePlaneEff(i);
696 param->SetComputePlaneEff(kTRUE,kFALSE);
697 param->SetUseTrackletsPlaneEff(kTRUE);
698 param->SetTrackleterPhiWindowL2(0.07);
699 param->SetTrackleterZetaWindowL2(0.4);
700 param->SetTrackleterPhiWindowL1(0.10);
701 param->SetTrackleterZetaWindowL1(0.6);
702 param->SetUpdateOncePerEventPlaneEff(kTRUE);
703 param->SetMinContVtxPlaneEff(3);
707 AliErrorGeneral("AliITSRecoParam",Form("Unrecognised value of i %d\n",i));
711 //_____________________________________________________________________________
712 void AliITSRecoParam::SetLayersParameters()
715 // number of layers and layers spatial resolutions
718 // spatial resolutions of the detectors
719 // y: 12 12 38 38 20 20 micron
722 fSigmaY2[2]=1.444e-5;
723 fSigmaY2[3]=1.444e-5;
726 // z: 120 120 28 28 830 830 micron
731 fSigmaZ2[4]=6.889e-3;
732 fSigmaZ2[5]=6.889e-3;
736 //_____________________________________________________________________________
737 void AliITSRecoParam::PrintParameters() const
743 printf("============================= AliITSRecoParam::PrintParameters ");
744 printf("============================= \n\n");
745 for(Int_t i=0; i<AliITSgeomTGeo::kNLayers; i++) {
746 if(!fLayersToSkip[i]) {
747 printf("ITS Traking: using layer %d\n",i);
749 printf("ITS Traking: skipping layer %d\n",i);
752 for(Int_t i=0; i<AliITSgeomTGeo::kNLayers; i++) {
753 if(fUseAmplitudeInfo[i]) {
754 printf("ITS Traking: use amplitude info for layer %d\n",i);
756 printf("ITS Traking: don't use amplitude info for layer %d\n",i);
759 for(Int_t i=0; i<AliITSgeomTGeo::kNLayers; i++)
760 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]);