Re: What is format of unformatted EVENTBIN file?

From: Alberto Fasso' (fasso@SLAC.Stanford.EDU)
Date: Mon Feb 14 2005 - 02:58:31 CET

  • Next message: Alberto Fasso': "Re: What is format of unformatted EVENTBIN file?"

    The RDBIN program has been meant to read USRBIN output, not
    EVENTBIN. You may modify it taking into account that the record sequence
    in the two cases is as follows:

    USRBIN:

    1st record: RUNTIT, RUNTIM
    2nd record: NB,TITUSB(NB),JTUHLP,IDUSBN(NB),SNGL(XLOW(NB)),SNGL(XHIGH(NB)),
                NXBIN(NB),SNGL(DXUSBN(NB)),SNGL(YLOW(NB)),SNGL(YHIGH(NB)),
                NYBIN(NB),SNGL(DYUSBN(NB)),SNGL(ZLOW(NB)),SNGL(ZHIGH(NB)),
                NZBIN(NB),SNGL(DZUSBN(NB)),LNTZER(NB),SNGL(BKUSBN(NB)),
                SNGL(B2USBN(NB)),SNGL(TCUSBN(NB))
    3rd record: binning data for the whole run

    EVENTBIN:

    1st record: RUNTIT, RUNTIM
    2nd record: NB,TITUSB(NB),JTUHLP,IDUSBN(NB),SNGL(XLOW(NB)),SNGL(XHIGH(NB)),
                NXBIN(NB),SNGL(DXUSBN(NB)),SNGL(YLOW(NB)),SNGL(YHIGH(NB)),
                NYBIN(NB),SNGL(DYUSBN(NB)),SNGL(ZLOW(NB)),SNGL(ZHIGH(NB)),
                NZBIN(NB),SNGL(DZUSBN(NB)),LNTZER(NB),SNGL(BKUSBN(NB)),
                SNGL(B2USBN(NB)),SNGL(TCUSBN(NB))
    3rd record: NB, NCASE, SNGL(WEIGHT)
    4th record: binning data 1st event
    5th record: NB, NCASE, SNGL(WEIGHT)
    6th record: binning data 2nd event
    ...etc

    I will try to make it more clear in the manual

    Alberto

    On Sun, 13 Feb 2005, Joseph Comfort wrote:

    >
    > More specific information is needed for reading the unformatted output
    > file of the EVENTBIN command. The sample codings for RDBIN in both the
    > ascii writeup and the online writeup do not work. (The first record is
    > wrong. Even if I work my way through the first 2-3 records, the rest
    > does not work.)
    >
    > Under EVENTBIN, the manual distinguishes the file produced by this
    > command from that of the USRBIN by noting "first all binning definitions
    > are written." What is the structure of these records?
    >
    > In addition to reading a file from a single EVENTBIN command, what is
    > the structure if binnings from 2 or more EVENTBIN commands are given?
    >
    > Thank you.
    >
    >

    -- 
    Alberto FassÚ
    SLAC-RP, MS 48, 2575 Sand Hill Road, Menlo Park CA 94025
    Phone: (1 650) 926 4762   Fax: (1 650) 926 3569
    fasso@slac.stanford.edu
    

  • Next message: Alberto Fasso': "Re: What is format of unformatted EVENTBIN file?"

    This archive was generated by hypermail 2.1.6 : Mon Feb 14 2005 - 09:34:52 CET