-- XuyangGao - 2016-01-14

STEAM tools

Compare different sets of Steam Rates

This script is a tool to compare different rate results from *.tsv files.

Steam Rates can be got from Trigger Menu Development ( STEAM)

git clone git@github.com:fdzyffff/STEAM-Tools.git 

cd ./STEAM-Tools/compareGoogledoc

python GoogleDocFill.py

A *tsv file (ie. newGoogleDoc.tsv) will be created that contains the comparison results.

Bias of the path that belongs to the two input files will be calculated.

Compare WBM data and Steam Rates

This a script to compare the Rates from wbm (web based monitoring) and steam (*.csv file)

This script has been adapted from Sam Harper

#The steam information is input in tsv(csv) table format. Which includes HLT Prescale, L1 Prescale, L1 seed, HLT rates, HLT rate error and HLT counts. The counts, rates and rate error are calculated by RateEstimate.py script. The HLT and L1 prescale, L1seed, group and dataset information are also from the relative menu which RateEstimate.py used.

#The code can extract wbm information automatically, after pointing out the run No, Lumi section and Prescale column. The wbm information includes HLT PS, L1 PS, L1 Seed, HLT rate and HLT count. The HLT PS and L1 seed information are from the "Trigger_mode" page, the L1 PS is from "Prescale Sets" page, while the rate and count are from "HLT_KEY" page.

#Wbm rate error is from the HLT count: rateErr = rate/sqrt(fired count) **fired count is from the column "PAccept" in HLT_KEY page.

#The bias is: bias = Abs(wbm rate - steam rate) / Max(wbm rate, steam rate)

#The pull is: pull = Abs(wbm rate - steam rate) / (steam rate error)

git clone git@github.com:fdzyffff/STEAM-Tools.git 

cd ./STEAM-Tools/compareWbm_Steam

source set.(c)sh

#set parameters in compareWBMTriggerRates.py before running
python compareWBMTriggerRates.py

One *csv file will becreated (depend on parameters). Bias and Pull will be calculated.

Get lumi and PU information from WBM

git clone git@github.com:fdzyffff/STEAM-Tools.git 

cd ./STEAM-Tools/wbminfo

python wbminfo.py
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r6 - 2016-09-27 - XuyangGao
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback