2
subroutine stdquarklst(iq,nqrk,lsize,lqrk)
4
C...Search the HEPEVT common block for all mesons and baryons with
8
C NQRK = number of particles with quark type IQ
9
C LQRK(LSIZE) = list of particles with quark type IQ
19
integer i,kq,kqa,kq1,kq2,kq3,kqx,kqj,kql,kqr
26
if(kqa.gt.99.and.kqa.lt.10000000) then
27
C...Subdivide standard ID code into constituent pieces.
28
call stdquarks(i,kq1,kq2,kq3,kql,kqj,kqr,kqx)
29
if(kq1.eq.iq .or. kq2.eq.iq .or. kq3.eq.iq)then
31
if(nqrk.le.lsize) lqrk(nqrk) = i
35
if(nqrk.gt.lsize) write(lnhout,1001) nqrk,lsize
37
1001 format(' stdquarklst: found ',i4,
38
1 ' particles, but the list only allows ',i4)