MLM merging - #72
Draft
theoheimel wants to merge 16 commits into
Draft
Conversation
Member
|
Thank you. The changes required in MadMatrix are those in madgraph4gpu#1086. Also, let's not forget madgraph4gpu#1090, for the related changes in MadtRex. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This branch implements MLM merging in madspace. The core part is a clustering algorithm that takes momenta as its input and returns:
The first two affect the cross section and PS distributions, whereas the last two are relevant for the LHE output.
The two central parts are:
madspace/src/phasespace/mlm_clustering.cpp: takes the diagram topologies for the given subprocess as input and compiles them into an efficient binary representation of the possible clustering histories. This representation will also nicely generalize to Amplicol.madspace/src/kernels/mlm.hpp: the actual compute kernel run during event generation for CPU and GPU. Based on the previously compiled state machine, it determines a clustering and then assigns the scales. The functionsdjb_clus,dj_clus,compute_scale,update_momentaare directly ported from the NLO fortran code. The actual clustering logic happens inmlm_clustering. The actual scale computation (after a clustering has been determined) is mainly based on my conversations with Rikkert when he was at CERN, and should be similar to what the NLO code does.Things to discuss
Rikkert might have opinions here. I don't really know the physics well enough...
Missing pieces
madspace/src/phasespace/mlm_clustering.cpp: right now the metadata whether a given vertex is QCD, an output is a jet, propagator masses etc. does not get populated. Instead massless QCD is assumed. In principle all the necessary information should be there, so this should be trivial to changeValidation
Here is a three-step plan. The challenging part of validation is that it is not always clear what the baseline is (see things to discuss), also given that to some extent there is no right and wrong here.
Unit tests
Parton level
Shower level