~madteam/mg5amcnlo/series2.0

« back to all changes in this revision

Viewing changes to Template/NLO/SubProcesses/reweight.inc

  • Committer: Marco Zaro
  • Date: 2012-08-28 21:06:34 UTC
  • mto: (78.35.14 AutoMint)
  • mto: This revision was merged to the branch mainline in revision 249.
  • Revision ID: marco.zaro@gmail.com-20120828210634-5a06yvda3hplw8ur
doing some renaming:
 Template/FKS-born -> Template/NLO
 fks_born.py -> fks_base.py
 fks_born_helas_objects.py -> fks_helas_objects.py
 export_fks_born.py -> export_fks.py

also functions/classes and tests renamed
all unit tests ok, exporting ok

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
c Save reweight information for aMC@NLO computations
 
2
 
 
3
      include 'reweight0.inc'
 
4
      include 'reweight1.inc'
 
5
 
 
6
      logical doreweight
 
7
      parameter (doreweight=.true.)
 
8
 
 
9
c Save reweight information for NLO computations
 
10
      logical doNLOreweight
 
11
      parameter (doNLOreweight=.true.)
 
12
 
 
13
c Check that save weights are consistent with the reference weight wgtref
 
14
      logical check_reweight
 
15
      parameter (check_reweight=.true.)
 
16
 
 
17
c Controls the scale/kinematics storage:
 
18
c  iwgtinfo=1 --> store muR and muF for both event and counterevents
 
19
c  iwgtinfo=2 --> store muR and muF for the kinematic configuration already
 
20
c                 in <event>, and the other kinematic configuration
 
21
c  iwgtinfo=3 --> store the two kinematic configurations
 
22
c  iwgtinfo=4 (default) --> same as 3, but also wgtbpower is included
 
23
c  iwgtinfo=5 (new default) --> needed when combining nFKSprocesses
 
24
c If computing parton-level NLO, iwgtinfo=2 must not be used
 
25
      integer iwgtinfo
 
26
      parameter (iwgtinfo=5)
 
27
 
 
28
c
 
29
c Auxiliary quantities
 
30
c
 
31
 
 
32
c Temporary quantities relevant to degenerate terms
 
33
      double precision wgtdegrem_xi,wgtdegrem_lxi,wgtdegrem_muF
 
34
      common/cwgtaux1/wgtdegrem_xi,wgtdegrem_lxi,wgtdegrem_muF
 
35
 
 
36
c Temporary quantities relevant to n-body terms
 
37
      double precision wgtnstmp,wgtwnstmpmuf,wgtwnstmpmur,wgtref_nbody
 
38
      common/cwgtaux2/wgtnstmp,wgtwnstmpmuf,wgtwnstmpmur,wgtref_nbody
 
39
 
 
40
c Temporary weights for pure-NLO computations: event, counterevents+Born, 
 
41
c and Born, with the same conventions as in fks_singular
 
42
      double precision wgtNLO11,wgtNLO12,wgtNLO20
 
43
      common/cwgtaux3/wgtNLO11,wgtNLO12,wgtNLO20