12 integer chg, code, subcode, nchild
14 integer kchild(maxinclusive), chgchild(maxinclusive)
15 integer subchild(maxinclusive)
16 real*8 echild(maxinclusive)
23 call rdtbl(tempdev, inclusivefile)
31 call ptlint(code, chg, subcode, pj.fm.
p(4),
32 * nchild, kchild, chgchild, subchild, echild)
34 if(nchild .gt. maxinclusive)
then 36 *
'# of ptcls by inclusive prod. exceeded limit', 1)
38 *
'enlarge maxinclusive in cinclusive.f', 0)
42 call cmkptc(kchild(i), subchild(i), chgchild(i),
44 a(i).fm.
p(4) = echild(i) + a(i).
mass 47 a(i).fm.
p(3) = sqrt( echild(i) * (echild(i)+2*a(i).
mass))
integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
subroutine cerrormsg(msg, needrtn)
subroutine cinclusive(pj, a, np)
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p charge
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)
*Zfirst p fm *Zfirst p mass