[Rivet-svn] r2233 - validation/scripts/pythia6

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Mon Feb 1 14:50:33 GMT 2010


Author: hoeth
Date: Mon Feb  1 14:50:32 2010
New Revision: 2233

Log:
centralise setting the number of events in batch scripts

Modified:
   validation/scripts/pythia6/run_XXX_ALEPH_1996_S3196992.sh
   validation/scripts/pythia6/run_XXX_CDF_2000_S4155203.sh
   validation/scripts/pythia6/run_XXX_CDF_2001_S4751469.sh
   validation/scripts/pythia6/run_XXX_CDF_2001_S4751469_CKIN10.sh
   validation/scripts/pythia6/run_XXX_CDF_2001_S4751469_CKIN20.sh
   validation/scripts/pythia6/run_XXX_CDF_2002_S4796047_1800.sh
   validation/scripts/pythia6/run_XXX_CDF_2002_S4796047_630.sh
   validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800.sh
   validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800_CKIN100.sh
   validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800_CKIN140.sh
   validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800_CKIN180.sh
   validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800_CKIN25.sh
   validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800_CKIN60.sh
   validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_630.sh
   validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_630_CKIN10.sh
   validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_630_CKIN20.sh
   validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_630_CKIN40.sh
   validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CDF_2009_S8233977.sh
   validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CKIN10.sh
   validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CKIN100.sh
   validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CKIN150.sh
   validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CKIN20.sh
   validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CKIN50.sh
   validation/scripts/pythia6/run_XXX_CDF_2008_NOTE_9351.sh
   validation/scripts/pythia6/run_XXX_D0_2004_S5992206_CKIN100.sh
   validation/scripts/pythia6/run_XXX_D0_2004_S5992206_CKIN150.sh
   validation/scripts/pythia6/run_XXX_D0_2004_S5992206_CKIN50.sh
   validation/scripts/pythia6/run_XXX_D0_2004_S5992206_CKIN75.sh
   validation/scripts/pythia6/run_XXX_LEP_91GeV.sh
   validation/scripts/pythia6/run_XXX_STAR_2006_S6500200_STAR_2006_S6870392.sh
   validation/scripts/pythia6/run_XXX_STAR_2009_UE_HELEN_CKIN10.sh
   validation/scripts/pythia6/run_XXX_STAR_2009_UE_HELEN_CKIN17.sh
   validation/scripts/pythia6/run_XXX_STAR_2009_UE_HELEN_CKIN5.sh
   validation/scripts/pythia6/run_XXX_STAR_2009_UE_HELEN_STAR_2006_S6870392_CKIN3.sh

Modified: validation/scripts/pythia6/run_XXX_ALEPH_1996_S3196992.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_ALEPH_1996_S3196992.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_ALEPH_1996_S3196992.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=2000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,13 +35,13 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a ALEPH_1996_S3196992 \
-      -n 2000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P lep1.params \
       -P fpythia-ALEPH_1996_S3196992.params \
       -P used_params \
-      -n 2000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2000_S4155203.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2000_S4155203.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2000_S4155203.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=2000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,13 +35,13 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2000_S4155203   \
-      -n 2000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1800.params \
       -P fpythia-CDF_2000_S4155203.params \
       -P used_params \
-      -n 2000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2001_S4751469.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2001_S4751469.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2001_S4751469.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=1000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,13 +35,13 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2001_S4751469   \
-      -n 1000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1800.params \
       -P fpythia-CDF_2001_S4751469.params \
       -P used_params \
-      -n 1000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2001_S4751469_CKIN10.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2001_S4751469_CKIN10.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2001_S4751469_CKIN10.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=1000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,14 +35,14 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2001_S4751469   \
-      -n 1000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1800.params \
       -P fpythia-CDF_2001_S4751469.params \
       -P used_params \
       -p "CKIN(3)=10" \
-      -n 1000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2001_S4751469_CKIN20.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2001_S4751469_CKIN20.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2001_S4751469_CKIN20.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=1000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,14 +35,14 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2001_S4751469   \
-      -n 1000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1800.params \
       -P fpythia-CDF_2001_S4751469.params \
       -P used_params \
       -p "CKIN(3)=20" \
-      -n 1000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2002_S4796047_1800.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2002_S4796047_1800.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2002_S4796047_1800.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=1500000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,13 +35,13 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2002_S4796047   \
-      -n 1500000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1800.params \
       -P fpythia-CDF_2002_S4796047.params \
       -P used_params \
-      -n 1500000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2002_S4796047_630.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2002_S4796047_630.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2002_S4796047_630.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=1500000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,13 +35,13 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2002_S4796047   \
-      -n 1500000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron630.params \
       -P fpythia-CDF_2002_S4796047.params \
       -P used_params \
-      -n 1500000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=2500000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,13 +35,13 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2004_S5839831   \
-      -n 2500000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1800.params \
       -P fpythia-CDF_2004_S5839831.params \
       -P used_params \
