New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DQMIO-related tools #26337
DQMIO-related tools #26337
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-26337/9051
|
A new Pull Request was created by @schneiml (Marcel Schneider) for master. It involves the following packages: DQMServices/Components @andrius-k, @kmaeshima, @schneiml, @cmsbuild, @jfernan2, @fioriNTU can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2) |
@schneiml these helper scripts are in principle ok to me, but I see that the print management is not python3 compatible. Could you please fix it and try to compile with python3? Otherwise this will be marked as an error in the python3 check in the IB |
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-26337/9278
|
Pull request #26337 was updated. @andrius-k, @kmaeshima, @schneiml, @cmsbuild, @jfernan2, @fioriNTU can you please check and sign again. |
please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
@schneiml python3 has been enabled in the DEVEL IB for testing, otherwise for the compilation youy may use the test done on the baseline IB https://github.com/cms-sw/cms-bot/blob/master/run-ib-python3#L13 |
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
This PR adds some helper tools useful for DQM development:
root2sqlite.py
is a very generic script that takes a ROOT file containing directories and/or trees and transforms the data in SQLite tables. It does not work on all root files, but, among others, DQMIO and legacy DQM output. Nontrivial queries are IMO much easier on SQLite than ROOT data...dqmiodatasetharvest.py
demonstrates how to read MEs from DQMIO data available via DAS. It is not supposed to be a general tool, but with minor changes it can be used for operations like historic DQM. It does exploit the fact that DQMIO data is saved per job, and therefore per-lumisection granularity data is available in prompt RECO output. It also contains code to convert the resulting file back into aTTree
, but this is not done automatically.PR validation:
No existing code is affected. The tools have proven useful in my daily work.