No particle --diagram_filter in model
Dear experts,
I have defined the following user_filter.py
def remove_
"""remove all diagrams which are not QCD==2"""
if diag.get(
return True
return False
and copied it into the madgraph/PLUGIN folder of the MG version I am using.
The generation string I am trying to use is:
generate p p > z w- j j QCD=99 SMHLOOP=0 NP=1 --diagram_filter, z > l+ l- NP=1, w- > j j NP=1 @0 NP=1
but I get the following error:
Command "import /public/
"generate p p > z w- j j QCD=99 SMHLOOP=0 NP=1 --diagram_filter, z > l+ l- NP=1, w- > j j NP=1 @0 NP=1" with error:
InvalidCmd : No particle --diagram_filter in model
Thanks in advance,
Riccardo
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- Valentin Hirschi Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Riccardo for more information if necessary.