COSMOS v7.655  COSMOSv7655
(AirShowerMC)
asciiprint.f
Go to the documentation of this file.
1  subroutine toasciih(cnum, num, ir, zf)
2  implicit none
3 #include "Ztrack.h"
4  integer cnum, num, ir(2)
5  type(track)::zf
6 
7  write(*, '("#")')
8  write(*,
9  * '("# ********************** ")')
10  write(*, '("#")')
11  write(*,
12  * '("# cum event # current # seeds")')
13  write(*,'(i10,i10,8x,2i11)') cnum, num, ir
14  write(*,
15  *'("# 1ry code subc chg E(GeV) cos_zen 1st z(g/cm2)")')
16  write(*,'(i8,2i5,4x,g12.3,3x,f8.5,g12.3)')
17  * zf%p%code, zf%p%subcode, zf%p%charge,
18  * zf%p%fm%p(4), zf%vec%coszenith,
19  * zf%pos%depth/10.
20  end
21  subroutine toasciin(nlow, pp)
22  implicit none
23 #include "Zprivate.h"
24 #include "Ztrack.h"
25  integer nlow
26  type(parent)::pp
27 
28  if(nlow .gt. 0) then
29  write(*,'("# nodal point info:")')
30  write(*,'(a)')
31  * '# # of child code E H(m)'//
32  * ' Depth(g/cm2) cos_zen'
33  write(*,'(i10,i10,3x,g12.3,2x,g12.4,g12.3,2x,f9.5)')
34  * nlow, pp%code, pp%erg, pp%height,
35  * pp%depth/10., pp%coszenith
36  write(*,'(" code subc chg Energy(GeV)")')
37  endif
38  end
39 
40  subroutine toasciic(cc)
41 ! print child at nodal point
42  implicit none
43 #include "Zprivate.h"
44  type(child)::cc
45 
46  write(*,'(3i5, g12.3)')
47  * cc%code, cc%subcode, cc%charge, cc%fm(4)
48  end
49 
50  subroutine toasciinp(n)
51  implicit none
52  integer n
53  write(*, '("# # of high energy particles")')
54  write(*, *) n
55  write(*, '(a)')
56  * '# where code subc chg Eenergy(GeV)'//
57  * ' x y(cm) T(n)'
58  end
59 
60 
61  subroutine toasciihe(he)
62 ! print high energy particles
63  implicit none
64 #include "Zprivate.h"
65  type(ob)::he
66 
67  write(*, '(i5,3i5, g14.4, 2g12.3, f12.3)')
68  * he%where, he%code, he%subcode, he%charge,
69  * he%erg, he%x/100., he%y/100., he%atime
70  end
71 
72 
Definition: Zprivate.h:9
subroutine toasciih(cnum, num, ir, zf)
Definition: asciiprint.f:2
subroutine toasciinp(n)
Definition: asciiprint.f:51
Definition: Ztrack.h:44
subroutine toasciihe(he)
Definition: asciiprint.f:62
Definition: Zprivate.h:2
subroutine toasciic(cc)
Definition: asciiprint.f:41
Definition: Zprivate.h:25
subroutine toasciin(nlow, pp)
Definition: asciiprint.f:22