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.7;
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->SetCausality0Cut(0.19);
218 fESDV0Params->SetLikelihood01Cut(0.45);
219 fESDV0Params->SetLikelihood1Cut(0.5);
220 fESDV0Params->SetCombinedCut(0.55);
221 fESDV0Params->SetMinClFullTrk(5.0);
222 fESDV0Params->SetMinTgl0(1.05);
223 fESDV0Params->SetMinTPCdensity(0.6);
224 fESDV0Params->SetMinTgl1(1.1);
225 fESDV0Params->SetMinTgl2(1.0);
226 fESDV0Params->SetMinchi2before0(16.);
227 fESDV0Params->SetMinchi2before1(16.);
228 fESDV0Params->SetMinchi2after0(16.);
229 fESDV0Params->SetMinchi2after1(16.);
230 fESDV0Params->SetAddchi2SharedCl(18.);
231 fESDV0Params->SetAddchi2NegCl0(25.);
232 fESDV0Params->SetAddchi2NegCl1(30.);
233 fESDV0Params->SetSigp0Par0(0.0001);
234 fESDV0Params->SetSigp0Par1(0.001);
235 fESDV0Params->SetSigp0Par2(0.1);
236 fESDV0Params->SetSigpPar0(0.5);
237 fESDV0Params->SetSigpPar1(0.6);
238 fESDV0Params->SetSigpPar2(0.4);
239 fESDV0Params->SetStreamLevel(0);
240 fESDV0Params->SetChi2KF(100);
241 fESDV0Params->SetRobustChi2KF(100);
244 //_____________________________________________________________________________
245 AliITSRecoParam::~AliITSRecoParam()
255 //_____________________________________________________________________________
256 AliITSRecoParam *AliITSRecoParam::GetHighFluxParam()
259 // make default reconstruction parameters for hig flux env.
261 AliITSRecoParam *param = new AliITSRecoParam();
262 param->SetVertexerZ();
264 // use of bads from OCDB
265 param->SetUseBadZonesFromOCDB(kTRUE);
266 param->SetUseSingleBadChannelsFromOCDB(kFALSE);
267 // extended eta acceptance
268 param->SetExtendedEtaAcceptance(kFALSE);
269 // allow to skip layer if no cluster and no bad
270 param->SetAllowProlongationWithEmptyRoad(kFALSE);
273 param->fMaxSnp = 0.95;
275 param->fNSigmaYLayerForRoadY = 4.;
276 param->fNSigmaRoadY = 7.5;
277 param->fNSigmaZLayerForRoadZ = 4.;
278 param->fNSigmaRoadZ = 7.5;
280 param->fNSigma2RoadZC = 60.; //7.75^2
281 param->fNSigma2RoadYC = 60.; //7.75^2
282 param->fNSigma2RoadZNonC = 50.; //7.07^2
283 param->fNSigma2RoadYNonC = 50.; //7.07^2
285 param->fMaxChi2PerCluster[0] = 11.; //7
286 param->fMaxChi2PerCluster[1] = 12.; //5
287 param->fMaxChi2PerCluster[2] = 12.; //8
288 param->fMaxChi2PerCluster[3] = 5.; //8
289 param->fMaxChi2PerCluster[4] = 12.; //6.5
291 param->fMaxNormChi2NonC[0] = 7.;
292 param->fMaxNormChi2NonC[1] = 8.;
293 param->fMaxNormChi2NonC[2] = 8.;
294 param->fMaxNormChi2NonC[3] = 11.;
295 param->fMaxNormChi2NonC[4] = 14.;
296 param->fMaxNormChi2NonC[5] = 25.;
298 param->fMaxNormChi2C[0] = 11.;
299 param->fMaxNormChi2C[1] = 13.;
300 param->fMaxNormChi2C[2] = 15.;
301 param->fMaxNormChi2C[3] = 18.;
302 param->fMaxNormChi2C[4] = 30.;
303 param->fMaxNormChi2C[5] = 35.;
305 param->fMaxNormChi2NonCForHypothesis = 7.;
307 param->fMaxChi2 = 35.;
309 param->fMaxChi2s[0] = 25.; //40
310 param->fMaxChi2s[1] = 25.; //40
311 param->fMaxChi2s[2] = 25.; //40
312 param->fMaxChi2s[3] = 25.; //40
313 param->fMaxChi2s[4] = 40.; //40
314 param->fMaxChi2s[5] = 50.; //40
316 param->fMaxRoad = 6.;
319 param->fMaxChi2In = 16.;
321 param->fMaxChi2sR[0] = 10.;
322 param->fMaxChi2sR[1] = 10.;
323 param->fMaxChi2sR[2] = 10.;
324 param->fMaxChi2sR[3] = 10.;
325 param->fMaxChi2sR[4] = 30.;
326 param->fMaxChi2sR[5] = 40.;
328 param->fChi2PerCluster = 9.;
334 param->fSigmaXV = 0.0050;
335 param->fSigmaYV = 0.0050;
336 param->fSigmaZV = 0.0100;
338 param->fVertexCut = 25.;
340 param->fMaxDZforPrimTrk = 0.4;
341 param->fMaxDZToUseConstraint = 3.;
343 param->fMaxDforV0dghtrForProlongation = 30.;
344 param->fMaxDForProlongation = 40.;//10.;
345 param->fMaxDZForProlongation = 60.;//20.;
346 param->fMinPtForProlongation = 0.120;
348 param->fZWindowDeadZone = 2.0;
349 param->fSigmaXDeadZoneHit2 = 0.004/12.;
350 param->fSigmaZDeadZoneHit2 = 0.001/12.;
351 param->fXPassDeadZoneHits = 0.018;
355 //_____________________________________________________________________________
356 AliITSRecoParam *AliITSRecoParam::GetLowFluxParam()
359 // make default reconstruction parameters for low flux env.
361 AliITSRecoParam *param = new AliITSRecoParam();
362 param->SetVertexer3DDefaults();
364 // full use of bads from OCDB
365 param->SetUseBadZonesFromOCDB(kTRUE);
366 param->SetUseSingleBadChannelsFromOCDB(kTRUE);
367 // extended eta acceptance
368 param->SetExtendedEtaAcceptance(kTRUE);
369 // allow to skip layer if no cluster and no bad
370 param->SetAllowProlongationWithEmptyRoad(kTRUE);
373 param->fMaxSnp = 0.95;
375 param->fNSigmaYLayerForRoadY = 4.;
376 param->fNSigmaRoadY = 7.5;
377 param->fNSigmaZLayerForRoadZ = 4.;
378 param->fNSigmaRoadZ = 7.5;
380 param->fNSigma2RoadZC = 60.; //7.75^2
381 param->fNSigma2RoadYC = 60.; //7.75^2
382 param->fNSigma2RoadZNonC = 50.; //7.07^2
383 param->fNSigma2RoadYNonC = 50.; //7.07^2
385 param->fMaxChi2PerCluster[0] = 11.; //7
386 param->fMaxChi2PerCluster[1] = 12.; //5
387 param->fMaxChi2PerCluster[2] = 12.; //8
388 param->fMaxChi2PerCluster[3] = 5.; //8
389 param->fMaxChi2PerCluster[4] = 12.; //6.5
391 param->fMaxNormChi2NonC[0] = 7.;
392 param->fMaxNormChi2NonC[1] = 8.;
393 param->fMaxNormChi2NonC[2] = 8.;
394 param->fMaxNormChi2NonC[3] = 11.;
395 param->fMaxNormChi2NonC[4] = 14.;
396 param->fMaxNormChi2NonC[5] = 25.;
398 param->fMaxNormChi2C[0] = 11.;
399 param->fMaxNormChi2C[1] = 13.;
400 param->fMaxNormChi2C[2] = 15.;
401 param->fMaxNormChi2C[3] = 18.;
402 param->fMaxNormChi2C[4] = 30.;
403 param->fMaxNormChi2C[5] = 35.;
405 param->fMaxNormChi2NonCForHypothesis = 7.;
407 param->fMaxChi2 = 35.;
409 param->fMaxChi2s[0] = 25.; //40
410 param->fMaxChi2s[1] = 25.; //40
411 param->fMaxChi2s[2] = 25.; //40
412 param->fMaxChi2s[3] = 25.; //40
413 param->fMaxChi2s[4] = 40.; //40
414 param->fMaxChi2s[5] = 50.; //40
416 param->fMaxRoad = 6.;
419 param->fMaxChi2In = 16.;
421 param->fMaxChi2sR[0] = 10.;
422 param->fMaxChi2sR[1] = 10.;
423 param->fMaxChi2sR[2] = 10.;
424 param->fMaxChi2sR[3] = 10.;
425 param->fMaxChi2sR[4] = 30.;
426 param->fMaxChi2sR[5] = 40.;
428 param->fChi2PerCluster = 9.;
434 param->fSigmaXV = 0.0050;
435 param->fSigmaYV = 0.0050;
436 param->fSigmaZV = 0.0100;
438 param->fVertexCut = 25.;
440 param->fMaxDZforPrimTrk = 0.4;
441 param->fMaxDZToUseConstraint = 3.;
443 param->fMaxDforV0dghtrForProlongation = 30.;
444 param->fMaxDForProlongation = 40.;//10.;
445 param->fMaxDZForProlongation = 60.;//20.;
446 param->fMinPtForProlongation = 0.120;
448 param->fZWindowDeadZone = 2.0;
449 param->fSigmaXDeadZoneHit2 = 0.004/12.;
450 param->fSigmaZDeadZoneHit2 = 0.001/12.;
451 param->fXPassDeadZoneHits = 0.018;
452 param->SetNLoopsSA(20);
453 param->fMaxPhiSA = 0.07;
454 param->fMaxLambdaSA = 0.04;
457 //_____________________________________________________________________________
458 AliITSRecoParam *AliITSRecoParam::GetCosmicTestParam()
461 // make default reconstruction parameters for cosmics
463 AliITSRecoParam *param = new AliITSRecoParam();
465 // vertexer for cosmics
466 param->SetVertexer(2);
468 param->SetClusterErrorsParam(2);
469 param->SetFindV0s(kFALSE);
470 param->SetAddVirtualClustersInDeadZone(kFALSE);
471 param->SetUseAmplitudeInfo(kFALSE);
473 // full use of bads from OCDB
474 param->SetUseBadZonesFromOCDB(kTRUE);
475 param->SetUseSingleBadChannelsFromOCDB(kTRUE);
477 // find independently ITS SA tracks
478 param->SetSAUseAllClusters();
479 param->SetOuterStartLayerSA(AliITSgeomTGeo::GetNLayers()-2);
481 //****** COSMICS 2009 (same as COSMICS 2008) *********************
483 // to maximize efficiency
484 param->SetAllowProlongationWithEmptyRoad();
486 // larger seach windows for SA (in case of large misalignments)
487 param->SetNLoopsSA(33);
488 param->SetFactorSAWindowSizes(20);
490 // additional error due to misal (B off)
491 param->SetClusterMisalErrorY(1.0,1.0,1.0,1.0,1.0,1.0); // [cm]
492 param->SetClusterMisalErrorZ(1.0,1.0,1.0,1.0,1.0,1.0); // [cm]
493 // additional error due to misal (B on)
494 param->SetClusterMisalErrorYBOn(0.0,0.0,0.1,0.1,0.1,0.1); // [cm]
495 param->SetClusterMisalErrorZBOn(0.1,0.1,0.1,0.1,0.1,0.1); // [cm]
499 param->fUseSDDCorrectionMaps = kFALSE;
500 param->fUseSDDClusterSizeSelection=kTRUE;
501 param->fMinClusterChargeSDD=30.;
504 // alignment data filter
505 param->SetAlignFilterCosmics(kTRUE);
506 param->SetAlignFilterCosmicMergeTracks(kTRUE);
507 param->SetAlignFilterMinITSPoints(1);
508 param->SetAlignFilterMinITSPointsMerged(3);
509 param->SetAlignFilterOnlyITSSATracks(kTRUE);
510 param->SetAlignFilterOnlyITSTPCTracks(kFALSE);
511 param->SetAlignFilterSkipExtra(kFALSE);
512 param->SetAlignFilterMaxMatchingAngle(0.085/*5deg*/);
513 param->SetAlignFilterMinPt(0.2);
514 param->SetAlignFilterMaxPt(1.e10);
515 param->SetAlignFilterFillQANtuples(kTRUE);
517 //******************************************************************
519 param->fMaxSnp = 0.95;
521 param->fNSigmaYLayerForRoadY = 4.;
522 param->fNSigmaRoadY = 7.5;
523 param->fNSigmaZLayerForRoadZ = 4.;
524 param->fNSigmaRoadZ = 7.5;
526 param->fNSigma2RoadZC = 60.; //7.75^2
527 param->fNSigma2RoadYC = 60.; //7.75^2
528 param->fNSigma2RoadZNonC = 50.; //7.07^2
529 param->fNSigma2RoadYNonC = 50.; //7.07^2
531 param->fMaxChi2PerCluster[0] = 11.; //7
532 param->fMaxChi2PerCluster[1] = 12.; //5
533 param->fMaxChi2PerCluster[2] = 12.; //8
534 param->fMaxChi2PerCluster[3] = 5.; //8
535 param->fMaxChi2PerCluster[4] = 12.; //6.5
537 param->fMaxNormChi2NonC[0] = 7.;
538 param->fMaxNormChi2NonC[1] = 8.;
539 param->fMaxNormChi2NonC[2] = 8.;
540 param->fMaxNormChi2NonC[3] = 11.;
541 param->fMaxNormChi2NonC[4] = 14.;
542 param->fMaxNormChi2NonC[5] = 25.;
544 param->fMaxNormChi2C[0] = 11.;
545 param->fMaxNormChi2C[1] = 13.;
546 param->fMaxNormChi2C[2] = 15.;
547 param->fMaxNormChi2C[3] = 18.;
548 param->fMaxNormChi2C[4] = 30.;
549 param->fMaxNormChi2C[5] = 35.;
551 param->fMaxNormChi2NonCForHypothesis = 7.;
553 param->fMaxChi2 = 35.;
555 param->fMaxChi2s[0] = 25.; //40
556 param->fMaxChi2s[1] = 25.; //40
557 param->fMaxChi2s[2] = 25.; //40
558 param->fMaxChi2s[3] = 25.; //40
559 param->fMaxChi2s[4] = 40.; //40
560 param->fMaxChi2s[5] = 50.; //40
562 param->fMaxRoad = 6.;
565 param->fMaxChi2In = 16.;
567 param->fMaxChi2sR[0] = 10.;
568 param->fMaxChi2sR[1] = 10.;
569 param->fMaxChi2sR[2] = 10.;
570 param->fMaxChi2sR[3] = 10.;
571 param->fMaxChi2sR[4] = 30.;
572 param->fMaxChi2sR[5] = 40.;
574 param->fChi2PerCluster = 9.;
580 param->fSigmaXV = 0.0050;
581 param->fSigmaYV = 0.0050;
582 param->fSigmaZV = 0.0100;
584 param->fVertexCut = 25.;
586 param->fMaxDZforPrimTrk = 0.4;
587 param->fMaxDZToUseConstraint = 3.;
589 param->fMaxDforV0dghtrForProlongation = 30.;
590 param->fMaxDForProlongation = 10.;
591 param->fMaxDZForProlongation = 20.;
592 param->fMinPtForProlongation = 0.120;
594 param->fZWindowDeadZone = 2.0;
595 param->fSigmaXDeadZoneHit2 = 0.004/12.;
596 param->fSigmaZDeadZoneHit2 = 0.001/12.;
597 param->fXPassDeadZoneHits = 0.018;
601 //_____________________________________________________________________________
602 AliITSRecoParam *AliITSRecoParam::GetPlaneEffParam(Int_t i)
605 // make special reconstruction parameters for Plane Efficiency study on layer i (0,5)
607 // if i=-1, then the evaluation for both pixel layers is tried with the tracklet method
609 if (i<-1 || i>=AliITSgeomTGeo::kNLayers) {
610 printf("AliITSRecoParam::GetPlaneEffParam: index of ITS Plane nor in the range [0,5] neither =-1\n");
611 printf("returning null pointer");
614 if(i>=0) { // Method using tracks (remove given plane from tracking)
615 AliITSRecoParam *param;
616 param = GetHighFluxParam();
617 param->SetComputePlaneEff();
618 param->SetLayerToSkip(i);
619 param->SetIPlanePlaneEff(i);
620 // optimized setting for SPD0 (i==0)
622 param->fMinPtPlaneEff = 0.200; // high pt particles
623 param->fMaxMissingClustersPlaneEff = 1; // at most 1 layer out of 5 without cluster
624 param->fRequireClusterInOuterLayerPlaneEff = kTRUE; // cluster on SPD1 must be
625 //param->fOnlyConstraintPlaneEff = kTRUE;
628 param->fMinPtPlaneEff = 0.200; // high pt particles
629 param->fMaxMissingClustersPlaneEff = 1; // at most 1 layer out of 5 without cluster
630 param->fRequireClusterInOuterLayerPlaneEff = kTRUE;
631 //param->fOnlyConstraintPlaneEff = kTRUE;
634 param->fMinPtPlaneEff = 0.200; // high pt particles
635 param->fMaxMissingClustersPlaneEff = 0; // at most 1 layer out of 5 without cluster
636 param->fRequireClusterInOuterLayerPlaneEff = kTRUE;
637 //param->fOnlyConstraintPlaneEff = kTRUE;
640 param->fMinPtPlaneEff = 0.200; // high pt particles
645 else if (i==-1) { // Method using tracklets
646 AliITSRecoParam *param;
647 param = GetLowFluxParam();
648 param->SetIPlanePlaneEff(i);
649 param->SetComputePlaneEff(kTRUE,kFALSE);
650 param->SetUseTrackletsPlaneEff(kTRUE);
651 param->SetTrackleterPhiWindowL2(0.07);
652 param->SetTrackleterZetaWindowL2(0.4);
653 param->SetTrackleterPhiWindowL1(0.10);
654 param->SetTrackleterZetaWindowL1(0.6);
655 param->SetUpdateOncePerEventPlaneEff(kTRUE);
656 param->SetMinContVtxPlaneEff(3);
660 AliErrorGeneral("AliITSRecoParam",Form("Unrecognised value of i %d\n",i));
664 //_____________________________________________________________________________
665 void AliITSRecoParam::SetLayersParameters()
668 // number of layers and layers spatial resolutions
671 // spatial resolutions of the detectors
672 // y: 12 12 38 38 20 20 micron
675 fSigmaY2[2]=1.444e-5;
676 fSigmaY2[3]=1.444e-5;
679 // z: 120 120 28 28 830 830 micron
684 fSigmaZ2[4]=6.889e-3;
685 fSigmaZ2[5]=6.889e-3;
689 //_____________________________________________________________________________
690 void AliITSRecoParam::PrintParameters() const
696 printf("============================= AliITSRecoParam::PrintParameters ");
697 printf("============================= \n\n");
698 for(Int_t i=0; i<AliITSgeomTGeo::kNLayers; i++) {
699 if(!fLayersToSkip[i]) {
700 printf("ITS Traking: using layer %d\n",i);
702 printf("ITS Traking: skipping layer %d\n",i);
705 for(Int_t i=0; i<AliITSgeomTGeo::kNLayers; i++) {
706 if(fUseAmplitudeInfo[i]) {
707 printf("ITS Traking: use amplitude info for layer %d\n",i);
709 printf("ITS Traking: don't use amplitude info for layer %d\n",i);
712 for(Int_t i=0; i<AliITSgeomTGeo::kNLayers; i++)
713 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]);