• Main INDEX
  • Monthly INDEX
  • PREV
  • NEXT
    Make New Entry, Make Followup Entry

    User name V. Sulkosky

    Log entry time 17:24:36 on February 15, 2011

    Entry number 347052

    keyword=Fixed a Bug in halla_scaler_process

    I tracked down a bug in the halla_scaler_process.tcl that obtains and 
    displays the scaler summary for the end of run file.  The deadtime has been
    100%.  I found this was due to the ability to disable a trigger with the
    prescale factor of '0'.  The way the deadtime is calculated is the script
    uses the ts-accept scaler and sums the triggers from the scalers weighted
    by the prescale factor.  When the prescale factor is set to '0', the code
    unforatunately inflated the expected events for that trigger causing the
    deadtime to become infinite.
    
    I added an "if" statement to check for prescales of '0'.  If the trigger is
    disabled, then it is ignored in the deadtime calculation now.  I tested 
    this for the last run 1389 and got the expected deadtime based on the 
    number of accepted events and T7 scalers, since only T7 was active.
    


    A copy of this log entry has been emailed to: lselvy,doug,rom,eip