COSMOS v7.655  COSMOSv7655
(AirShowerMC)
procLat.f
Go to the documentation of this file.
1 !
2 !
3  subroutine proclat(h, idxf, code, layer)
4 ! This treats one 1-D histogram with web index (idxr, idxf)
5 !
6  implicit none
7 
8 #include "../../../Hist/Z90histc.h"
9 #include "../../../Hist/Z90histo.h"
10 #include "../../../Hist/Z90hist1.h"
11 
12  type(histogram1):: h ! input 1 D histogram
13  integer idxf ! web fai bin index (1~nf)
14  integer code ! ptcl code
15  integer layer ! at which layer (among max of 3 layers)
16  integer maxsize ! max histogram size
17  integer n ! actual histogram size
18 
19  integer i, j, nbin
20  parameter(maxsize=2000)
21  real*8 x(maxsize), y(maxsize)
22  integer icon
23  integer kwhistxy
24 
25  save
26 
27 
28  nbin= kwhistxy(h, x, y, maxsize)
29  write(*,'(3i4)') idxf, code, layer
30  do i=1,nbin
31  write(*,'(1p2E11.3)') x(i), y(i)
32  enddo
33  write(*, '("0 0")')
34  end
integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
subroutine proclat(h, idxf, code, layer)
Definition: procLat.f:4