14 nrfairec(
i, l,
j, k)=0
21 msg =dir(1:lengdir)//
"/"//execid(1:lengid)//
".dat" 23 write(0,*)
' asking main file opening' 25 call copenfw2(fnodat+1, msg, 1, icon)
27 write(0,*)
' icon=', icon
34 write(numbr,
'("rank-",i5)') rank
35 call kseblk(numbr,
'{', lengnr)
37 msg =dir(1:lengdir)//
"/"//execid(1:lengid)//
38 *
"-@."//numbr(1:lengnr)//
".dat" 41 write(0,*)
' icon=', icon
47 read(fnodat,end=100) bufc, (buf(
i),
i=1, bufc)
57 if( nrfaireca(ridx, faiidx, codex, depidx) .gt.
61 * nrfaireca(ridx, faiidx, codex, depidx)
67 if( prob .gt. 1.)
then 86 nrfairec(ridx, faiidx, codex, depidx)=
87 * nrfairec(ridx, faiidx, codex, depidx) + wwgt
90 *
'(6i3, 1pE11.3, 0p,f6.1,1p2E11.3,0p, 2f8.4,f10.6,1pE11.3)')
92 * buf(
i).
charge, buf(
i).ridx, buf(
i).faiidx,
93 * buf(
i).rinmu, buf(
i).fai, buf(
i).ek,
94 * buf(
i).
t, buf(
i).wx, buf(
i).wy, buf(
i).wz,
98 *
'(6i3, 1pE11.3, 0p,f6.1,1p2E11.3,0p, 2f8.4,f10.6)')
100 * buf(
i).
charge, buf(
i).ridx, buf(
i).faiidx,
101 * buf(
i).rinmu, buf(
i).fai, buf(
i).ek,
102 * 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
subroutine kseblk(text, c, lc)
*Zfirst p fm *Zfirst p Zfirst p Zfirst p subcode