titles_hist


                              Titles:  HIST
                              =============
 
Contact:  D. Wark, Oxford.
 
 
Revision History:-
================
 
3.00    D. Wark         First version.
3.02    R. Ford         Add 2D histogram modes.


 
Titles Files
------------
 
hist.dat
 
 
Verification
------------
 
 
Description
-----------
 
    This bank contains input data for the routine EVHIST.  The routine creates
standard HBOOK histograms of PMT singles data.  WARNING==>  If you tell it to
histogram too many phototubes you will almost surely overrun the PAWC common
and crash the program.  You can fix this by tinkering with the size of the
PAWC memory as defined in define_memory_size.for (you will have to increase
the size of the PAWC memory, recompile this file, and then relink).
 
Data Words
----------
 
        Fixed length Database Header.  See titles_dbhdr.html
 
Line Type Variable        Description
---- ---- --------        -----------
 
 1     I  MIN_PMT         This is the lowest PMT number to histogram (or lowest
                          crate number for certain 2D histograms - see below).
 2     I  MAX_PMT         This is the highest PMT number to histogram (or
                          highest crate number). All PMTs or crates between
                          MIN_PMT and MAX_PMT are histogrammed.
 3     I  NUM_BINS        This is the number of bins in the histogram.
 4     I  PMT_BANK_ENTRY  This tells which entry in the PMT bank to histogram
                          (see bank  PMT.)
 5     F  MIN_VAL         Value of the lower edge of the lowest bin.
 6     F  MAX_VAL         Value of the higher edge of the highest bin.
 7     F  VMX             Max bin content (set to 0. for one word/bin).
 8     I  HST_OFFSET      Offset the number of the histogram by this amount.
                          Thus PMT i ends up in histogram HST_OFFSET + i.
                          This is to avoid NTUPLES and histograms with the
                          same number.
 9     I  HST_TYP         Histogram type:-
                            11 = Standard 1D histograms for each channel.
                            12 = 1D histograms for each cell.
                            21 = 2D histograms of PMT variable vs (card,channel)
                                 for every crate in the specified range.
                            22 = 2D histograms of PMT variable vs (channel,cell)
                                 for every card in every crate in the specified
                                 range.
                            30 = 2D histograms of one PMT variable against
                                 another for every PMT in the specified range.
                                 The information for the second variable is
                                 given next.

Information about second variable for type 30. This information is not
used for the other types.

10     I  NUM_BINS2       Number of bins for the second PMT variable
11     I  PMT_BANK_ENTRY2 PMT bank entry containing second variable to histogram
12     F  MIN_VAL2        Lower edge of lowest bin (second variable).
13     F  MAX_VAL2        Highest edge of highest bin (second variable).
                        

Go Back to the Snoman Companion Top Page