COSMOS v7.655  COSMOSv7655
(AirShowerMC)
reanal.f File Reference

Go to the source code of this file.

Functions/Subroutines

program __reanal.f__
 
subroutine cgethes (from)
 

Function/Subroutine Documentation

◆ __reanal.f__()

program __reanal.f__ ( )

Definition at line 6 of file reanal.f.

References c, cerrormsg(), cgethes(), i, klena(), ksplit(), p, and true.

6  integer num, i, nr, firstev, lastev
nodes i
real(8), dimension(:,:,:,:), allocatable, save num
Definition: chook.f:40
Here is the call graph for this function:

◆ cgethes()

subroutine cgethes ( integer  from)

Definition at line 64 of file reanal.f.

References o, and true.

64  implicit none
65 #include "Zprivate.h"
66  integer from
67 
68  integer cumnum, irevent(2)
69  common /cselev/ cumnum, irevent
70 
71 !
72  integer i
73  read(from) np
74  do i = 1, np
75  read(from) o(i)
76  enddo
77 ! ==========================================
78 ! do your analysis and if you want to
79 ! memorize the it for flesh, make
80 ! Copy = .true. Then, the event number
81 ! (or seed and event number) is written on stdout.
82 ! You can use
83 ! o(i).xxx where xxx is
84 !
85 ! where: obsv. location
86 ! code, subcode, charge: code=9 is Nucleus, A=subcode,Z=charge
87 ! atime: arrival time ns
88 ! erg: energy GeV
89 ! mass: mass in GeV
90 ! x,y: in m
91 ! wx,wy,wx: direction cos.
92 ! zenith: cos of zenith angle.
93 !
94 
95  copy = .true.
96 
97 
98 ! ==========================================
99  if(copy) then
100  write(*,*) cumnum
101 ! or
102 ! write(*,*) irevent, cumnum
103  endif
nodes i
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
Definition: cblkElemag.h:7
struct ob o[NpMax]
Definition: Zprivate.h:34
integer maxbin nregion c minsave drx2 ! drawing region real maxdep integer maxpos integer from
Definition: Zfit.h:15