23 integer ncoll, tgtchg, i, n
24 type(
ptcl):: aPtcl, tgt
30 if(sucint .eq. 0)
then 32 elseif(sucint .eq. 1)
then 35 call cerrormsg(
'SucInt has an invalid value', 0)
45 tgt%fm%p(4) = tgt%mass
49 do while( fails .lt. 10 .and. icon .ne. 0 )
50 call chncol(pj, tgt, a, ntp, icon)
67 if(aptcl%fm%p(4) .gt. eminsuccol)
then 71 call chncol(aptcl, tgt, a(ntp+1), n, icon)
subroutine cerrormsg(msg, needrtn)
subroutine csmpcolina2(pj, ia, nc)
subroutine chncol(pj, tg, a, ntp, icon)
subroutine csampcollina(pj, ia, nc)
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 kseethru ! subcode integer regptcl
subroutine chacoladhoc(pj, ia, iz, a, ntp)
********************block data cblkHeavy ********************integer j data *HeavyG2symbol *data *HeavyG2code knuc
subroutine cfxtgtchg(ia, iz, tcg)
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)