2 #include "chookHybAS.f" 3 #include "ctemplCeren.f" 12 #include "Zmanagerp.h" 45 open(mdev, file=mskel(1:klena(mskel)), form=
'unformatted',
63 if( nomore .eq. 1)
then 64 call cerrormsg(
'all events are fleshed', 1)
84 #include "Zmanagerp.h" 90 type(
track):: incident, zsave
95 integer cumnum, num, jeof, fin
96 read( mdev, end=1000 ) cumnum, num, seedsave, zfirst
98 eventsintherun = eventsintherun + 1
111 if(fin .ne. 0 )
goto 1000
132 999
format(i9,3i4,e15.5,3(1
x,f12.8))
161 #include "Zprivate.h" 177 if( atrack.
p.
code .le. 6 .and. atrack.
p.
code .ne. 3 )
then 212 #include "Zprivate.h" 229 do i = 1, noofassites
230 write(*, *) asobssites(i).age, asobssites(i).esize
251 #include "Zprivate.h" 293 h1 = trackbefmove.pos.
height- obssites(noofsites).pos.
height 294 h2 = movedtrack.pos.
height - obssites(noofsites).pos.
height 327 #include "Zprivate.h" 340 #include "Zprivate.h" 350 atrack.
where =
o(i).
where 354 atrack.
t =
o(i).atime
355 atrack.
p.fm.
p(4) =
o(i).
erg 357 atrack.pos.
xyz.
r(1) =
o(i).
x 358 atrack.pos.
xyz.
r(2) =
o(i).
y 359 atrack.vec.w.
r(1) =
o(i).wx
360 atrack.vec.w.
r(2) =
o(i).wy
361 atrack.vec.w.
r(3) =
o(i).wz
372 #include "Zprivate.h" 381 read(mdev) nooflowe,
p 382 if(
p.
asflag .eq. -1 .and. observeas
383 * .and. howflesh .ne. 0 )
then 387 if( nooflowe .eq. -1 )
then 398 if( nlowcounter .eq. nooflowe )
then 408 nlowcounter = nlowcounter + 1
415 #include "Zprivate.h" 436 #include "Zprivate.h" 445 atrack.pos.
xyz.
r(1) =
p.posx
446 atrack.pos.
xyz.
r(2) =
p.posy
447 atrack.pos.
xyz.
r(3) =
p.posz
453 atrack.
where =
p.
where 458 atrack.
p.fm.
p(1) =
c.fm(1)
459 atrack.
p.fm.
p(2) =
c.fm(2)
460 atrack.
p.fm.
p(3) =
c.fm(3)
461 atrack.
p.fm.
p(4) =
c.fm(4)
467 atrack.pos.
xyz.
sys =
'xyz' 468 atrack.vec.w.
sys =
'xyz' 470 if(
p.
asflag .ne. 0 .and. howflesh .ne. 0 )
then subroutine cgetfname(fnin, fn)
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p *Zfirst pos xyz Zfirst pos xyz *Zfirst pos *Zfirst pos depth
subroutine cerrormsg(msg, needrtn)
subroutine cqincident(incident, AngleAtObs)
subroutine chookgint(never)
dE dx *! Nuc Int sampling table e
*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 colheight
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p *Zfirst pos xyz r
latitude latitude this system is used *****************************************************************! type coord sequence union map real z z in m endmap xyz map real ! latitude in deg is to the north ! longitude in deg is to the east *h ! height in m endmap llh map real ! polar angle ! azimuthal angle *radius ! radial distance endmap sph endunion character *sys ! which system xyz
subroutine chooknepint(never)
subroutine cbegin1ev(nomore)
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
subroutine cprintprim(out)
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p *Zfirst pos xyz Zfirst pos xyz sys
max ptcl codes in the kneue
subroutine cmkincident(incident, fin)
subroutine cwriteparam(io, force)
subroutine cresetdirec(aTrack)
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
*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 Zfirst Zfirst asflag
*Zfirst p fm *Zfirst p Zfirst p code
max ptcl codes in the kneumu
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p *Zfirst pos xyz Zfirst pos xyz *Zfirst pos *Zfirst pos Zfirst pos height
latitude latitude this system is used *****************************************************************! type coord sequence union map real y
subroutine cinitracking(incident)
*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 coszenith
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p charge
subroutine cresettimer(aTrack)
subroutine chookobs(aTrack, id)
subroutine cquhooki(i, iv)
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 cquhookc(i, cv)
*Zfirst p fm *Zfirst p mass
*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 chookeint(never)
! structure defining a particle at production ! Basic idea of what is to be contained in ! the particle structue is that dynamical ones should be included those derivable from the particle code ! is not included ******************************************************type fmom momentum sequence union map real e endmap map real * x
*Zfirst p fm *Zfirst p Zfirst p Zfirst p subcode
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p *Zfirst pos xyz Zfirst pos xyz *Zfirst pos radiallen
dE dx *! Nuc Int sampling table c