Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matching/Merging and weight propagation to HepMC files #441

Open
TehMeh opened this issue Oct 9, 2020 · 0 comments
Open

Matching/Merging and weight propagation to HepMC files #441

TehMeh opened this issue Oct 9, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@TehMeh
Copy link
Contributor

TehMeh commented Oct 9, 2020

Hi,

in some cases, MadGraph uses matching/merging (MLM, FxFx, etc.) procedures. The result is that some events are removed due to double counting and there are more events in lhe files than in HepMC or ROOT files. If that is the case, then it is impossible to read weight labels/ids from lhe files and the only option is to use weights='delphes' option when adding samples.

However, currently, MadGraph makes it difficult to read weights from HepMC files.
MadGraph/Pythia correctly saves the numerical value (with some extra factors), but the weight id/label is a stylized version of set param_card <block> <id> <value> # orig <orig_value>.
To overcome this, it is needed to slightly edit <MG_directory>/HEPTools/MG5aMC_PY8_interface/MG5_PY8_interace.cc so that the actual weight ids are read from lhe files and propagated to HepMC files.
Changes to the MadMiner interface to HepMC files are also needed to accommodate the correctly written weight ids.

@johannbrehmer johannbrehmer added the enhancement New feature or request label Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants