Revert accidental changes
authorhristov <Peter.Hristov@cern.ch>
Wed, 20 Aug 2014 08:29:58 +0000 (10:29 +0200)
committerhristov <Peter.Hristov@cern.ch>
Wed, 20 Aug 2014 08:29:58 +0000 (10:29 +0200)
PWGLF/STRANGENESS/Correlations/AliAnalysisTaskLambdaOverK0sJets.cxx
PWGPP/benchmark/benchmark.sh

index 27549d3..3f87d61 100644 (file)
@@ -3531,7 +3531,7 @@ void AliAnalysisTaskLambdaOverK0sJets::V0Loop(V0LoopStep_t step, Bool_t isTrigge
          fK0sMassPtPhi->Fill(massK0s,pt,lPhi);
 
          
-         if( (pt>kPtBinV0[0]) && (pt<kPtBinV0[kN1]) && !isNaturalPart )
+         if( (pt>kPtBinV0[0]) && (pt<kPtBinV0[kN1]) && isNaturalPart )
            fAssocParticles->Add( new AliMiniParticle(centrality, zv, iV0, pt, lPhi, lEta, lMCAssocNegDaug, lMCAssocPosDaug, 3) );
          
 
@@ -3696,7 +3696,7 @@ void AliAnalysisTaskLambdaOverK0sJets::V0Loop(V0LoopStep_t step, Bool_t isTrigge
          fLambdaMassPtPhi->Fill(massLambda,pt,lPhi);
 
          
-         if( (pt>kPtBinV0[0]) && (pt<kPtBinV0[kN1]) && !isNaturalPart )
+         if( (pt>kPtBinV0[0]) && (pt<kPtBinV0[kN1]) && isNaturalPart )
            fAssocParticles->Add( new AliMiniParticle(centrality, zv, iV0, pt, lPhi, lEta, lMCAssocNegDaug, lMCAssocPosDaug, 4) );
          
          
@@ -3863,7 +3863,7 @@ void AliAnalysisTaskLambdaOverK0sJets::V0Loop(V0LoopStep_t step, Bool_t isTrigge
          fAntiLambdaMassPtPhi->Fill(massAntiLambda,pt,lPhi);
        
          
-         if( (pt>kPtBinV0[0]) && (pt<kPtBinV0[kN1]) && !isNaturalPart )
+         if( (pt>kPtBinV0[0]) && (pt<kPtBinV0[kN1]) && isNaturalPart )
            fAssocParticles->Add( new AliMiniParticle(centrality, zv, iV0, pt, lPhi, lEta, lMCAssocNegDaug, lMCAssocPosDaug, 5) );
          
        }
index 9714500..8a37409 100755 (executable)
@@ -44,7 +44,7 @@ main()
       ${runMode} "$@"
     ;;
   esac
-  return $?
+  return 0
 }
 
 generateMC()
@@ -1034,10 +1034,8 @@ goSubmitMakeflow()
     goGenerateMakeflow ${productionID} ${inputFileList} ${configFile} "${extraOpts[@]}" commonOutputPath=${commonOutputPath} > benchmark.makeflow
     cp benchmark.makeflow ${commonOutputPath}
     makeflow ${makeflowOptions} benchmark.makeflow
-    makeflow_exitcode=$?
   else 
     echo "no makeflow!"
-    return 1
   fi
   
   #summarize the run based on the makeflow log
@@ -1048,7 +1046,7 @@ goSubmitMakeflow()
       benchmark.makeflow.makeflowlog | tee -a summary.log
   paranoidCp summary.log ${commonOutputPath}
 
-  return $makeflow_exitcode
+  return 0
 }
 
 goGenerateMakeflow()