Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
pyrvg3.f
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file pyrvg3.f
1
2
C*********************************************************************
3
4
C...PYRVG3
5
C...Function to do Y integration over true interference contributions
6
7
FUNCTION
pyrvg3
(X)
8
9
IMPLICIT NONE
10
common/pyrvpm/rm(0:3),a(2),b(2),resm(2),resw(2),mflag
11
C...Second Dalitz variable for PYRVG4
12
common/pyg2dx/x1
13
DOUBLE PRECISION
rm, a, b, resm, resw,
x
, x1
14
DOUBLE PRECISION
e2, e3, c1, sq1, sr1, sr2,
ymin
,
ymax
15
DOUBLE PRECISION
pyrvg3
,
pyrvg4
,
pygau2
16
LOGICAL
mflag
17
EXTERNAL
pygau2
,
pyrvg4
18
SAVE
/pyrvpm/,/pyg2dx/
19
pyrvg3
=0d0
20
c1=2d0*sqrt(
max
(1d-9,
x
))
21
x1=
x
22
IF
(.NOT.mflag)
THEN
23
e2 =
x
/c1
24
e3 = (rm(0)**2-
x
)/c1
25
ymin
= 0d0
26
ymax
= 4d0*e2*e3
27
ELSE
28
e2 = (
x
-rm(1)**2+rm(2)**2)/c1
29
e3 = (rm(0)**2-
x
-rm(3)**2)/c1
30
sq1 = (e2+e3)**2
31
sr1 = sqrt(
max
(0d0,e2**2-rm(2)**2))
32
sr2 = sqrt(
max
(0d0,e3**2-rm(3)**2))
33
ymin
= sq1-(sr1+sr2)**2
34
ymax
= sq1-(sr1-sr2)**2
35
ENDIF
36
pyrvg3
=
pygau2
(
pyrvg4
,
ymin
,
ymax
,1d-3)
37
RETURN
38
END
pythia6
blob
master
pythiaeRHIC
pythia
pyrvg3.f
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:44
using
1.8.2 with
sPHENIX GitHub integration