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    _MODE          0=root file only, 1=rch file only, 2 = root and rch files
2     I    _SOFT_NHIT     Soft Nhit cut, only write PMT data for events above this threhold
3     I    _HARD_NHIT     Hard Nhit cut, 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    _PROMPT_MODE   Prompt peak determination mode, 0 = find peak, 1 = use titles
7     F    _PROMPT_PEAK   Prompt peak in nsec (for mode 1 above)
8     I    _NUM_PROMPT    Number of events to use in peak determination
9     I    _SP_MODE       Source position mode, 0=use cast, 1 = use titles
10    F    _SPX           Source x position in cm
11    F    _SPY           Source y position in cm
12    F    _SPZ           Source z position in cm
13    I    _RCH_MASK      RCH histogram trigger mask
14    I    _QVST_FLAG     RCH PMT time (0->PT, 1->PT1) 
15    F    _RCH_QLO       RCH histogram low charge cut
16    F    _RCH_QHI       RCH histogram high charge cut
17    F    _GROUP_REFIDX  RCH Group refractive index for time residuals and reconstruction 
18    I    _CLEAN_DAMN    Cut on damn/darn words (0=NONE, 1=DAMN only, 2=DARN only, 3=DAMN and DARN)
19    I    _STORE_DAMN    Store damn/darn words  (0=NONE, 1=DAMN only, 2=DARN only, 3=DAMN and DARN)
20    I    _DAMN_MASK     DAMN mask for cleaning
21    I    _DAMN1_MASK    DAMN1 mask for cleaning
22    I    _DARN_MASK     DARN mask for cleaning
23    I    _INPUT         Input flag  0 -> zdab  1 -> root file
24    I    _FILE_CTRL     ROOT file control (0  open ROOT output file in RECREATE mode ( default ),
                          +1 open in UPDATE mode, -1 attempt to append to last file in TChain)
25    I    _UPK_FLAGS     Bit flags controlling ROOT input/unpacking (See note 2 below).
26    I    _MCVX_FLAG     MCVX flag
27    I    _N_MCVX        number of MC vertex types
28    I                   List of vertices
      :                      :
      :                      :
      :                      :
28+_N_MCVX-1  I           List of vertices
#. Notes:
#.  0:  This definition applies to TQIO 3 bank.  For TQIO 1 and 2 banks, which have similar word 
#.      definitions, see qio_data.dat 
#. 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