Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F8724172
run_XXX_CDF_2008_LEADINGJETS_CDF_2009_S8233977.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
run_XXX_CDF_2008_LEADINGJETS_CDF_2009_S8233977.sh
View Options
#!/bin/bash
### Set some paths
if
[
-z
$PREFIX
]
;
then
export
PREFIX
=
$HOME
/installation/local
fi
if
[
-z
$RUNDIR
]
;
then
export
RUNDIR
=
$HOME
/rundir/gallery_plots
fi
if
[
-z
$PYTHONVERSION
]
;
then
export
PYTHONVERSION
=
2
.4
fi
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
export
PYTHONPATH
=
$PYTHONPATH
:
$PREFIX
/lib64/python
$PYTHONVERSION
/site-packages:
$PREFIX
/lib/python
$PYTHONVERSION
/site-packages
### Jobnumber and directory for the output files
export
JOBNUMBER
=
XXX
export
OUTDIR
=
$RUNDIR
/mc/
$JOBNUMBER
### Energise!
export
WORKDIR
=
$OUTDIR
/CDF_2008_LEADINGJETS_CDF_2009_S8233977
rm -rf
$WORKDIR
mkdir
$WORKDIR
cd
$WORKDIR
ln -s ../used_params .
# ready to go ...
rm -f pipe.hepmc
mkfifo pipe.hepmc
rivet -a CDF_2008_LEADINGJETS
\
-a CDF_2009_S8233977
\
-n
$NEVENTS
pipe.hepmc
&
> rivet.log
&
agile-runmc Pythia6:422
\
-P tevatron1960.params
\
-P fpythia-CDF_2008_LEADINGJETS.params
\
-P used_params
\
-n
$NEVENTS
\
-o pipe.hepmc
&
> agile.log
# Make sure we don't exit before rivet is done
sleep
30
# Cleanup
rm -f pipe.hepmc
exit
0
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Mon, Jan 20, 10:36 PM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4242699
Default Alt Text
run_XXX_CDF_2008_LEADINGJETS_CDF_2009_S8233977.sh (1 KB)
Attached To
rRIVETSVN rivetsvn
Event Timeline
Log In to Comment