2 #include "../chookHybAS.f" 3 #include "ctemplCeren.f" 12 #include "Zmanagerp.h" 13 #include "../../SkelFlesh/Zprivate.h" 47 #include "../../SkelFlesh/Zprivate.h" 52 if( nomore .eq. 1)
then 53 call cerrormsg(
'all events have been fleshed', 1)
63 #include "../../SkelFlesh/Zprivate.h" 72 #include "Zmanagerp.h" 78 type(
track):: incident, zsave
83 integer cumnum, num, jeof, fin
84 read( mdev, end=1000, err=999 ) cumnum, num, seedsave, zfirst
86 eventsintherun = eventsintherun + 1
92 if(fin .ne. 0 )
goto 1000
117 write(0,*)
' Mdev read err' 148 if(atrack.
wgt .gt. 1.)
then 159 call xobs(atrack, id)
232 h1 = trackbefmove.pos.
height- obssites(noofsites).pos.
height 233 h2 = movedtrack.pos.
height - obssites(noofsites).pos.
height 266 #include "../../SkelFlesh/Zprivate.h" 279 #include "../../SkelFlesh/Zprivate.h" 288 common /zheobs/ heobs
292 atrack.
where =
o(i).
where 296 atrack.
t =
o(i).atime
297 atrack.
p.fm.
p(4) =
o(i).
erg 299 atrack.pos.
xyz.
r(1) =
o(i).
x 300 atrack.pos.
xyz.
r(2) =
o(i).
y 301 atrack.vec.w.
r(1) =
o(i).wx
302 atrack.vec.w.
r(2) =
o(i).wy
303 atrack.vec.w.
r(3) =
o(i).wz
315 #include "../../SkelFlesh/Zprivate.h" subroutine cgetfname(fnin, fn)
subroutine cerrormsg(msg, needrtn)
subroutine chookgint(never)
*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)
subroutine cmkincident(incident, fin)
subroutine cwriteparam(io, force)
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
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 *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 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