~maddevelopers/mg5amcnlo/3.0.2

« back to all changes in this revision

Viewing changes to vendor/IREGI/src/qcdloop/ql/qlI4.f

  • 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
      double complex function qlI4(p1,p2,p3,p4,s12,s23,
 
2
     . m1,m2,m3,m4,mu2,ep)
 
3
      implicit none
 
4
      double precision p1,p2,p3,p4,s12,s23,m1,m2,m3,m4,mu2,newmu2
 
5
      integer ep,j
 
6
C     pi=p(i)^2, i=1,2,3,4 are momentum squared of the external lines
 
7
C     mi=m(i)^2  i=1,2,3,4 are masses squared of the internal lines
 
8
C     sij=(pi+pj)^2 are external invariants
 
9
C     mu2 is the square of the scale mu
 
10
C     ep=-2,-1,0 chooses the coefficient in the Laurent series.
 
11
      double precision xpi(13),scalefac
 
12
      double complex qlI4array
 
13
 
 
14
C     Uses the ordering for the routine xpi wanted by FF
 
15
C     psq(1) lies between msq(1) and msq(2) and so on
 
16
C     xpi(1-4) = msq(1),msq(2),msq(3),msq(4)
 
17
C     xpi(5-8) = psq(1),psq(2),psq(3),psq(4)
 
18
C     xpi(9-10) = s12,s23
 
19
C     xpi(11) = +xpi(5)+xpi(6)+xpi(7)+xpi(8)-xpi(9)-xpi(10)
 
20
C     xpi(12) = -xpi(5)+xpi(6)-xpi(7)+xpi(8)+xpi(9)+xpi(10)
 
21
C     xpi(13) = +xpi(5)-xpi(6)+xpi(7)-xpi(8)+xpi(9)+xpi(10)
 
22
 
 
23
      xpi(1)=m1
 
24
      xpi(2)=m2
 
25
      xpi(3)=m3
 
26
      xpi(4)=m4
 
27
      xpi(5)=p1
 
28
      xpi(6)=p2
 
29
      xpi(7)=p3
 
30
      xpi(8)=p4
 
31
      xpi(9)=s12
 
32
      xpi(10)=s23
 
33
      xpi(11)=+xpi(5)+xpi(6)+xpi(7)+xpi(8)-xpi(9)-xpi(10)
 
34
      xpi(12)=-xpi(5)+xpi(6)-xpi(7)+xpi(8)+xpi(9)+xpi(10)
 
35
      xpi(13)=+xpi(5)-xpi(6)+xpi(7)-xpi(8)+xpi(9)+xpi(10)
 
36
      scalefac=max(abs(s12),abs(s23),abs(p1),abs(p2),abs(p3),abs(p4))
 
37
      do j=1,13
 
38
      xpi(j)=xpi(j)/scalefac
 
39
      enddo
 
40
      newmu2=mu2/scalefac
 
41
      qlI4=qlI4array(xpi,newmu2,ep)/scalefac**2
 
42
      return
 
43
      end