change rwgt_dir ignores the first rwgt_info

Asked by Baptiste Ravina

Dear MadGraph experts,

If I generate an LO gridpack for the process "p p > t t~" in MG v2.9.3, including a reweighting card with the following lines:

change rwgt_dir rwgt
launch --rwgt_info=yt_171
set param_card yukawa 6 171
launch --rwgt_info=yt_172
set param_card yukawa 6 172

then run the event generation from the gridpack and try to reweight, the output LHE file lists the following weights:

<weightgroup name='mg_reweighting' weight_name_strategy='includeIdInWeightName'>
<weight id='rwgt_1'>set param_card yukawa 6 171.0 # orig: 172.5
</weight>
<weight id='rwgt_2'>yt_172</weight>
</weightgroup>

while if I comment out the first line ("change rwgt_dir rwgt") and try again, the weights are properly listed as:

<weightgroup name='mg_reweighting' weight_name_strategy='includeIdInWeightName'>
<weight id='rwgt_1'>yt_171</weight>
<weight id='rwgt_2'>yt_172</weight>
</weightgroup>

Is this a bug or am I doing something wrong?

Thanks,
Baptiste

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
Last query:
Last reply:
Revision history for this message
Best Olivier Mattelaer (olivier-mattelaer) said :
#1

Hi,

You will find the associated patch here:
https://bazaar.launchpad.net/~maddevelopers/mg5amcnlo/LTS_dev/revision/335

Cheers,

Olivier

Revision history for this message
Baptiste Ravina (bravina) said :
#2

Thanks Olivier Mattelaer, that solved my question.