-      -n 2500000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800_CKIN100.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800_CKIN100.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800_CKIN100.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=2000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,14 +35,14 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2004_S5839831   \
-      -n 2000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1800.params \
       -P fpythia-CDF_2004_S5839831.params \
       -P used_params \
       -p "CKIN(3)=100" \
-      -n 2000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800_CKIN140.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800_CKIN140.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800_CKIN140.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=2000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,14 +35,14 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2004_S5839831   \
-      -n 2000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1800.params \
       -P fpythia-CDF_2004_S5839831.params \
       -P used_params \
       -p "CKIN(3)=140" \
-      -n 2000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800_CKIN180.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800_CKIN180.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800_CKIN180.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=2000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,14 +35,14 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2004_S5839831   \
-      -n 2000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1800.params \
       -P fpythia-CDF_2004_S5839831.params \
       -P used_params \
       -p "CKIN(3)=180" \
-      -n 2000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800_CKIN25.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800_CKIN25.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800_CKIN25.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=2000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,14 +35,14 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2004_S5839831   \
-      -n 2000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1800.params \
       -P fpythia-CDF_2004_S5839831.params \
       -P used_params \
       -p "CKIN(3)=25" \
-      -n 2000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800_CKIN60.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800_CKIN60.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_1800_CKIN60.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=2000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,14 +35,14 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2004_S5839831   \
-      -n 2000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1800.params \
       -P fpythia-CDF_2004_S5839831.params \
       -P used_params \
       -p "CKIN(3)=60" \
-      -n 2000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_630.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_630.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_630.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=2500000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,13 +35,13 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2004_S5839831   \
-      -n 2500000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron630.params \
       -P fpythia-CDF_2004_S5839831.params \
       -P used_params \
-      -n 2500000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_630_CKIN10.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_630_CKIN10.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_630_CKIN10.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=2000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,14 +35,14 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2004_S5839831   \
-      -n 2000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron630.params \
       -P fpythia-CDF_2004_S5839831.params \
       -P used_params \
       -p "CKIN(3)=10" \
-      -n 2000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_630_CKIN20.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_630_CKIN20.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_630_CKIN20.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=2000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,14 +35,14 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2004_S5839831   \
-      -n 2000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron630.params \
       -P fpythia-CDF_2004_S5839831.params \
       -P used_params \
       -p "CKIN(3)=20" \
-      -n 2000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_630_CKIN40.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_630_CKIN40.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2004_S5839831_630_CKIN40.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=2000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,14 +35,14 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2004_S5839831   \
-      -n 2000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron630.params \
       -P fpythia-CDF_2004_S5839831.params \
       -P used_params \
       -p "CKIN(3)=40" \
-      -n 2000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CDF_2009_S8233977.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CDF_2009_S8233977.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CDF_2009_S8233977.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=1500000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -33,13 +36,13 @@
 mkfifo pipe.hepmc
 rivet -a CDF_2008_LEADINGJETS \
       -a CDF_2009_S8233977    \
-      -n 1500000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1960.params \
       -P fpythia-CDF_2008_LEADINGJETS.params \
       -P used_params \
-      -n 1500000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CKIN10.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CKIN10.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CKIN10.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=1000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,14 +35,14 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2008_LEADINGJETS \
-      -n 1000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1960.params \
       -P fpythia-CDF_2008_LEADINGJETS.params \
       -P used_params \
       -p "CKIN(3)=10" \
-      -n 1000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CKIN100.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CKIN100.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CKIN100.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=1000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,14 +35,14 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2008_LEADINGJETS \
-      -n 1000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1960.params \
       -P fpythia-CDF_2008_LEADINGJETS.params \
       -P used_params \
       -p "CKIN(3)=100" \
-      -n 1000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CKIN150.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CKIN150.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CKIN150.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=1000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,14 +35,14 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2008_LEADINGJETS \
-      -n 1000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1960.params \
       -P fpythia-CDF_2008_LEADINGJETS.params \
       -P used_params \
       -p "CKIN(3)=150" \
-      -n 1000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CKIN20.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CKIN20.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CKIN20.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=1000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,14 +35,14 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2008_LEADINGJETS \
-      -n 1000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1960.params \
       -P fpythia-CDF_2008_LEADINGJETS.params \
       -P used_params \
       -p "CKIN(3)=20" \
-      -n 1000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CKIN50.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CKIN50.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2008_LEADINGJETS_CKIN50.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=1000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,14 +35,14 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2008_LEADINGJETS \
-      -n 1000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1960.params \
       -P fpythia-CDF_2008_LEADINGJETS.params \
       -P used_params \
       -p "CKIN(3)=50" \
-      -n 1000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_CDF_2008_NOTE_9351.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_CDF_2008_NOTE_9351.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_CDF_2008_NOTE_9351.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=2000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,13 +35,13 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a CDF_2008_NOTE_9351  \
-      -n 2000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1960.params \
       -P fpythia-CDF_2008_NOTE_9351.params \
       -P used_params \
