Fragment analyzer: extract merging parameters
The repo contains a tool to process fragments and extract useful information from them. Its code is spread across two files:
-
mcm/analysis/fragment.pycontains code to parse a fragment and retrieve some information -
mcm/tools/check_fragment.pysimply runs the analysis and prints the result
The module mcm.analysis.fragment is intended as a supporting tool for both the GEN checks and to display information about requests. In the future, I imagine a similar module to analyze gridpacks.
In view of implementing checks for common mistakes, I think it would be important for the extractor module to recognize matching/merging schemes and extract the important parameters (it is standard in the literature to report qCut). Support for this should be added to mcm.analysis.fragment.
An initial implementation would restrict support to the most common cases, namely MadGraph+MLM, MadGraph+FxFx, and POWHEG. Tests should be added to prevent regressions.