~maddevelopers/mg5amcnlo/3.0.2-alpha0-merged3.2.0

« back to all changes in this revision

Viewing changes to madgraph/fks/fks_common.py

  • Committer: Marco Zaro
  • Date: 2019-02-26 09:14:58 UTC
  • Revision ID: marco.zaro@gmail.com-20190226091458-jdchrjvsgpquqe7s
fix in find_pert_particles_interactions: only interactions
of 'base' type (so no UV/R2) are used

Show diffs side-by-side

added added

removed removed

Lines of Context:
509
509
    for i, ii in model.get('interaction_dict').items():
510
510
        # i want interections of pert_order: 1 (from LO to NLO), 
511
511
        # without any other orders
 
512
        # and of "base" type
 
513
        if ii.get('type') != 'base': continue
 
514
 
512
515
        if ii.get('orders') == {pert_order:1} and len(ii['particles']) == 3 :
513
516
            masslist = [p.get('mass').lower() for p in ii['particles']]
514
517