-      -n 2000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_D0_2004_S5992206_CKIN100.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_D0_2004_S5992206_CKIN100.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_D0_2004_S5992206_CKIN100.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=1000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,14 +35,14 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a D0_2004_S5992206     \
-      -n 1000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1960.params \
       -P fpythia-D0_2004_S5992206.params \
       -P used_params \
       -p "CKIN(3)=100" \
-      -n 1000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_D0_2004_S5992206_CKIN150.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_D0_2004_S5992206_CKIN150.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_D0_2004_S5992206_CKIN150.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=1000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,14 +35,14 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a D0_2004_S5992206     \
-      -n 1000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1960.params \
       -P fpythia-D0_2004_S5992206.params \
       -P used_params \
       -p "CKIN(3)=150" \
-      -n 1000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_D0_2004_S5992206_CKIN50.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_D0_2004_S5992206_CKIN50.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_D0_2004_S5992206_CKIN50.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=1000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,14 +35,14 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a D0_2004_S5992206     \
-      -n 1000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1960.params \
       -P fpythia-D0_2004_S5992206.params \
       -P used_params \
       -p "CKIN(3)=50" \
-      -n 1000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_D0_2004_S5992206_CKIN75.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_D0_2004_S5992206_CKIN75.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_D0_2004_S5992206_CKIN75.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=1000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,14 +35,14 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a D0_2004_S5992206     \
-      -n 1000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P tevatron1960.params \
       -P fpythia-D0_2004_S5992206.params \
       -P used_params \
       -p "CKIN(3)=75" \
-      -n 1000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_LEP_91GeV.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_LEP_91GeV.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_LEP_91GeV.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=2000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -40,13 +43,13 @@
       -a OPAL_2004_S6132243 \
       -a PDG_HADRON_MULTIPLICITIES \
       -a PDG_HADRON_MULTIPLICITIES_RATIOS \
-      -n 2000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P lep1.params \
       -P fpythia-Zhadronic.params \
       -P used_params \
-      -n 2000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_STAR_2006_S6500200_STAR_2006_S6870392.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_STAR_2006_S6500200_STAR_2006_S6870392.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_STAR_2006_S6500200_STAR_2006_S6870392.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=3000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -33,12 +36,12 @@
 mkfifo pipe.hepmc
 rivet -a STAR_2006_S6500200 \
       -a STAR_2006_S6870392 \
-      -n 3000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P rhic-pp200.params \
       -P used_params \
-      -n 3000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_STAR_2009_UE_HELEN_CKIN10.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_STAR_2009_UE_HELEN_CKIN10.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_STAR_2009_UE_HELEN_CKIN10.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=3000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,13 +35,13 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a STAR_2009_UE_HELEN \
-      -n 3000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P rhic-pp200.params \
       -P used_params \
       -p "CKIN(3)=10" \
-      -n 3000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_STAR_2009_UE_HELEN_CKIN17.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_STAR_2009_UE_HELEN_CKIN17.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_STAR_2009_UE_HELEN_CKIN17.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=3000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,13 +35,13 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a STAR_2009_UE_HELEN \
-      -n 3000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P rhic-pp200.params \
       -P used_params \
       -p "CKIN(3)=17" \
-      -n 3000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_STAR_2009_UE_HELEN_CKIN5.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_STAR_2009_UE_HELEN_CKIN5.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_STAR_2009_UE_HELEN_CKIN5.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=3000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -32,13 +35,13 @@
 rm -f pipe.hepmc
 mkfifo pipe.hepmc
 rivet -a STAR_2009_UE_HELEN \
-      -n 3000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P rhic-pp200.params \
       -P used_params \
       -p "CKIN(3)=5" \
-      -n 3000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done

Modified: validation/scripts/pythia6/run_XXX_STAR_2009_UE_HELEN_STAR_2006_S6870392_CKIN3.sh
==============================================================================
--- validation/scripts/pythia6/run_XXX_STAR_2009_UE_HELEN_STAR_2006_S6870392_CKIN3.sh	Mon Feb  1 14:46:57 2010	(r2232)
+++ validation/scripts/pythia6/run_XXX_STAR_2009_UE_HELEN_STAR_2006_S6870392_CKIN3.sh	Mon Feb  1 14:50:32 2010	(r2233)
@@ -13,6 +13,9 @@
 if [ -z AGILE_GEN_PATH ] ; then
   export AGILE_GEN_PATH=$PREFIX/../build
 fi
+if [ -z NEVENTS ] ; then
+  export NEVENTS=3000000
+fi
 
 export PATH=$PREFIX/bin:$PATH
 export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
@@ -33,13 +36,13 @@
 mkfifo pipe.hepmc
 rivet -a STAR_2009_UE_HELEN \
       -a STAR_2006_S6870392 \
-      -n 3000000 pipe.hepmc &> rivet.log &
+      -n $NEVENTS pipe.hepmc &> rivet.log &
 
 agile-runmc Pythia6:422 \
       -P rhic-pp200.params \
       -P used_params \
       -p "CKIN(3)=3" \
-      -n 3000000 \
+      -n $NEVENTS \
       -o pipe.hepmc &> agile.log
 
 # Make sure we don't exit before rivet is done


More information about the Rivet-svn mailing list