2 #include "chookHybAS.f" 3 #include "../ctemplCeren.f" 12 #include "Zmanagerp.h" 38 open(mdev, file=mskel(1:klena(mskel)), form=
'unformatted',
56 if( nomore .eq. 1)
then 57 call cerrormsg(
'all events are fleshed', 1)
77 #include "Zmanagerp.h" 89 integer cumnum, num, jeof, fin
90 read( mdev, end=1000 ) cumnum, num, seedsave, zfirst
92 eventsintherun = eventsintherun + 1
105 if(fin .ne. 0 )
goto 1000
119 * sngl(obssites(i).pos.
depth),
128 999
format(f10.3,i9,3i4,e15.5,3(1
x,f12.8))
157 #include "Zprivate.h" 173 if( atrack.
p.
code .le. 6 .and. atrack.
p.
code .ne. 3 )
then 208 #include "Zprivate.h" 225 do i = 1, noofassites
226 write(*, *) asobssites(i).age, asobssites(i).esize
247 #include "Zprivate.h" 289 h1 = trackbefmove.pos.
height- obssites(noofsites).pos.
height 290 h2 = movedtrack.pos.
height - obssites(noofsites).pos.
height 323 #include "Zprivate.h" 336 #include "Zprivate.h" 346 atrack.
where =
o(i).
where 350 atrack.
t =
o(i).atime
351 atrack.
p.fm.
p(4) =
o(i).
erg 353 atrack.pos.
xyz.
r(1) =
o(i).
x 354 atrack.pos.
xyz.
r(2) =
o(i).
y 355 atrack.vec.w.
r(1) =
o(i).wx
356 atrack.vec.w.
r(2) =
o(i).wy
357 atrack.vec.w.
r(3) =
o(i).wz
368 #include "Zprivate.h" 377 read(mdev) nooflowe,
p 378 if(
p.
asflag .eq. -1 .and. observeas )
then 382 if( nooflowe .eq. -1 )
then 393 if( nlowcounter .eq. nooflowe )
then 403 nlowcounter = nlowcounter + 1
410 #include "Zprivate.h" 431 #include "Zprivate.h" 440 atrack.pos.
xyz.
r(1) =
p.posx
441 atrack.pos.
xyz.
r(2) =
p.posy
442 atrack.pos.
xyz.
r(3) =
p.posz
448 atrack.
where =
p.
where 453 atrack.
p.fm.
p(1) =
c.fm(1)
454 atrack.
p.fm.
p(2) =
c.fm(2)
455 atrack.
p.fm.
p(3) =
c.fm(3)
456 atrack.
p.fm.
p(4) =
c.fm(4)
462 atrack.pos.
xyz.
sys =
'xyz' 463 atrack.vec.w.
sys =
'xyz' 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