~madteam/mg5amcnlo/series2.0

« back to all changes in this revision

Viewing changes to madgraph/interface/madgraph_interface.py

  • Committer: Johan Alwall
  • Date: 2012-11-18 05:41:03 UTC
  • mfrom: (234.1.7 1.5.5)
  • Revision ID: johan@alwall.net-20121118054103-26xyfyez2n1d0732
Merged up to v. 1.5.5: Fixed bug in pdf reweighting giving asymmetric gamma+X distribution, fixed single top scale with maxjetflavor=4, fixed Aloha bug, check gauge bug, and improvement for LSF cluster.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2378
2378
            line = " ".join(args[1:])
2379
2379
            myprocdef = self.extract_process(line)
2380
2380
            model_name = self._curr_model['name']
2381
 
            if gauge == 'unitarity':
 
2381
            if gauge == 'unitary':
2382
2382
                myprocdef_unit = myprocdef
2383
2383
                self.do_set('gauge Feynman', log=False)
2384
2384
                self.do_import('model %s' % model_name)
2389
2389
                self.do_import('model %s' % model_name)
2390
2390
                myprocdef_unit = self.extract_process(line)            
2391
2391
            
 
2392
            nb_part_unit = len(myprocdef_unit.get('model').get('particles'))
 
2393
            nb_part_feyn = len(myprocdef_feyn.get('model').get('particles'))
 
2394
            
 
2395
            if nb_part_feyn == nb_part_unit:
 
2396
                logger.error('No Goldstone present for this check!!')
2392
2397
            gauge_result_no_brs = process_checks.check_unitary_feynman(
2393
2398
                                                myprocdef_unit, myprocdef_feyn,
2394
2399
                                                param_card = param_card,
2395
2400
                                                cmass_scheme = mass_scheme)
2396
2401
            
 
2402
            
2397
2403
            # restore previous settings
2398
2404
            self.do_set('gauge %s' % gauge, log=False)
2399
2405
            self.do_import('model %s' % model_name)