titles_tqio


                              Titles:  TQIO
                              =============
 
Contact:  M. Boulay, Queen's
 

 
Titles Files
------------
 
qio_data.dat
 
 
Verification
------------
 
 
Description
-----------
 
    Control bank for the Root tree and raw channel histogram i/o(QIO) processor.
 
Data Words
----------
 
        Fixed length Database Header.  See titles_dbhdr.html
 
Word Type  Mnemonic      Description
---- ----  --------      -----------
1     I    _OUTPUT_MODE   0=root file only, 1=rch file only, 2 = root and rch files
2     I    _SOFT_NHIT     Prescale PMT data for events below  this threhold
3     I    _HARD_NHIT     Only output events above this threshold
4     I    _TSLH          Flag for TSLH correction (0->Do Nothing,1->Apply TSLH) (See Note 1 below)
5     I    _PRESCALE      Prescale factor, save every nth event below the Soft Nhit cut
6     I    _RCH_PEAKMODE  Prompt peak determination mode, 0 = find peak, 1 = use titles
7     F    _RCH_PEAK      Prompt peak in nsec (for mode 1 above)
8     I    _RCH_N         Number of events to use in peak determination
9     I    _RCH_POS_MODE  Source position mode, 0=use cast, 1 = use titles
10    F    _RCH_X         Source x position in cm
11    F    _RCH_Y         Source y position in cm
12    F    _RCH_Z         Source z position in cm
13    I    _RCH_TRIG_MASK RCH histogram trigger mask
14    I    _RCH_PMT_TIME  RCH PMT time (0->PT, 1->PT1) 
15    F    _RCH_QHS_LOW   RCH histogram low charge cut
16    F    _RCH_QHS_HIGH  RCH histogram high charge cut
17    F    _RCH_REFINDEX  RCH Group refractive index for time residuals and reconstruction 
18    I    _CUT_MODE      Cut on damn/darn words (0=NONE, 1=DAMN only, 2=DARN only, 3=DAMN and DARN)
19    I    _STORE_MODE    Store damn/darn words  (0=NONE, 1=DAMN only, 2=DARN only, 3=DAMN and DARN)
20    I    _INPUT_FORMAT  Input flag  0 -> zdab  1 -> root file
21    I    _IO_BITFLAGS   Bit flags controlling ROOT input/unpacking (See note 2 below).
22    I    _MCVX          MCVX flag
23    I    _NUM_VX        number of MC vertex types
24-24+_NUM_VX-1           List of vertices
#. Notes:
#. 1:  TSLH correction is not normally be done in QIO.  To test
#.    different corrections, one can uncomment code in qio_exe.for and 
#.    set this word.    
#. 2:  Bit flag controlling root unpacking
#.         [31-21][20-11][10-3] [2] [1-0]
#.            |      |      |    |    |-> unpack DAMN (0),DARN(1) words (and store these)
#.            |      |      |    |------> unpack RSP bank
#.            |      |      |-----------> spare
#.            |      |------------------> upack FITTER bank 10+i
#.            |-------------------------> spare

Go Back to the Snoman Companion Top Page