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
pymemx.f
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file pymemx.f
1
2
C*********************************************************************
3
4
C...PYMEMX
5
C...Generates maximum ME weight in some initial-state showers.
6
C...Inparameter MECOR: kind of hard scattering process
7
C...Outparameter WTFF: maximum weight for fermion -> fermion
8
C... WTGF: maximum weight for gluon/photon -> fermion
9
C... WTFG: maximum weight for fermion -> gluon/photon
10
C... WTGG: maximum weight for gluon -> gluon
11
12
SUBROUTINE
pymemx
(MECOR,WTFF,WTGF,WTFG,WTGG)
13
14
C...Double precision and integer declarations.
15
IMPLICIT
DOUBLE PRECISION
(a-
h
, o-
z
)
16
IMPLICIT
INTEGER
(
i
-
n
)
17
INTEGER
pyk
,
pychge
,
pycomp
18
C...Commonblocks.
19
common/
pyjets
/
n
,
npad
,
k
(4000,5),
p
(4000,5),
v
(4000,5)
20
common/
pydat1
/mstu(200),paru(200),mstj(200),parj(200)
21
common/
pypars
/
mstp
(200),
parp
(200),
msti
(200),
pari
(200)
22
common/
pyint1
/
mint
(400),
vint
(400)
23
common/
pyint2
/iset(500),kfpr(500,2),coef(500,20),icol(40,4,2)
24
SAVE
/
pyjets
/,/
pydat1
/,/
pypars
/,/
pyint1
/,/
pyint2
/
25
26
C...Default maximum weight.
27
wtff=1d0
28
wtgf=1d0
29
wtfg=1d0
30
wtgg=1d0
31
32
C...Select maximum weight by process.
33
IF
(mecor.EQ.1)
THEN
34
wtff=1d0
35
wtgf=3d0
36
ELSEIF
(mecor.EQ.2)
THEN
37
wtfg=1d0
38
wtgg=1d0
39
ENDIF
40
41
RETURN
42
END
pythia6
blob
master
pythiaeRHIC
pythia
pymemx.f
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:42
using
1.8.2 with
sPHENIX GitHub integration