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
pyname.f
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file pyname.f
1
2
C*********************************************************************
3
4
C...PYNAME
5
C...Gives the particle/parton name as a character string.
6
7
SUBROUTINE
pyname
(KF,CHAU)
8
9
C...Double precision and integer declarations.
10
IMPLICIT
DOUBLE PRECISION
(a-
h
, o-
z
)
11
IMPLICIT
INTEGER
(
i
-
n
)
12
INTEGER
pyk
,
pychge
,
pycomp
13
C...Commonblocks.
14
common/
pydat1
/mstu(200),paru(200),mstj(200),parj(200)
15
common/
pydat2
/kchg(500,4),pmas(500,4),parf(2000),vckm(4,4)
16
common/
pydat4
/chaf(500,2)
17
CHARACTER
chaf*16
18
SAVE
/
pydat1
/,/
pydat2
/,/
pydat4
/
19
C...Local character variable.
20
CHARACTER
chau*16
21
22
C...Read out code with distinction particle/antiparticle.
23
chau=
' '
24
kc=
pycomp
(kf)
25
IF
(kc.NE.0) chau=chaf(kc,(3-isign(1,kf))/2)
26
27
28
RETURN
29
END
pythia6
blob
master
pythiaeRHIC
pythia
pyname.f
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:42
using
1.8.2 with
sPHENIX GitHub integration