Go to the source code of this file.
◆ chookbgevent()
subroutine chookbgevent |
( |
| ) |
|
Definition at line 42 of file chook.f.
References cinitstack(), cqincident(), d0, kxplsph(), radiallen, and xyz.
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
subroutine cqincident(incident, AngleAtObs)
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p *Zfirst pos xyz r
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
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 radiallen
◆ chookbgrun()
subroutine chookbgrun |
( |
| ) |
|
◆ chookeint()
subroutine chookeint |
( |
integer |
never | ) |
|
◆ chookenevent()
subroutine chookenevent |
( |
| ) |
|
Definition at line 161 of file chook.f.
172 write(*, *) (asobssites(
i).esize,
i=1, noofassites)
174 write(*, *) (asobssites(
i).age,
i=1, noofassites)
◆ chookenrun()
subroutine chookenrun |
( |
| ) |
|
Definition at line 184 of file chook.f.
References cprintstatus().
186 common /zprivate2/ ndiscard
189 write(0, *)
' discarded primaries=', ndiscard
◆ chookgint()
subroutine chookgint |
( |
integer |
never | ) |
|
◆ chooknepint()
subroutine chooknepint |
( |
integer |
never | ) |
|
◆ chookobs()
Definition at line 103 of file chook.f.
References charge, code, mass, and p.
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 )
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
*Zfirst p fm *Zfirst p Zfirst p code
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p charge
*Zfirst p fm *Zfirst p mass
◆ chooktrace()
subroutine chooktrace |
( |
| ) |
|
Definition at line 201 of file chook.f.
References height.
228 h1 = trackbefmove.pos.
height- obssites(noofsites).pos.
height 229 h2 = movedtrack.pos.
height - obssites(noofsites).pos.
height *Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p *Zfirst pos xyz Zfirst pos xyz *Zfirst pos *Zfirst pos Zfirst pos height