9 msg =dir(1:lengdir)//
"/"//execid(1:lengid)//
10 *
"-@."//numb(1:
lengn)//
"-ascii.dat" 11 call copenfw2(fnodat+1, msg, 1, icon)
13 write(0,*)
' icon=', icon
21 limit(3) = reallimitmu
29 rnrfairec(
i, l,
j, k)=0
37 read(fnodat,end=100) bufc, (buf(
i),
i=1, bufc)
47 if( nrfairec(ridx, faiidx, codex, depidx) .gt.
48 * limit(codex)/mcpu )
then 50 prob = limit(codex)/mcpu/
51 * nrfairec(ridx, faiidx, codex, depidx)
57 if( prob .gt. 1.)
then 76 rnrfairec(ridx, faiidx, codex, depidx)=
77 * rnrfairec(ridx, faiidx, codex, depidx) + wwgt
80 *
'(6i3, 1pE11.3, 0p,f6.1,1p2E11.3,0p, 2f8.4,f10.6,1pE11.3)')
82 * buf(
i).
charge, buf(
i).ridx, buf(
i).faiidx,
83 * buf(
i).rinmu, buf(
i).fai, buf(
i).ek,
84 * buf(
i).
t, buf(
i).wx, buf(
i).wy, buf(
i).wz,
88 *
'(6i3, 1pE11.3, 0p,f6.1,1p2E11.3,0p, 2f8.4,f10.6)')
90 * buf(
i).
charge, buf(
i).ridx, buf(
i).faiidx,
91 * buf(
i).rinmu, buf(
i).fai, buf(
i).ek,
92 * buf(
i).
t, buf(
i).wx, buf(
i).wy, buf(
i).wz
subroutine cerrormsg(msg, needrtn)
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
********************block data cblkHeavy ********************integer j data *HeavyG2symbol *data *HeavyG2code kiron data j
subroutine copenfw2(io, fnin, form, icon)
*Zfirst p fm *Zfirst p Zfirst p code
*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
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p *Zfirst pos xyz Zfirst pos xyz *Zfirst pos *Zfirst pos Zfirst pos *Zfirst pos *Zfirst Zfirst vec w *Zfirst vec w Zfirst vec *Zfirst wgt
*Zfirst p fm *Zfirst p Zfirst p Zfirst p subcode