~maddevelopers/mg5amcnlo/2.3.3

« back to all changes in this revision

Viewing changes to Template/NLO/Source/PDF/pdg2pdf_lhapdf.f

  • Committer: Rikkert Frederix
  • Date: 2015-10-21 14:57:34 UTC
  • Revision ID: frederix@physik.uzh.ch-20151021145734-ykh72ac5gtfb2uom
fix for event reweighting in the case of lepton-lepton collisions (NLO processes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
      data imemlast/20*-99/
46
46
      data i_replace/20/
47
47
 
 
48
      if (ih.eq.0) then
 
49
c     Lepton collisions (no PDF). 
 
50
         pdg2pdf=1d0
 
51
         return
 
52
      endif
 
53
 
48
54
c     Make sure we have a reasonable Bjorken x. Note that even though
49
55
c     x=0 is not reasonable, we prefer to simply return pdg2pdf=0
50
56
c     instead of stopping the code, as this might accidentally happen.