How to make the Hlt rate and timing tables with Hlt/Hlt2CommissioningScripts

  • run.sh.txt: Script to do all steps up to the point of copying the output to the web
Step by step instructions:
SetupMooreOnline v24r1 --build-env
getpack Hlt/Hlt2CommissioningScripts head
getpack Hlt/HltSettings head
cmt br make -j 8
cd Hlt/Hlt2CommissioningScripts
SetupMooreOnline v24r1
Now we're ready to run Moore over some test data
gaudirun.py scripts/HltRateTests/RunMooreFromSettings.py scripts/HltRateTests/Moore10000Events.py scripts/HltRateTests/TestData_0x0050.py | tee stdout
Next, we need to copy the root files and the log file into the right directory format, which is similar to if we produced them with ganga jobs.
mkdir data/0
mkdir -p data/0/output
cp *.root data/0/output/
cp stdout data/0/output/
We also need to make a directory in which to dump all of the .html
mkdir webdir
Next, we need to merge the root files
hadd -f -k merged.root `ls data/0/output/*.root`
Then dump the list of log files into a file
ls data/*/output/stdout > logs
Now we're ready to start analysing the logs and root files This one just looks at the log files listed in logs and produces a subdirectory Timing in webdir.
./scripts/HltRateTests/MakeHTML_FromLogs.py logs webdir
This sequence produces various analyses of the root files
./scripts/HltRateTests/StudyHLT1Tuple.py
./scripts/HltRateTests/StudyHLT2Tuple.py
./scripts/HltRateTests/MakeHTML_Hlt1Rates.py webdir/
./scripts/HltRateTests/MakeHTML_Hlt2Rates.py webdir/
./scripts/HltRateTests/MakeHTML_RatesByStream.py  webdir/
./scripts/HltRateTests/MakeHTML_RateMatrix.py  webdir/
Then we can copy the contents of webdir somewhere on the web, e.g.
~/www/HLT2015/test_250915_v2/
cp -r webdir/* ~/www/HLT2015/test_250915_v2/
-- MikaVesterinen - 2015-09-25
Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt run.sh.txt r1 manage 1.0 K 2015-09-25 - 13:22 MikaVesterinen Script to do all steps up to the point of copying the output to the web
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2015-09-30 - MikaVesterinen
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

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