2 #include "chookHybAS.f" 3 #include "ctemplCeren.f" 8 #if defined (KEKB) || (KEKA) 21 #include "Zmanagerp.h" 22 #include "../../SkelFlesh/Zprivate.h" 37 if(mpirank .eq. 0)
then 66 #include "../../SkelFlesh/Zprivate.h" 71 if( nomore .eq. 1)
then 72 call cerrormsg(
'all events have been fleshed', 1)
83 #include "../../SkelFlesh/Zprivate.h" 92 #include "Zmanagerp.h" 97 type(
track):: incident, zsave
102 integer cumnum, num, jeof, fin
103 read( mdev, end=1000, err=999 ) cumnum, num, seedsave,
104 #if defined (KEKB) || (KEKA) 105 #include "ZavoidUnionMap.h" 113 eventsintherun = eventsintherun + 1
114 eventno = eventno + 1
119 if(fin .ne. 0 )
goto 1000
144 write(0,*)
' Mdev read err' 162 #include "Zprivate4.h" 175 if( keepweight )
then 178 if(atrack.
wgt .gt. 1.)
then 191 call xobs(atrack, id)
264 h1 = trackbefmove.pos.
height- obssites(noofsites).pos.
height 265 h2 = movedtrack.pos.
height - obssites(noofsites).pos.
height 298 #include "../../SkelFlesh/Zprivate.h" 313 #include "../../SkelFlesh/Zprivate.h" 322 common /zheobs/ heobs
326 atrack.
where =
o(i).
where 330 atrack.
t =
o(i).atime
331 atrack.
p.fm.
p(4) =
o(i).
erg 333 atrack.pos.
xyz.
r(1) =
o(i).
x 334 atrack.pos.
xyz.
r(2) =
o(i).
y 335 atrack.vec.w.
r(1) =
o(i).wx
336 atrack.vec.w.
r(2) =
o(i).wy
337 atrack.vec.w.
r(3) =
o(i).wz
350 #include "../../SkelFlesh/Zprivate.h" 364 #if defined (KEKA) || (KEKB) 367 #include "ZavoidUnionMap.h" integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
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