EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
pygdir.F
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file pygdir.F
1
SUBROUTINE
pygdir
(X,Q2,P2,AK0,XPGA)
2
c
...purpose:
to
evaluate the direct contribution, i.e. the
c
^
gamma
term,
3
c
...
as
needed
in
msbar parametrizations.
4
dimension xpga(-6:6)
5
DATA
pmc/1.3/, pmb/4.6/, aem2pi/0.0011614/
6
7
c
...
reset
output
.
8
DO
100 kfl=-6,6
9
xpga(kfl)=0.
10
100
CONTINUE
11
12
c
...evaluate
common
x
-dependent expression.
13
xtmp = (
x
**2+(1.-
x
)**2) * (-
log
(
x
)) - 1.
14
cgam = 3.*aem2pi*
x
* (xtmp*(1.+p2/(p2+ak0**2)) + 6.*
x
*(1.-
x
))
15
16
c
...
d
, u,
s
part
by simple
charge
factor
.
17
xpga(1)=(1./9.)*cgam
18
xpga(2)=(4./9.)*cgam
19
xpga(3)=(1./9.)*cgam
20
21
c
...also
fill
for
antiquarks.
22
DO
110 kf=1,5
23
xpga(-kf)=xpga(kf)
24
110
CONTINUE
25
26
RETURN
27
END
PEPSI
blob
master
pepsi
pygdir.F
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:57
using
1.8.2 with
EIC GitHub integration