]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - GRP/MakeGRPRecoParam.C
Fix out of bounds error
[u/mrichter/AliRoot.git] / GRP / MakeGRPRecoParam.C
index 91e3dba5f3e3c8c85c92fdd855791aafb6e63abf..53772ab7d99cf18396ad797c7840bec92a177ee4 100644 (file)
@@ -27,19 +27,35 @@ void MakeGRPRecoParam(AliRecoParam::EventSpecie_t default=AliRecoParam::kLowMult
     AliGRPRecoParam * param = AliGRPRecoParam::GetLowFluxParam();
     param->SetEventSpecie(AliRecoParam::kLowMult);
     param->SetVertexerTracksConstraintITS(kTRUE);
-    Double_t cutsITS[12]={0.1,
+    Double_t cutsITS[24]={0.1,
                           0.1,
                          0.5,
-                         4, // minimum 4 clusters (default was 5)
+                         //4, // minimum 4 clusters (default was 5)
+                         3, // minimum 3 clusters (was 4)
                           1,
                           3.,
                           100.,
                           1000.,
                           3.,
                           30.,
-                          1,
-                          4};
-    param->SetVertexerTracksCutsITS(12,cutsITS);
+                          6, // 6: MultiVertexer (was 1)
+                          4,
+                         // multivertexer settings
+                         7., 
+                         1e3.,
+                         5.0,
+                         0.05,
+                         10e-4,
+                         2.,
+                         10.,
+                         1.,
+                         50.,
+                         50.,
+                         0.,
+                         999999.,
+                         3.
+    };
+    param->SetVertexerTracksCutsITS(24,cutsITS);
     param->SetVertexerTracksConstraintTPC(kTRUE);
     recoParamArray->AddLast(param);
   }
@@ -47,7 +63,7 @@ void MakeGRPRecoParam(AliRecoParam::EventSpecie_t default=AliRecoParam::kLowMult
     AliGRPRecoParam * param = AliGRPRecoParam::GetHighFluxParam();
     param->SetEventSpecie(AliRecoParam::kHighMult);
     param->SetVertexerTracksConstraintITS(kTRUE);
-    Double_t cutsITS[12]={0.1,
+    Double_t cutsITS[24]={0.1,
                           0.1,
                          0.5,
                          4, // minimum 4 clusters (default was 5)
@@ -58,8 +74,22 @@ void MakeGRPRecoParam(AliRecoParam::EventSpecie_t default=AliRecoParam::kLowMult
                           3.,
                           30.,
                           1,
-                          1}; // faster finder algo for Iteration 0
-    param->SetVertexerTracksCutsITS(12,cutsITS);
+                          1,
+                         // multivertexer settings
+                         7., 
+                         1e3.,
+                         5.0,
+                         0.05,
+                         10e-4,
+                         2.,
+                         10.,
+                         1.,
+                         50.,
+                         0.,
+                         999999.,
+                         3.
+    }; // faster finder algo for Iteration 0
+    param->SetVertexerTracksCutsITS(24,cutsITS);
     param->SetVertexerTracksConstraintTPC(kTRUE);
     recoParamArray->AddLast(param);
   }