TSPS: Second Pass Run Selection: Control


                Titles:  TSPS: Second Pass Run Selection: Control
                ========================================
 
    Contact:  J. Wilson, Oxford.
 
    Revision History:-
    ================
 
    4.02  J. Wilson First Version
    5.00  J. Wilson Added Orphan occ check entries
    5.01  C. Kyba   Add ANxx bank check + spare words.
 

 
Titles Files
------------
 
sps_data.dat
 
 
Verification
------------
 
 
Description
-----------
 
This titles bank controls the SPS processor.
 
Data Words
---------
 
        Data types: B(bit), I, F, D(double), H(hollerith 4 char)

        Fixed length Database Header.  See titles_dbhdr.html

Word Type  Mnemonic        [symbolic command]  Description
---- ----  --------        -------------------------------
Timing checks:
-------------
KPSP_TIMING+  =1
           KTSPS...

 +0     R    _HEAD_DIFF        Allowed time difference, 10MHz and RHDR in seconds
 +1     R    _CLOCK_DIFF       NOW REDUNDANT ** Allowed difference 10MHz and 50MHz for disordered events (ns)
 +2     R    _FIRST_CHECKS     Have more frequent checks in first x seconds of run 
 +3     I    _FIRST_NUM_PGT    How frequently to check PGT rate (number of events) in first x secs
 +4     I    _NUM_PGT	        How frequently to check PGT rate (number of events) in rest of run
 +5     R    _PGT_VAR          Allowed fraction for variation in PGT rate.  
 +6     R    _FIRST_RATE_INTERVAL
                               Interval in seconds for rate check in first x secs of run.
 +7     R    _RATE_INTERVAL    Interval in seconds for rate check in rest of run.
 +8     R    _HIGH_RATE        Threshold for unreasonably high rate in Hz.
 +9     R    _RATE_FRAC        Allowed fraction of run above high rate threshold.
 +10    R    _AMB_MEAN         Mean pulse gt AMB integral pedestal
 +11    R    _AMB_WARNING      Fail if AMB int pedestal is further than this from the mean
 +12    R    _AMB_FAIL         Warning if AMB int pedestal is further than this from the mean
 +13    R    _ESUM_RATE        Mininum ESUM rate before failure
 +14    R    _HIGH_MUX_RATE    Threshold for unreasonably high mux rate in Hz 
 +15    R    _HIGH_SHAPER_RATE Threshold for unreasonably high shaper rate in Hz
 +16    R    _MUX_RATE_FRAC    Allowed fraction of run above high mux rate threshold
 +17    R    _SHAPER_RATE_FRAC Allowed fraction of run above high shaper rate threshold
 +18    R		       Spare
 +19    R		       Spare

Occupancy and PMT checks
------------------------
KSP_PMT+   =20   
          KSPS....      
  +1	I    _QLL_SET	       status of lgi select bit (QLX, 0=short, 1=long) 
  +2	R    _INT_TIME         time the occupancy code should spend integrating (s) 
  +3	I    _NORM_FAIL        Allowed number of zero occupancy normal tubes before failure
  +4	I    _NORM_WARNING     Allowed number of zero occupancy normal tubes before warning
  +5	I    _OWL_FAIL         Allowed number of zero occupancy OWL tubes
  +6	I    _BUTT_FAIL        Allowed number of zero occupancy BUTT tubes
  +7	I    _NECK_FAIL        Allowed number of zero occupancy neck tubes
  +8	I    _VERBOSE	       sps verbosity (0 = not verbose)
  +9	R    _TRIG_CUT         Cut fraction for trigger occupancy check
 +10	R    _SYNC_CLEAR_FAIL  Allowed number of sync clear errors before failing
 +11	R    _SYNC_CLEAR_WARNING Allowed number of sync clear errors before warning
 +12	I    _ORPH_TUBES_FAIL  Allowed number of tubes with orphans before failing
 +13	I    _ORPH_TUBES_WARNING  Allowed number of tubes with orphans before warning
 +14 	R    _ORPH_FRAC_FAIL   Orphan/normal ratio at which point a tube fails 
 +15    R    _ANXX_NU_MASK     ANxx Neutrino mask
 +16    R    _ANXX_PCA_MASK    ANxx PCA mask
 +17    R    _ANXX_TUBES_FAIL  Maximum difference between DQxx and ANxx before failure

 +18    R    _SPARE_I_1        Three spare integers
 +19    R    _SPARE_I_2
 +20    R    _SPARE_I_3

 +21    R    _SPARE_F_1        Seven spare floats
 +22    R    _SPARE_F_2
 +23    R    _SPARE_F_3
 +24    R    _SPARE_F_4
 +25    R    _SPARE_F_5
 +26    R    _SPARE_F_6
 +27    R    _SPARE_F_7


Go Back to the Snoman Companion Top Page