~maddevelopers/mg5amcnlo/2.7.2_tchannel

« back to all changes in this revision

Viewing changes to madgraph/various/banner.py

  • Committer: olivier-mattelaer
  • Date: 2020-04-27 07:35:57 UTC
  • mfrom: (286.1.18 2.7.3)
  • Revision ID: olivier-mattelaer-20200427073557-h5z7mvk5ldobt8k4
merge with 2.7.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
3093
3093
        #job handling of the survey/ refine
3094
3094
        self.add_param('job_strategy', 0, hidden=True, include=False, allowed=[0,1,2], comment='see appendix of 1507.00020 (page 26)')
3095
3095
        self.add_param('hard_survey', False, hidden=True, include=False, comment='force to have better estimate of the integral at survey for difficult mode like VBF')
3096
 
        self.add_param("second_refine_treshold", 1.5, hidden=True, include=False, comment="set a treshold to bypass the use of a second refine. if the ratio of cross-section after the first refine by the cross-section of the survey is below that treshold, the  second refine will not be done.")
 
3096
        self.add_param("second_refine_treshold", 0.9, hidden=True, include=False, comment="set a treshold to bypass the use of a second refine. if the ratio of cross-section after survey by the one of the first refine is above the treshold, the  second refine will not be done.")
3097
3097
        self.add_param('survey_splitting', -1, hidden=True, include=False, comment="for loop-induced control how many core are used at survey for the computation of a single iteration.")
3098
3098
        self.add_param('survey_nchannel_per_job', 2, hidden=True, include=False, comment="control how many Channel are integrated inside a single job on cluster/multicore")
3099
3099
        self.add_param('refine_evt_by_job', -1, hidden=True, include=False, comment="control the maximal number of events for the first iteration of the refine (larger means less jobs)")
3197
3197
                if self['mmjj'] > self['xqcut']:
3198
3198
                    logger.warning('mmjj > xqcut (and auto_ptj_mjj = F). MMJJ set to 0')
3199
3199
                    self['mmjj'] = 0.0 
3200
 
 
3201
 
 
3202
3200
    
3203
3201
        # check validity of the pdf set
3204
3202
        if self['pdlabel'] == 'lhapdf':
4069
4067
        super(RunCardNLO, self).check_validity()
4070
4068
 
4071
4069
        # for lepton-lepton collisions, ignore 'pdlabel' and 'lhaid'
4072
 
        if self['lpp1']!=1 or self['lpp2']!=1:
 
4070
        if abs(self['lpp1'])!=1 or abs(self['lpp2'])!=1:
4073
4071
            if self['lpp1'] == 1 or self['lpp2']==1:
4074
4072
                raise InvalidRunCard('Process like Deep Inelastic scattering not supported at NLO accuracy.')
4075
4073