ECM vs cross section data and plot

Asked by Najimuddin Khan on 2017-03-10

Hi,
I have tried to generate a process x x> xx. I want ECM vs cross section data and plot for this processes. Is there any way to generate the data in a data file without .html format for each cross section. I can off the html file bt changing the input/mg5_confi....txt.

I have created a .sh file for this : AAAA.sh:

=================================================
#!/bin/bash
for (( i = 0; i <=10; i++ ))
do

p1I=`head -37 run_card.dat | tail -1 | awk {'print $1'}`
p1F=`echo $i*5+175 | bc`

p2I=`head -38 run_card.dat | tail -1 | awk {'print $1'}`
p2F=`echo $i*5+175 | bc`

sed -e "37,37s/$p1I/$p1F/g" run_card.dat > run_card.dat_temp
mv run_card.dat_temp run_card.dat
sed -e "38,38s/$p2I/$p2F/g" run_card.dat > run_card.dat_temp
mv run_card.dat_temp run_card.dat
../bin/generate_events -f
done
exit 0
=================================================================

It is running exactly. But we get 11 output for single energy 6500 (the default one).

Please help me to solve this issues and tell me the procedure to create a result .txt file for cross section vs energy (or any parameter).

Thanks,
N Khan

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
2017-03-10
Last reply:
2017-03-10

Olivier Mattelaer suggests this article as an answer to your question:
FAQ #2186: “How to script MG5 run?”.

Can you help with this problem?

Provide an answer of your own, or ask Najimuddin Khan for more information if necessary.

To post a message you must log in.