9 integer,
intent(in)::jdecay(
klast)
13 real(8),
intent(in)::tau
21 integer,
intent(in):: nin
24 integer,
intent(out):: nout
30 real(8),
save::dist=141.2
31 real(8) u, gamma, decayl
35 integer nchgin, nchgout
38 if(
a(
i)%charge /= 0) nchgin= nchgin+1
46 if( jdecay(
code) /= 0 .or. tau == 0. )
then 50 gamma =
a(
i)%fm%p(4)/
a(
i)%mass
52 decayl = -log(u)*ctau*gamma
53 decay = (decayl < dist )
55 decay = (ctau/3.e8 < tau)
62 if(
a(
i)%charge == 0)
then 66 if(
a(
i)%subcode ==
k0s )
then 84 write(*,*)
' code =',
code 90 write(0,*)
' j=',
j,
' code=',
code,
' chg=',
a(
i)%charge
105 if(
b(
i)%charge /= 0) nchgout = nchgout+1
107 write(0,*)
' chgin out', nchgin, nchgout
subroutine cerrormsg(msg, needrtn)
subroutine cddecay(pj, a, np)
max ptcl codes in the kgzai
max ptcl codes in the kdmes
max ptcl codes in the kseethru ! subcode integer k0s
subroutine cpi0decay(pj, a, np)
max ptcl codes in the klambdac
max ptcl codes in the kkaon
subroutine csigmadecay(pj, a, np)
subroutine clambdacdcy(pj, a, np)
********************block data cblkHeavy ********************integer j data *HeavyG2symbol *data *HeavyG2code kiron data j
*Zfirst p fm *Zfirst p Zfirst p code
max ptcl codes in the klambda
subroutine cbomegadcy(pj, a, np)
subroutine cetadecay(pj, a, np)
subroutine cgetctau(proj, ctau)
subroutine ckaondecay(pj, mupol, a, np, polari)
block data include Zlatfit h c fitting region data data data data data d0 data data d0 data data m
block data cblkElemag data *AnihiE ! Eposi< 1 TeV, anihilation considered *X0/365.667/, ! radiation length of air in kg/m2 *Ecrit/81.e-3/, ! critical energy of air in GeV *MaxComptonE/1./, ! compton is considered below 1 GeV *MaxPhotoE/1.e-3/, ! above this, PhotoElectric effect neg. *MinPhotoProdE/153.e-3/, ! below 153 MeV, no gp --> hadrons ! scattering const not MeV *Knockon ! knockon is considered Obsolete *PhotoProd false
max ptcl codes in the keta
subroutine cgzaidecay(pj, a, np)
subroutine clambdadcy(pj, a, np)
max ptcl codes in the klast
max ptcl codes in the kpion
max ptcl codes in the ksigma
max ptcl codes in the kbomega