2 #include "chookHybAS.f" 3 #include "ctemplCeren.f" 12 #include "Zmanagerp.h" 49 #include "Zincidentp.h" 52 type(
coord):: angle1ry
54 common /zprivate/ primary, angle1ry
56 common /zprivate2/ ndiscard
60 real*8 leng, xp, yp, zp, oa2, rmax, r
64 if(rmax .eq. 0.
d0)
then 65 oa2 = imag_p(azimuth)/2.0
66 rmax = obssites(noofsites).pos.
radiallen* oa2*torad
74 * primary.pos.
xyz.r(3),
75 * primary.vec.w.r(1), primary.vec.w.r(2),
82 xp = primary.pos.
xyz.r(1) + leng*primary.vec.w.r(1)
83 yp = primary.pos.
xyz.r(2) + leng*primary.vec.w.r(2)
84 zp = primary.pos.
xyz.r(3) + leng*primary.vec.w.r(3)
85 r = sqrt( (xp-obssites(noofsites).pos.
xyz.r(1))**2 +
86 * (yp-obssites(noofsites).pos.
xyz.r(2))**2 +
87 * (zp-obssites(noofsites).pos.
xyz.r(3))**2 )
88 if(r .gt. rmax) icon = -1
93 ndiscard = ndiscard + 1
117 type(
track):: primary
118 type(
coord):: angle1ry
119 common /zprivate/ primary, angle1ry
126 if(id .eq. 2 .and. atrack.
p.
code .ne. 7
127 * .and. atrack.
p.
code .ne. 8 )
then 129 write(*,
'(3i5,1p,g14.6)')
135 * sngl( atrack.
p.fm.
p(4)-atrack.
p.
mass )
172 write(*, *) (asobssites(i).esize, i=1, noofassites)
174 write(*, *) (asobssites(i).age, i=1, noofassites)
186 common /zprivate2/ ndiscard
189 write(0, *)
' discarded primaries=', ndiscard
228 h1 = trackbefmove.pos.
height- obssites(noofsites).pos.
height 229 h2 = movedtrack.pos.
height - obssites(noofsites).pos.
height
subroutine cqincident(incident, AngleAtObs)
subroutine chookgint(never)
subroutine kxplsph(x0, y0, z0, l, m, n, r, el, icon)
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 cprintprim(out)
subroutine cwriteparam(io, force)
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
*Zfirst p fm *Zfirst p Zfirst p code
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p *Zfirst pos xyz Zfirst pos xyz *Zfirst pos *Zfirst pos Zfirst pos height
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p charge
subroutine chookobs(aTrack, id)
*Zfirst p fm *Zfirst p mass
subroutine chookeint(never)
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p *Zfirst pos xyz Zfirst pos xyz *Zfirst pos radiallen