17 type(
ptcl),
intent(in):: pj
18 type(
ptcl),
intent(out):: a(*)
19 integer,
intent(out):: np
21 integer,
parameter:: nbr=4
24 real(8),
save::br(nbr)=(/5.48, 2.39, 5.08, 0./)
25 real(8),
save:: cbr(nbr)
26 logical,
save:: first = .
true.
27 integer:: i, icon, charge, subcode
30 integer,
parameter:: jw=0
32 integer,
intent(out):: brinfo
39 cbr(i) = cbr(i-1) + br(i)
46 if( pj%charge == 0 )
then 47 write(0,*)
'cDsDecay is called for charge 0 ' 48 write(0,*)
' code, subcode,charge=',
49 * pj%code, pj%subcode, pj%charge
67 elseif( u < cbr(2) )
then 78 elseif( u< cbr(3))
then 97 call c2bdcy( pj, a(1), a(2) )
100 call cnbdcy(np, pj%mass, a, jw, w, icon)
102 write(0,*)
' cDsDecay--> cnbdcy--> icon=',icon
103 write(0,*)
' mass =', pj%mass,
' np=', np,
104 *
' branch =', branch
105 write(0,*)
' a(1:np)%mass=', a(1:np)%mass
110 call cibst1(i, pj, a(i), a(i))
116 entry cdsdecaybr(brinfo)
subroutine cdsdecay(pj, a, np)
max ptcl codes in the kphi
subroutine cibst1(init, p1, p2, po)
max ptcl codes in the kelec
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 true
max ptcl codes in the kneue
max ptcl codes in the kneutau
subroutine cnbdcy(n, ecm, p, jw, w, icon)
subroutine c2bdcy(p, p1, p2)
max ptcl codes in the ktau
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
subroutine cmkptc(code, subcode, charge, p)
max ptcl codes in the keta