]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/STEER/AliReconstruction.cxx
There is an inconsistency in a way the parameters of GRPRecoParam are
[u/mrichter/AliRoot.git] / STEER / STEER / AliReconstruction.cxx
index e4b5de5e2ad2ec9460f72527bb62ee26a4a15d5f..66b2bd7add19a798529a3b994dcb89b7ef12f9e6 100644 (file)
@@ -2017,8 +2017,8 @@ Bool_t AliReconstruction::ProcessEvent(Int_t iEvent)
        if (grpRecoParam) {
         Int_t nCutsVertexer = grpRecoParam->GetVertexerTracksNCuts();
         Double_t *cutsVertexer = new Double_t[nCutsVertexer];
-        grpRecoParam->GetVertexerTracksCutsITS(cutsVertexer);
-        ftVertexer->SetCuts(cutsVertexer);
+        grpRecoParam->GetVertexerTracksCutsITS(cutsVertexer,nCutsVertexer);
+        ftVertexer->SetCuts(cutsVertexer,nCutsVertexer);
         delete [] cutsVertexer; cutsVertexer = NULL; 
         if(grpRecoParam->GetVertexerTracksConstraintITS()) { 
           if(fDiamondProfile && fDiamondProfile->GetXRes()<kRadius){
@@ -2057,8 +2057,8 @@ Bool_t AliReconstruction::ProcessEvent(Int_t iEvent)
        if (grpRecoParam) {
         Int_t nCutsVertexer = grpRecoParam->GetVertexerTracksNCuts();
         Double_t *cutsVertexer = new Double_t[nCutsVertexer];
-        grpRecoParam->GetVertexerTracksCutsTPC(cutsVertexer);
-        ftVertexer->SetCuts(cutsVertexer);
+        grpRecoParam->GetVertexerTracksCutsTPC(cutsVertexer,nCutsVertexer);
+        ftVertexer->SetCuts(cutsVertexer,nCutsVertexer);
         delete [] cutsVertexer; cutsVertexer = NULL; 
         if(fDiamondProfileTPC && grpRecoParam->GetVertexerTracksConstraintTPC()) { 
           if(fDiamondProfileTPC->GetXRes()<kRadius) ftVertexer->SetVtxStart(fDiamondProfileTPC); // apply constraint only if sigmax is smaller than the beam pipe radius