~maddevelopers/mg5amcnlo/3.0.1

« back to all changes in this revision

Viewing changes to Template/NLO/MCatNLO/srcPythia/reweight0.inc

  • Committer: Marco Zaro
  • Date: 2014-01-27 16:54:10 UTC
  • mfrom: (78.124.55 MG5_aMC_2.1)
  • Revision ID: marco.zaro@gmail.com-20140127165410-5lma8c2hzbzm426j
merged with lp:~maddevelopers/madgraph5/MG5_aMC_2.1 r 267

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
c Common blocks for NLO or aMC@NLO reweighting
2
 
c Conventions for array relevant to NLO computations:
3
 
c   i=1,2,3,4  -> event, soft, collinear, soft-collinear
4
 
c   ==>  i = icountevts+2 for counterevents
5
 
 
6
 
c The following is introduced since this file may be included in codes
7
 
c that need not know nexternal. Make sure that maxparticles>=nexternal
8
 
      integer maxparticles
9
 
      parameter (maxparticles=20)
10
 
 
11
 
c Reference weight and Ellis-Sexton scales
12
 
      double precision wgtref,wgtqes2(4)
13
 
      common/cwgt0/wgtref,wgtqes2
14
 
 
15
 
c Bjorken x's
16
 
      double precision wgtxbj(2,4)
17
 
      common/cwgt1/wgtxbj
18
 
 
19
 
c Kinematic configurations
20
 
      double precision wgtkinE(0:3,maxparticles,4)
21
 
      common/cwgt2E/wgtkinE
22
 
 
23
 
c Reference renormalization and factorization scales squared
24
 
      double precision wgtmuR2(4),wgtmuF12(4),wgtmuF22(4)
25
 
      common/cwgt2mu/wgtmuR2,wgtmuF12,wgtmuF22
26
 
 
27
 
c Real-emission weights, scale independent
28
 
      double precision wgtwreal(4)
29
 
      common/cwgt3/wgtwreal
30
 
 
31
 
c (n+1)-body degenerate weights, scale independent
32
 
      double precision wgtwdeg(4)
33
 
      common/cwgt4/wgtwdeg
34
 
 
35
 
c (n+1)-body degenerate weights, muF dependence
36
 
      double precision wgtwdegmuf(4)
37
 
      common/cwgt5/wgtwdegmuf
38
 
 
39
 
c n-body weights: Born, n-body NLO scale independent,
40
 
c   n-body NLO scale muF dependence, n-body NLO scale muR dependence
41
 
      double precision wgtwborn(2:2),wgtwns(2:2),
42
 
     #                 wgtwnsmuf(2:2),wgtwnsmur(2:2)
43
 
      common/cwgt6/wgtwborn,wgtwns,wgtwnsmuf,wgtwnsmur
44
 
 
45
 
c MC stuff: MC counterterms proper, and Bjorken x's
46
 
      double precision wgtwmcxsecE(maxparticles),
47
 
     #                 wgtmcxbjE(2,maxparticles)
48
 
      common/cwgt7E/wgtwmcxsecE,wgtmcxbjE
49
 
 
50
 
c MC stuff: number of father's colour partners
51
 
      integer iwgtnumpartn
52
 
      common/cwgt8/iwgtnumpartn
53
 
 
54
 
c Auxiliary quantities used when writing events
55
 
      integer jwgtinfo,mexternal
56
 
      common/cwgtaux0/jwgtinfo,mexternal
57
 
 
58
 
c
59
 
c Cross sections after variations of scales and PDFs
60
 
c
61
 
      integer maxscales,maxPDFs
62
 
      parameter (maxscales=3)
63
 
      parameter (maxPDFs=200)
64
 
 
65
 
c Number of scale factors (for each scale) and PDF error pairs
66
 
      integer numscales,numPDFpairs
67
 
      common/cwgxsec1/numscales,numPDFpairs
68
 
 
69
 
c Cross sections at different scales and PDFs
70
 
      double precision wgtxsecmu(maxscales,maxscales),
71
 
     #                 wgtxsecPDF(0:maxPDFs)
72
 
      common/cwgxsec2/wgtxsecmu,wgtxsecPDF