|
SND@LHC Software
|
Histogramming package. More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | hmpdef (ih, xa, xb, text) |
| subroutine | hmpmak (inhist, fnhist, jnhist, xl, dl) |
| subroutine | bintab (tab, n, xa, xb) |
| subroutine | kprint (lun, list, n) |
| subroutine | gmpdef (ig, ityp, text) |
| subroutine | stmars |
| subroutine | rmesig (x, n, xloc, xsca) |
Histogramming package.
HMP... and GMP...
Histogram and XY data in text files
Booking:
CALL HMPDEF(IH,XA,XB,TEXT) CALL GMPDEF(IG,ITYP,TEXT)
where where
IH = 1 ... 10 IG = 1 ... 10
XA,XB = left, right limit ITYP = 1 dots
TEXT = explanation = 2 line
= 3 dots and line
= 4 symbols
= 5 mean/sigma
TEXT = explanation
CALL HMPLUN(LUNW) CALL GMPLUN(LUNW)
unit for output unit for output
CALL HMPENT(IH,X) CALL GMPXY(IG,X,Y)
entry flt.pt. X add (X,Y) pair
CALL GMPXYD(IG,X,Y,DX,DY)
add (X,Y,DX,DY) ITYP=4
new CALL GMPMS(IG,X,Y)
mean/sigma from x,y
Booking log integer histogram:
CALL HMPLDF(IH,TEXT)
book and reset log integer histogram
CALL HMPLNT(IH,IX)
entry integer IX
Printing and writing:
CALL HMPRNT(IH) CALL GMPRNT(IG)
print histogram IH or all, if 0 print data Ig or all, if 0
CALL HMPWRT(IH) CALL GMPWRT(IG)
write histogram IH or all to file write data IG or all to file
Storage manager for GMP...
CALL STMARS !! init/reset storage manager
CALL STMAPR(JFLC,X,Y) !! store pair (X,Y)
CALL STMADP(JFLC,FOUR) !! store double pair
CALL STMACP(JFLC,ARRAY,N) !! copy (cp) all pairs to array
CALL STMARM(JFLC) !! remove (rm) stored paiirsThe number of histograms is limited to NUMHIS (=15), the number of XY data plots to NUMGXY (=10) and the storage of XY points to NDIM (=5000). As each XY plot can contain up to NLIMIT (=500) points (before averaging) NDIM should be NLIMIT*NUMGXY.
Definition in file mphistab.f90.
| subroutine bintab | ( | real(mps), dimension(n), intent(in) | tab, |
| integer(mpi), intent(in) | n, | ||
| real(mps), intent(out) | xa, | ||
| real(mps), intent(out) | xb | ||
| ) |
Definition at line 415 of file mphistab.f90.
| subroutine gmpdef | ( | integer(mpi), intent(in) | ig, |
| integer(mpi), intent(in) | ityp, | ||
| character (len=*), intent(in) | text | ||
| ) |
Definition at line 581 of file mphistab.f90.
| subroutine hmpdef | ( | integer(mpi), intent(in) | ih, |
| real(mps), intent(in) | xa, | ||
| real(mps), intent(in) | xb, | ||
| character (len=*), intent(in) | text | ||
| ) |
Definition at line 92 of file mphistab.f90.
| subroutine hmpmak | ( | integer(mpi), dimension(120), intent(out) | inhist, |
| real(mps), dimension(120), intent(in) | fnhist, | ||
| integer(mpi), dimension(5), intent(inout) | jnhist, | ||
| real(mps), dimension(6), intent(inout) | xl, | ||
| real(mpd), dimension(2), intent(out) | dl | ||
| ) |
Definition at line 350 of file mphistab.f90.
| subroutine kprint | ( | integer(mpi), intent(inout) | lun, |
| integer(mpi), dimension(n), intent(in) | list, | ||
| integer(mpi), intent(in) | n | ||
| ) |
Definition at line 519 of file mphistab.f90.
| subroutine rmesig | ( | real(mps), dimension(n), intent(inout) | x, |
| integer(mpi), intent(in) | n, | ||
| real(mps), intent(out) | xloc, | ||
| real(mps), intent(out) | xsca | ||
| ) |
Definition at line 1012 of file mphistab.f90.
| subroutine stmars |
Definition at line 910 of file mphistab.f90.