]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PYTHIA6/POWHEG-BOX/setup-PYTHIA-lhef.f
Store event weight from Pythia in event header
[u/mrichter/AliRoot.git] / PYTHIA6 / POWHEG-BOX / setup-PYTHIA-lhef.f
CommitLineData
64da86aa 1 subroutine UPINIT
2 implicit none
a327d9f0 3 include 'hepevt_f.h'
64da86aa 4 include 'LesHouches.h'
5 double precision parp,pari
6 integer mstp,msti
7 common/pypars/mstp(200),parp(200),msti(200),pari(200)
8 integer MSTU,MSTJ
9 double precision PARU,PARJ
10 COMMON/PYDAT1/MSTU(200),PARU(200),MSTJ(200),PARJ(200)
11 integer MDCY,MDME,KFDP
12 double precision brat
13 COMMON/PYDAT3/MDCY(500,3),MDME(8000,2),BRAT(8000),KFDP(8000,5)
14 integer pycomp
15 external pycomp
16 integer maxev
17 common/mcmaxev/maxev
18 nevhep=0
19c read the header first, so lprup is set
20 call lhefreadhdr(97)
21 end
22
23 subroutine UPEVNT
24 implicit none
25 call lhefreadev(97)
26 end
27
28 subroutine UPVETO
29c pythia routine to abort event
30 end