Luminosity DB Report - E's Test Links

This page contains a series of tests for the Luminosity Database Report interface to check functionality and notes from developer E (Elizabeth). Developer A (Anna) has her own notes. This also may be used as a set of examples of the various types of Reports that this interface can generate. All parameter names and values input are case insensitive. Wildcards should work but may need to include HTML encoding for unsafe or reserved characters (for example instead of '%', use '%25').

Test links for luminosity test data:

  1. 3829969,3756333,4467840-4467850
  2. 1139440-1139450 - (early A) - Run 151817 (April02)
  3. 3536160-3536170 - (late A) - Run 196584 (just before Fall 04 shutdown)
  4. 3737320-3737330 - (early B) - 12/7/2004
  5. 3756470-3756480 - (late B) - 12/19/2004
  6. 3759350-3759360 - early C - 12/19/2004
  7. 3921400-3921410 - late C - 3/17/2005
  8. 3921400-3921410 - early D - 3/17/2005
  9. 4317920-4317930 - late D - 10/20/2005
  10. 4317945-4317955 - early E - 10/20/2005
  11. 4536190-4536200 - late E - Spring 2006 shutdown (2/22/2006)
  12. 4536190-4536198 - EXPOSED_LUMS where EXP_LUM_VME < 0
  13. 3829969 - LBN_TRIGGERS.L1_LUM_VME is null (and DL.del_lum_vme, EL.exp_lum_vme)

  14. all these above lbns

  15. 5002000-5002054 - some Run 2B (E')
  16. 5002057-5002100 - some Run 2B (F)

  17. all these above lbns plus some Run 2B (E' and F)

Operations Reports with problems:


DATA to be fixed or understood:

  • Why are newDay transitions missing ?
  • Trigger List ?triggerlist=JETTEST-4.00
    -- GOOD red message on the bottom of the report, but would be better to have it IN THE MULTI-RUN TABLE.
    Why is there no information in the delivered_lums table during store 3681 (for runs 195708, 195709, 195711, 195714, 195718, 195719, 195723)? Is there data missing from the database ?
  • Is the TRANSITION_RECORDS table fully loaded ? Helena was doing it manually. Can we have lbnGrabber do it automatically ?
  • Why is LBNS.DURATION an integer after 4277397 ? select lbn, duration from lbn where abs(round(duration)-duration) > 0.00005 and duration != -1;
  • Question for users: Do we need Runs before April 2002 in the database ???
  • Funny LBNs with 4G.lt.LBN.lt.5G in the date range Dec 2000 to April 2001 were found in the Runs database. Typical current LBN (Feb 2006): ~4500000.
  • LT.PRESCALE = 1 when trigger was disabled, but a status flag is set. Can we just change the data to set LT.PRESCALE=0 and delete the status flag ?

    Reports with known problems FIXED (or understood):


    Reports with discrepancies:


    Notes:


    Sometimes things don't operate perfectly. Here is E's log of links to data that had a problem that should have been fixed:

    ?runs=118743

    Report types (use input parameter name 'function') are inferred from the input arguments:

    Run Reports

    URL inputReport TypeCustomized for
    ?runs=180888 Run Report for Run 180888
    An official, special physics run with recording on in TDB
    fixed: triggers are now normalizable
    but why are physics trigger cross sections missing ?
    ?runs=193343 Run Report for Run 193343
    An official, special muon physics run with recording on in TDB. Muon triggers are unnormalizable because the min and zero bias triggers are in a different exposure group fro the muon triggers.
    ?runs=193042 Run Report for Run 193042
    An official, special muon physics run in TDB, not in store, recording off.
    ?runs=213716 Run Report for Run 213716
    An unOfficial fpd run, physics, not in TDB.
    ?runs=180850 Run Report for Run 180850
    An unOfficial cft calibration run, not physics, not in TDB probably using SDAQ (no L3 bits)
    ?runs=180880 Run Report for Run 180880
    An Official global trigger list in TDB with recording on
    ?runs=180880&anyplot=yes Run Report for Run 180880
    including plots (takes longer)
  • Fix plots.
  • Fix Events "wait".
  • Fix fatal error (traceback).
    File "/home/gallas/webdevl/d0db-dev/cgi-bin/lm_test/lm_graphs2.py", line 111, in runGraphs decorr_list.append(decorr_exposed*prescale)
    TypeError: unsupported operand type(s) for *
  • Multi Run Report

    URL inputReport TypeCustomized forTime to execute
    ?runs=141737-142145 Run Report for more than 1 Run from 141737 to 142145
    fixed

    Store Reports

    URL inputReport TypeCustomized forTime to execute
    ?stores=2985 Store Report for Store = 2985
    Add 'self link' at top to this store = LDB_Report_Link('store,[store],str(store))

    Date Reports

    URL inputReport TypeCustomized forTime to execute
    ?dates=02Sep03 Date Report for September 2, 2003
    okay now
    ?dates=24MAY04-31MAY04 Date Report for the week of May24-31, 2004
    okay now.

    LBN Reports

    URL inputReport TypeCustomized for
    LBN Report for LBN
    ?lbns=2201454-2201457&lbncount=yes LBN Report for LBNs=2201454-2201457
    LBN's with PFC's
    URL inputReport TypeCustomized for
    ?lbns=1139468-1139495,1139506,1139520,1139685-1139691&lbncount=yes LBN Report for LBN
    LBNs with LQP's
    ?lbns=999999 LBN Report for a single LBN 999999
    Good. This LBN does not exist.
    ?lbns=3140435 LBN Report for a single LBN 3140435
    Good. This LBN does exist.
    ?lbns=2641631-2641991 LBN Report for LBN's in the LBN range 2641631-2641991
    361 LBN's found.
    This LBN range is interesting. Looks like it includes 3 global runs.
    ?lbns=2639200,2639211-2639221 LBN Report for LBN's 2639200 and 2639211-2639221
    12 LBN's found.
    ?function=lbns&runs=180850 LBN Report BY RUN ! for all LBN's in the Run 180850
    13 LBN's found in this Run.
    ?function=lbns&runs=180850&lbncount=yes LBN Report for all LBN's in the Run 180850 including COUNTS
    13 LBN's found in this Run.
    LBNcount=yes option includes a COUNT of records in every table.
    This Run is in the Run Summary Database, but not in the Luminosity LBN_TRIGGERS table because it was probably an SDAQ run (no Level 3 triggers) -- a calibration/cft/calib-0x53-1.1 (NOTphysics) run.
    ?lbns=2641371-2641632&lbncount=yes LBN Report by LBN Range including COUNTS (Run 180880)
    Including COUNT of records in every table.
    262 LBN's found.
    LBNcount=yes option includes a COUNT of records in every table
    ?function=lbns&runs=180880&lbncount=yes LBN Report by Run number (for Run 180880)
    Including COUNT of records in every table.
    262 LBN's found in Run 180880.
    LBNcount=yes option includes a COUNT of records in every table
    ?function=lbns&lbns=2639206-2639223&lbncount=yes LBN Report by LBN Range in the LBN range including Run 180849 and 180850.
    Including COUNT of records in every table.
    18 LBN's found.
    Run 180849 (lbn 2639206-2639221) is in the lbn_triggers table,
      a official/zero_bias_3L1L2L3_1out-1.00  (NOTphysics) run.
    Run 180850 (lbn 2639211 - 2639223) is not,
      a calibration/cft/calib-0x53-1.1  (NOTphysics) run.
    
    There are no lbn_streams for either Run.
    This LBN report for this LBN Range covers both Runs.
    
    Have we excluded certain types of Runs from the database?
    

    By Trigger List Name-Version

    URL inputReport TypeCustomized forTime to execute
    ?triggerlist=global_CalMuon Runs by Trigger List for Trigger List global_CalMuon
    Good. There are many trigger list versions found.
    Report gives links to all.
    ?triggerlist=%-4% Runs by Trigger List for any trigger list version 4%
    Good. There are many trigger list names/versions found.
    Report gives links to all.
    ?triggerlist=global_CMT_testCTT-11.03 Runs by Trigger List for Trigger List global_CMT_testCTT-11.03
    One distinct Triggerlist and one distinct Run found so singleRun_query is called.
    ?triggerlist=global_CalMuon-3.00 Runs by Trigger List for Trigger List global_CalMuon-3.00
    One distinct Triggerlist found which had multiple Runs so multiRun_query is called.
    ?triggerlist=zzz% Runs by Trigger List for Trigger List zzz%
    Okay. Trigger list zzz_test_xmlgen-1.00 is found, but no Runs were found.
    ?triggerlist=zzzz% Runs by Trigger List for Trigger List zzzz%
    Okay. No results found. There is no trigger list meeting this name criteria.

    Run/Trigger plots

    URL inputReport TypeCustomized forTime to execute
    ?function=runplot&triggername=jt_mx Plot for a trigger in a Run for Trigger Name JT_MX
    Plots not working yet.

    Other Reports

    URL inputReport TypeCustomized forTime to execute

    LumID Home LumDBApp Home Operations: Query Menu Help Table of Contents Link to Examples and Tests

    Send problems/comments/questions to DØ Operations Experts
    Last modified: Thu May 3 12:06:07 CDT 2007