]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TEvtGen/EvtGenModels/jetsetcont.F
use eta-phi cuts instead of R-z cuts for track matching, add track momentum cut ...
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenModels / jetsetcont.F
CommitLineData
da0e9ce3 1C--------------------------------------------------------------------------
2C
3C Environment:
4C This software is part of the EvtGen package developed jointly
5C for the BaBar and CLEO collaborations. If you use all or part
6C of it, please give an appropriate acknowledgement.
7C
8C Copyright Information: See EvtGen/COPYRIGHT
9C Copyright (C) 1998 Caltech, UCSB
10C
11C Module: jetsetcont.F
12C
13C Description:
14C
15C Modification history:
16C
17C DJL/RYD August 11, 1998 Module created
18C
19C------------------------------------------------------------------------
20 subroutine jetsetcont(energy,flavor,ndaug,kf,px,py,pz,e)
21
22
23
24 implicit none
25
26 common/lujets/n,k(4000,5),p(4000,5),v(4000,5)
27
28 integer n,k
29 real p,v
30
31 real*8 energy
32
33 real senergy
34
35 integer lucomp
36 external lucomp
37
38 integer flavor,kf(100),i,ndaug
39 real*8 px(100),py(100),pz(100),e(100)
40
41 senergy=energy
42
43
44 call lu2ent(0,flavor,-flavor,senergy)
45
46
47 ndaug=0
48
49 do 10,i=4,n
50
51c only wants the particles that are created from the
52c fragmentation, not the secondary daugthers.
53
54 if (k(i,3).eq.3) then
55 kf(i-3)=k(i,2)
56 px(i-3)=p(i,1)
57 py(i-3)=p(i,2)
58 pz(i-3)=p(i,3)
59 e(i-3)=p(i,4)
60 ndaug=ndaug+1
61 endif
62
6310 continue
64
65
66 end
67
68
69