Check consistency between conditions used online ad offline

To check that the same constants are used online and offline a script, for every run sent offline, configure two gaudi jobs one configured as online andthe other as offline and check that the constants used are the same.

Where is the code?

The relevant scripts are in AlignmentOnline/AlignOnline:
  • src/DumpConditions.cpp Contains the algorithm to read the conditions
  • python/printConds.py Gaudi job configurable to read conditions online or offline and print them to file
  • python/diffConds.py Given a run number check that the conditions used online and offline are the same
  • python/checkConstants.py Check the runs not yet analysed and if some difference is found send an email to the relevant people

The deployed version can be found on plus in /group/online/dataflow/cmtuser/AlignmentRelease

checkConstants.py is run at regular intervals as online on the hlt02 machine by the script /group/online/AligWork/CheckConstants/checkConstants.sh

To be sure that checkConstants.sh is always running, it is started in /group/online/dataflow/scripts/internal/dataflowBoot.py (look for CondDBCheck_0).

How to check that it is running?

ssh as online on hlt02 the command tmLs | grep CondDBCheck_0. To restart it (eg. if you modified checkConstants.sh) do tmKill CondDBCheck_0

Where is the list of runs analysed?

The list of runs already analysed and which presented perfect compatibility between online and offline conditions is /group/online/AligWork/CheckConstants/runsAnalised.pkl. /group/online/AligWork/CheckConstants/bads.pkl contains the list of runs analysed but where differences were found. To rerun over a file already analysed just delete it from the two files.

How to rerun over the problematic runs once the problem has been solved?

The script runs automatically over the problematic runs and once no difference is found the run is removed from the list of bads runs, added to the list of analised runs and an email is sent about it.

Which conditions are compared?

The list of conditions compared can be found on plus at /group/online/hlt/conditions/RunChangeHandler/All.py

Change email addresses to which send emails

Change them in AlignmentOnline/AlignOnline/python/checkConstants.py

How to block the automatic script to make some tests

Login into hlt02 and do pcRm -m hlt02 -N hlt01 CondDBCheck_0. To restart it once you are done with the tests do manipBootTasks start.

-- GiulioDujany - 2015-08-18

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r7 - 2017-05-15 - GiulioDujany
 
    • 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