Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F1993055
MG_make.sh
aidin (aidin masouminia)
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Authored By
aidin
May 31 2023, 3:48 PM
2023-05-31 15:48:06 (UTC+1)
Size
1 KB
Referenced Files
None
Subscribers
None
MG_make.sh
View Options
#!/bin/bash
MG
=
"docker run -i --rm -u `id -u
$USER
`:`id -g` -v
$PWD
:
$PWD
-w
$PWD
herwigcollaboration/herwig-7.3:7.3.0 mg5_aMC"
RB
=
"docker run -i --rm -u `id -u
$USER
`:`id -g` -v
$PWD
:
$PWD
-w
$PWD
herwigcollaboration/herwig-7.3:7.3.0 rivet-build"
# setup file for RS to be stored
File
=
"MG_setup.dat"
DIR
=
"yyll"
if
[
-d
"
$DIR
"
]
;
then
echo
"
$DIR
already exists, skipping"
else
echo
"import model sm"
>>
$File
echo
"define p = g u c d s u~ c~ d~ s~"
>>
$File
echo
"define l+ = e+ mu+"
>>
$File
echo
"define l- = e- mu-"
>>
$File
echo
"define p = a g u c d s u~ c~ d~ s~"
>>
$File
echo
"define j = g u c d s u~ c~ d~ s~"
>>
$File
echo
"define l+ = e+ mu+ ta+"
>>
$File
echo
"define l- = e- mu- ta-"
>>
$File
echo
"define vl = ve vm vt"
>>
$File
echo
"define vl~ = ve~ vm~ vt~"
>>
$File
echo
"generate a a > l+ l-"
>>
$File
echo
"output madevent "
$DIR
" -nojpeg"
>>
$File
fi
$MG
$File
rm
$File
if
[
-d
"
$DIR
"
]
;
then
cp param_card.dat
$DIR
/Cards/param_card.dat
cp run_card.dat
$DIR
/Cards/run_card.dat
echo
"autoupdate 0"
>>
$File
echo
"launch "
$DIR
>>
$File
fi
$MG
$File
rm py.py MG5_debug
$File
# compiling rivet analysis
$RB
Rivet.so RivetAnalysis_yy.cc
export
RIVET_ANALYSIS_PATH
=
$PWD
echo
""
echo
"Done"
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1283780
Default Alt Text
MG_make.sh (1 KB)
Attached To
Mode
Photon-induced simulations in Herwig
Attached
Detach File
Event Timeline
Log In to Comment