Fixes for Coverity warnings (M. van Leeuwen)
[u/mrichter/AliRoot.git] / ITS / MakeITSRecoParam_pp2009.C
index ad5cf33..9f6160a 100644 (file)
@@ -33,14 +33,16 @@ void MakeITSRecoParam_pp2009(AliRecoParam::EventSpecie_t default=AliRecoParam::k
     //itsRecoParam->SetSAOnePointTracks();
     itsRecoParam->SetClusterMisalError(0.1); // [cm]
     itsRecoParam->SetSAUseAllClusters();
+    itsRecoParam->SetMinNPointsSA(2);
     itsRecoParam->SetEventSpecie(AliRecoParam::kCosmic);
     recoParamArray->AddLast(itsRecoParam);
   }
   {
     AliITSRecoParam * itsRecoParam = AliITSRecoParam::GetLowFluxParam();
     itsRecoParam->SetClusterErrorsParam(2);
-    //****** FIRST PHYSICS 2009 (same as COSMICS 2009) *********************
+    //****** FIRST PHYSICS 2009 *********************
 
+    /* //  First Collisions 23.11.2009 (same as COSMICS 2009) 
     // find independently ITS SA tracks 
     itsRecoParam->SetSAUseAllClusters();
     itsRecoParam->SetOuterStartLayerSA(AliITSgeomTGeo::GetNLayers()-2);
@@ -58,6 +60,27 @@ void MakeITSRecoParam_pp2009(AliRecoParam::EventSpecie_t default=AliRecoParam::k
     // additional error due to misal (B on)
     itsRecoParam->SetClusterMisalErrorYBOn(0.0,0.0,0.1,0.1,0.1,0.1); // [cm]
     itsRecoParam->SetClusterMisalErrorZBOn(0.1,0.1,0.1,0.1,0.1,0.1); // [cm]
+    */
+
+    //----  Collisions since 03.12.2009 
+    // find independently ITS SA tracks 
+    itsRecoParam->SetSAUseAllClusters();
+    itsRecoParam->SetOuterStartLayerSA(2);
+
+    // to maximize efficiency (change to kTRUE on 15.12.2009)
+    //itsRecoParam->SetAllowProlongationWithEmptyRoad(kFALSE);
+    itsRecoParam->SetAllowProlongationWithEmptyRoad(kTRUE);
+    
+    // larger seach windows for SA (in case of large misalignments)
+    itsRecoParam->SetFactorSAWindowSizes(2);
+    
+    // additional error due to misal (B off)
+    itsRecoParam->SetClusterMisalErrorY(0.01,0.01,0.1,0.1,0.1,0.1); // [cm]
+    itsRecoParam->SetClusterMisalErrorZ(0.01,0.01,0.1,0.1,0.1,0.1); // [cm]
+    // additional error due to misal (B on)
+    itsRecoParam->SetClusterMisalErrorYBOn(0.01,0.01,0.1,0.1,0.1,0.1); // [cm]
+    itsRecoParam->SetClusterMisalErrorZBOn(0.01,0.01,0.1,0.1,0.1,0.1); // [cm]
+    //----
 
     // SDD configuration 
     itsRecoParam->SetUseSDDCorrectionMaps(kFALSE);
@@ -75,6 +98,8 @@ void MakeITSRecoParam_pp2009(AliRecoParam::EventSpecie_t default=AliRecoParam::k
     itsRecoParam->SetUpdateOncePerEventPlaneEff(kTRUE);
     itsRecoParam->SetMinContVtxPlaneEff(3);
     // itsRecoParam->SetOptTrackletsPlaneEff(kTRUE); // activate it for MC (very important) !
+    // Removal of tracklets reconstructed in the SPD overlaps 
+    itsRecoParam->SetTrackleterRemoveClustersFromOverlaps(kTRUE);
   
     //******************************************************************