5 #include "chookHybAS.f" 6 #include "ctemplCeren.f" 40 real(8),
allocatable,
save::
num(: ,:,:,:)
42 real(8),
allocatable,
save::
pnnum(:,:,:)
43 integer,
parameter::
fno=21
55 #include "Zmanagerp.h" 71 integer ieeer, ieee_handler
83 if(noofsites /= noofassites)
then 85 *
'# of Depth and ASdepth in this appli. must be the same' 92 *
'Depth and ASDepth must be the same in this appli.' 96 write(0,*)
' nthlayer > # of given depths=',
nlayers 103 open(
fno, file=
'try.hist', form=
'formatted')
128 #include "Zmanagerp.h" 129 integer sig, code, context(5)
130 write(errorout, *)
' f.p exception content=' , context(4)
187 integer:: kind, updw, iemin, kindTran
223 ke = atrack.
p.fm.
p(4) - atrack.
p.
mass 224 do iemin =
nemin, 1, -1
225 if( ke >=
emintran(min(kind,9),iemin) )
goto 10
230 if( kind == 6 .and. atrack.vec.
coszenith >0.)
then 232 if( atrack.
p.
charge == 0 )
then 233 pnnum(atrack.
where, iemin, 2) =
234 *
pnnum(atrack.
where, iemin, 2) + atrack.
wgt 236 pnnum(atrack.
where, iemin, 1) =
237 *
pnnum(atrack.
where, iemin, 1) + atrack.
wgt 242 elseif(kind >= 4 .and. kind <=6 .or. kind == 9 )
then 244 elseif( kind == 7 )
then 246 elseif( kind ==8 )
then 248 elseif(kind > 8)
then 257 num(atrack.
where, iemin, kindtran, updw) =
258 *
num(atrack.
where, iemin, kindtran, updw) + atrack.
wgt 263 if(kindtran < 7 )
then 264 r = sqrt(atrack.pos.
xyz.
x**2 + atrack.pos.
xyz.
y**2)
265 call kwhist2(
erhist(kindtran), ke, r,
301 do j =
nemin-1, 1, -1
302 num(i, j, :, :) =
num(i, j, :, :) +
num(i,j+1,:,:)
312 *
"# id L v dep H age Nehyb Ne1 Ne2" 314 write(*,
'(a, i2, f8.1, f8.0, f5.2, 1p, 3g12.5)')
315 *
"Ne ", i, obssites(i).pos.
depth/10.,
316 * obssites(i).pos.
height, asobssites(i).age,
317 * asobssites(i).esize,
num(i, 1, 2, 1),
num(i, 2, 2, 1)
322 *
"# id L v dep H Np1 Nn1 "//
325 write(*,
'(a, i2, f8.1, f8.0, 1p, 4g12.5)')
326 *
"Np/n ", i, obssites(i).pos.
depth/10.,
332 *
"# id L v dep H Ngd1 Ngu1 "//
335 write(*,
'(a, i2, f8.1, f8.0, 1p, 4g12.5)')
336 *
" Ng ", i, obssites(i).pos.
depth/10.,
338 *
num(i, 1, 1, 1),
num(i, 1, 1, 2),
339 *
num(i, 2, 1, 1),
num(i, 2, 1, 2)
344 *
"# id L v dep H Ned1 Neu1 "//
347 write(*,
'(a, i2, f8.1, f8.0, 1p, 4g12.5)')
348 *
" Ne ", i, obssites(i).pos.
depth/10.,
350 *
num(i, 1, 2, 1),
num(i, 1, 2, 2),
351 *
num(i, 2, 2, 1),
num(i, 2, 2, 2)
356 *
"# id L v dep H Nmd1 Nmu1 "//
359 write(*,
'(a, i2, f8.1, f8.0, 1p, 4g12.5)')
360 *
"Nmu ", i, obssites(i).pos.
depth/10.,
362 *
num(i, 1, 3, 1),
num(i, 1, 3, 2),
363 *
num(i, 2, 3, 1),
num(i, 2, 3, 2)
368 *
"# id L v dep H Nhd1 Nhu1 "//
371 write(*,
'(a, i2, f8.1, f8.0, 1p, 4g12.5)')
372 *
" Nh ", i, obssites(i).pos.
depth/10.,
374 *
num(i, 1, 4, 1),
num(i, 1, 4, 2),
375 *
num(i, 2, 4, 1),
num(i, 2, 4, 2)
380 *
"# id L v dep H Nned1 Nneu1 "//
383 write(*,
'(a, i2, f8.1, f8.0, 1p, 4g12.5)')
384 *
"Nnue ", i, obssites(i).pos.
depth/10.,
386 *
num(i, 1, 5, 1),
num(i, 1, 5, 2),
387 *
num(i, 2, 5, 1),
num(i, 2, 5, 2)
393 *
"# id L v dep H Nnmd1 Nnmu1 "//
396 write(*,
'(a, i2, f8.1, f8.0, 1p, 4g12.5)')
397 *
"Nnum ", i, obssites(i).pos.
depth/10.,
399 *
num(i, 1, 6, 1),
num(i, 1, 6, 2),
400 *
num(i, 2, 6, 1),
num(i, 2, 6, 2)
406 *
"# id L v dep H Nod1 Nou1 "//
410 write(*,
'(a, i2, f8.1, f8.0, 1p, 4g12.5)')
411 *
"Noth ", i, obssites(i).pos.
depth/10.,
413 *
num(i, 1, 7, 1),
num(i, 1, 7, 2),
414 *
num(i, 2, 7, 1),
num(i, 2, 7, 2)
450 logical compress/.true./
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p *Zfirst pos xyz Zfirst pos xyz *Zfirst pos *Zfirst pos depth
subroutine chookgint(never)
type(histogram2), dimension(nkind) terhist
dE dx *! Nuc Int sampling table e
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
real(8), dimension(:,:,:,:), allocatable, save num
integer, parameter nkindtran
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
integer function csighandler(sig, code, context)
latitude latitude this system is used *****************************************************************! type coord sequence union map real y
dE dx *! Nuc Int sampling table d
*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
dE dx *! Nuc Int sampling table b
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p charge
type(histogram2), dimension(nkind) erhist
subroutine chookobs(aTrack, id)
real(4), dimension(nkind), save eminhist
real(8), dimension(nkindtran, nemin), save emintran
real(8), dimension(:,:,:), allocatable, save pnnum
*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