Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pythia.inc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file pythia.inc
1 C...This file contains an almost complete listing of all PYTHIA
2 C...commonblocks, and additionally some recommended other
3 C...declarations. You may copy this to the top of your
4 C...mina program and then eliminate unnecessary parts.
5 
6 C-----------------------------------------------------------------
7 
8 C...All real arithmetic in double precision.
9  IMPLICIT DOUBLE PRECISION(A-H, O-Z)
10 C...Three Pythia functions return integers, so need declaring.
11  INTEGER PYK,PYCHGE,PYCOMP
12 C...Parameter statement to help give large particle numbers
13 C...(left- and righthanded SUSY, technicolor, excited fermions,
14 C...extra dimensions).
15  PARAMETER (KSUSY1=1000000,KSUSY2=2000000,KTECHN=3000000,
16  &KEXCIT=4000000,KDIMEN=5000000)
17 
18 C...EXTERNAL statement links PYDATA on most machines.
19  EXTERNAL PYDATA
20 
21 C...Commonblocks.
22 C...The event record.
23  COMMON/PYJETS/N,NPAD,K(4000,5),P(4000,5),V(4000,5)
24 C...Parameters.
25  COMMON/PYDAT1/MSTU(200),PARU(200),MSTJ(200),PARJ(200)
26 C...Particle properties + some flavour parameters.
27  COMMON/PYDAT2/KCHG(500,4),PMAS(500,4),PARF(2000),VCKM(4,4)
28 C...Decay information.
29  COMMON/PYDAT3/MDCY(500,3),MDME(8000,2),BRAT(8000),KFDP(8000,5)
30 C...Particle names
31  COMMON/PYDAT4/CHAF(500,2)
32  CHARACTER CHAF*16
33 C...Random number generator information.
34  COMMON/PYDATR/MRPY(6),RRPY(100)
35 C...Selection of hard scattering subprocesses.
36  COMMON/PYSUBS/MSEL,MSELPD,MSUB(500),KFIN(2,-40:40),CKIN(200)
37 C...Parameters.
38  COMMON/PYPARS/MSTP(200),PARP(200),MSTI(200),PARI(200)
39 C...Internal variables.
40  COMMON/PYINT1/MINT(400),VINT(400)
41 C...Process information.
42  COMMON/PYINT2/ISET(500),KFPR(500,2),COEF(500,20),ICOL(40,4,2)
43 C...Parton distributions and cross sections.
44  COMMON/PYINT3/XSFX(2,-40:40),ISIG(1000,3),SIGH(1000)
45 C...Resonance width and secondary decay treatment.
46  COMMON/PYINT4/MWID(500),WIDS(500,5)
47 C...Generation and cross section statistics.
48  COMMON/PYINT5/NGENPD,NGEN(0:500,3),XSEC(0:500,3)
49 C...Process names.
50  COMMON/PYINT6/PROC(0:500)
51  CHARACTER PROC*28
52 C...Total cross sections.
53  COMMON/PYINT7/SIGT(0:6,0:6,0:5)
54 C...Photon parton distributions: total and valence only.
55  COMMON/PYINT8/XPVMD(-6:6),XPANL(-6:6),XPANH(-6:6),XPBEH(-6:6),
56  &XPDIR(-6:6)
57  COMMON/PYINT9/VXPVMD(-6:6),VXPANL(-6:6),VXPANH(-6:6),VXPDGM(-6:6)
58 C...Supersymmetry parameters.
59  COMMON/PYMSSM/IMSS(0:99),RMSS(0:99)
60 C...Supersymmetry mixing matrices.
61  COMMON/PYSSMT/ZMIX(4,4),UMIX(2,2),VMIX(2,2),SMZ(4),SMW(2),
62  &SFMIX(16,4),ZMIXI(4,4),UMIXI(2,2),VMIXI(2,2)
63 C...R-parity-violating couplings in supersymmetry.
64  COMMON/PYMSRV/RVLAM(3,3,3), RVLAMP(3,3,3), RVLAMB(3,3,3)
65 C...Internal parameters for R-parity-violating processes.
66  COMMON/PYRVNV/AB(2,16,2),RMS(0:3),RES(6,5),IDR,IDR2,DCMASS,KFR(3)
67  COMMON/PYRVPM/RM(0:3),A(2),B(2),RESM(2),RESW(2),MFLAG
68  LOGICAL MFLAG
69 C...Parameters for Gauss integration of supersymmetric widths.
70  COMMON/PYINTS/XXM(20)
71  COMMON/PYG2DX/X1
72 C...Histogram information.
73  COMMON/PYBINS/IHIST(4),INDX(1000),BIN(20000)
74 C...HEPEVT commonblock.
75  PARAMETER (NMXHEP=4000)
76  COMMON/HEPEVT/NEVHEP,NHEP,ISTHEP(NMXHEP),IDHEP(NMXHEP),
77  &JMOHEP(2,NMXHEP),JDAHEP(2,NMXHEP),PHEP(5,NMXHEP),VHEP(4,NMXHEP)
78  DOUBLE PRECISION PHEP,VHEP
79 C...User process initialization commonblock.
80  INTEGER MAXPUP
81  PARAMETER (MAXPUP=100)
82  INTEGER IDBMUP,PDFGUP,PDFSUP,IDWTUP,NPRUP,LPRUP
83  DOUBLE PRECISION EBMUP,XSECUP,XERRUP,XMAXUP
84  COMMON/HEPRUP/IDBMUP(2),EBMUP(2),PDFGUP(2),PDFSUP(2),
85  &IDWTUP,NPRUP,XSECUP(MAXPUP),XERRUP(MAXPUP),XMAXUP(MAXPUP),
86  &LPRUP(MAXPUP)
87 C...User process event common block.
88  INTEGER MAXNUP
89  PARAMETER (MAXNUP=500)
90  INTEGER NUP,IDPRUP,IDUP,ISTUP,MOTHUP,ICOLUP
91  DOUBLE PRECISION XWGTUP,SCALUP,AQEDUP,AQCDUP,PUP,VTIMUP,SPINUP
92  COMMON/HEPEUP/NUP,IDPRUP,XWGTUP,SCALUP,AQEDUP,AQCDUP,IDUP(MAXNUP),
93  &ISTUP(MAXNUP),MOTHUP(2,MAXNUP),ICOLUP(2,MAXNUP),PUP(5,MAXNUP),
94  &VTIMUP(MAXNUP),SPINUP(MAXNUP)