]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PYTHIA/pythia/pygdir.F
Change of argument list of methods GetPadCxy, GetPadIxy, SetHit and FirstPad
[u/mrichter/AliRoot.git] / PYTHIA / pythia / pygdir.F
CommitLineData
fe4da5cc 1
2C*********************************************************************
3
4 SUBROUTINE PYGDIR(X,Q2,P2,AK0,XPGA)
5C...Purpose: to evaluate the direct contribution, i.e. the C^gamma term,
6C...as needed in MSbar parametrizations.
7 DIMENSION XPGA(-6:6)
8 DATA PMC/1.3/, PMB/4.6/, AEM2PI/0.0011614/
9
10C...Reset output.
11 DO 100 KFL=-6,6
12 XPGA(KFL)=0.
13 100 CONTINUE
14
15C...Evaluate common x-dependent expression.
16 XTMP = (X**2+(1.-X)**2) * (-LOG(X)) - 1.
17 CGAM = 3.*AEM2PI*X * (XTMP*(1.+P2/(P2+AK0**2)) + 6.*X*(1.-X))
18
19C...d, u, s part by simple charge factor.
20 XPGA(1)=(1./9.)*CGAM
21 XPGA(2)=(4./9.)*CGAM
22 XPGA(3)=(1./9.)*CGAM
23
24C...Also fill for antiquarks.
25 DO 110 KF=1,5
26 XPGA(-KF)=XPGA(KF)
27 110 CONTINUE
28
29 RETURN
30 END