X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITSRecoParam.cxx;h=d92e3471e276d0bba5387c493fb6e4ab7f5e5ed0;hb=aa0260f48d826122989cc5f7ce6d7258255b030e;hp=895d29a28118ac13df78b9563bb4c2c033ec709b;hpb=a86176e37b76f598333ea48187bbe94f29b15005;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSRecoParam.cxx b/ITS/AliITSRecoParam.cxx index 895d29a2811..d92e3471e27 100644 --- a/ITS/AliITSRecoParam.cxx +++ b/ITS/AliITSRecoParam.cxx @@ -62,6 +62,9 @@ const Double_t AliITSRecoParam::fgkSPDdetxlength=1.298; // 1.410-2*0.056 //_____________________________________________________________________________ AliITSRecoParam::AliITSRecoParam() : AliDetectorRecoParam(), +fTracker(0), +fITSonly(kFALSE), +fVertexer(0), fMaxSnp(1.), fNSigmaYLayerForRoadY(0), fNSigmaRoadY(0), @@ -71,6 +74,7 @@ fNSigma2RoadZC(0), fNSigma2RoadYC(0), fNSigma2RoadZNonC(0), fNSigma2RoadYNonC(0), +fRoadMisal(0), fMaxNormChi2NonCForHypothesis(0), fMaxChi2(0), fMaxRoad(0), @@ -97,10 +101,20 @@ fXPassDeadZoneHits(0), fUseTGeoInTracker(3), fAllowSharedClusters(kTRUE), fClusterErrorsParam(1), +fClusterMisalError(0.), fComputePlaneEff(kFALSE), fHistoPlaneEff(kFALSE), +fIPlanePlaneEff(0), +fReadPlaneEffFromOCDB(kFALSE), +fMinPtPlaneEff(0), +fMaxMissingClustersPlaneEff(0), +fRequireClusterInOuterLayerPlaneEff(kFALSE), +fRequireClusterInInnerLayerPlaneEff(kFALSE), +fOnlyConstraintPlaneEff(kFALSE), fExtendedEtaAcceptance(kFALSE), -fUseDeadZonesFromOCDB(kFALSE), +fUseBadZonesFromOCDB(kFALSE), +fUseSingleBadChannelsFromOCDB(kFALSE), +fMinFractionOfBadInRoad(0), fAllowProlongationWithEmptyRoad(kFALSE), fFactorSAWindowSizes(1.), fNLoopsSA(33), @@ -130,6 +144,7 @@ fUseChargeMatchingInClusterFinderSSD(kTRUE) SetAddVirtualClustersInDeadZone(kFALSE); SetUseAmplitudeInfo(kTRUE); SetClusterErrorsParam(1); + SetClusterMisalError(0.); } //_____________________________________________________________________________ AliITSRecoParam::~AliITSRecoParam() @@ -327,6 +342,10 @@ AliITSRecoParam *AliITSRecoParam::GetCosmicTestParam() // AliITSRecoParam *param = new AliITSRecoParam(); + // vertexer for cosmics + param->SetVertexer(2); + + // larger seach windows for SA (in case of large misalignments) param->SetFactorSAWindowSizes(3.); @@ -419,10 +438,39 @@ AliITSRecoParam *AliITSRecoParam::GetPlaneEffParam(Int_t i) // // make special reconstruction parameters for Plane Efficiency study on layer i // + if (i<0 || i>=AliITSgeomTGeo::kNLayers) { + printf("AliITSRecoParam::GetPlaneEffParam: index of ITS Plane not in the range [0,5]\n"); + printf("returning null pointer"); + return NULL; + } AliITSRecoParam *param; param = GetHighFluxParam(); param->SetComputePlaneEff(); param->SetLayerToSkip(i); + param->SetIPlanePlaneEff(i); + // optimized setting for SPD0 (i==0) + if (i==0 || i==1) { + param->fMinPtPlaneEff = 0.200; // high pt particles + param->fMaxMissingClustersPlaneEff = 1; // at most 1 layer out of 5 without cluster + param->fRequireClusterInOuterLayerPlaneEff = kTRUE; // cluster on SPD1 must be + //param->fOnlyConstraintPlaneEff = kTRUE; + } + if (i==2 || i==3) { + param->fMinPtPlaneEff = 0.200; // high pt particles + param->fMaxMissingClustersPlaneEff = 1; // at most 1 layer out of 5 without cluster + param->fRequireClusterInOuterLayerPlaneEff = kTRUE; + //param->fOnlyConstraintPlaneEff = kTRUE; + } + if (i==4) { + param->fMinPtPlaneEff = 0.200; // high pt particles + param->fMaxMissingClustersPlaneEff = 0; // at most 1 layer out of 5 without cluster + param->fRequireClusterInOuterLayerPlaneEff = kTRUE; + //param->fOnlyConstraintPlaneEff = kTRUE; + } + if (i==5) { + param->fMinPtPlaneEff = 0.200; // high pt particles + } + // return param; } //_____________________________________________________________________________ @@ -450,3 +498,34 @@ void AliITSRecoParam::SetLayersParameters() return; } +//_____________________________________________________________________________ +void AliITSRecoParam::PrintParameters() const +{ + // + // print parameters + // + + printf("============================= AliITSRecoParam::PrintParameters "); + printf("============================= \n\n"); + for(Int_t i=0; i