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
Reduce dependence on HistogramTools #795
Conversation
…into sdobbs_remove_histogramtools
Test status for this pull request: SUCCESS Summary: /work/halld/pull_request_test/halld_recon^sdobbs_remove_histogramtools/tests/summary.txt Build log: /work/halld/pull_request_test/halld_recon^sdobbs_remove_histogramtools/make_sdobbs_remove_histogramtools.log |
The plugin BCAL_ADC_4ns is not included in the SConscript file, and it does not compile either. |
For what it's worth, that plugin uses the old-style |
Ok thanks, I will test all other plugins. |
The remaining list of plugins is running with a similar speed as the master:
The individual histograms still have to be validated. |
Thanks for checking - how did you run these? Just one plugin at a time? |
…ginal histograms were TH1I/TH2I. Lots of names changed.
All plugins were run together, but there should not be any interference afaict. |
OK, thanks for fixing those. |
Test status for this pull request: SUCCESS Summary: /work/halld/pull_request_test/halld_recon^sdobbs_remove_histogramtools/tests/summary.txt Build log: /work/halld/pull_request_test/halld_recon^sdobbs_remove_histogramtools/make_sdobbs_remove_histogramtools.log |
This lock is responsible for the "infinite loop". It is opened inside an if statement: halld_recon/src/plugins/monitoring/CDC_Efficiency/JEventProcessor_CDC_Efficiency.cc Lines 561 to 576 in 9472603
but released outside of it: halld_recon/src/plugins/monitoring/CDC_Efficiency/JEventProcessor_CDC_Efficiency.cc Line 648 in 9472603
|
OK, I pushed a fix for CDC_Efficiency. I don't think FCALLEDTree needs to be changed - by default it just fills some histograms, so I think it's up to the original author(s) to say if they want the default behavior changed. |
Test status for this pull request: SUCCESS Summary: /work/halld/pull_request_test/halld_recon^sdobbs_remove_histogramtools/tests/summary.txt Build log: /work/halld/pull_request_test/halld_recon^sdobbs_remove_histogramtools/make_sdobbs_remove_histogramtools.log |
@sdobbs Thanks. I missed that you actually fixed FCALLEDTree in one of your commits. |
Why is this commented out? halld_recon/src/plugins/monitoring/CDC_PerStrawReco/JEventProcessor_CDC_PerStrawReco.cc Lines 503 to 532 in fc1a18f
|
That's a mistake which slipped in during debugging some of these other problems - those lines should be uncommented. |
Test status for this pull request: SUCCESS Summary: /work/halld/pull_request_test/halld_recon^sdobbs_remove_histogramtools/tests/summary.txt Build log: /work/halld/pull_request_test/halld_recon^sdobbs_remove_histogramtools/make_sdobbs_remove_histogramtools.log |
Test status for this pull request: SUCCESS Summary: /work/halld/pull_request_test/halld_recon^sdobbs_remove_histogramtools/tests/summary.txt Build log: /work/halld/pull_request_test/halld_recon^sdobbs_remove_histogramtools/make_sdobbs_remove_histogramtools.log |
Test status for this pull request: SUCCESS Summary: /work/halld/pull_request_test/halld_recon^sdobbs_remove_histogramtools/tests/summary.txt Build log: /work/halld/pull_request_test/halld_recon^sdobbs_remove_histogramtools/make_sdobbs_remove_histogramtools.log |
Test status for this pull request: SUCCESS Summary: /work/halld/pull_request_test/halld_recon^sdobbs_remove_histogramtools/tests/summary.txt Build log: /work/halld/pull_request_test/halld_recon^sdobbs_remove_histogramtools/make_sdobbs_remove_histogramtools.log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thoroughly tested. The only obvious differences that remain concern histogram types, e.g. TH1I instead of TH1F or similar.
We've seen that when using newer versions of gcc and/or ROOT, that sometimes we run into segfaults that seem to be linked to the HistogramTools package. Also, even though it's convenient, its locking behavior is not the most efficient.
So this is a first attempt to rewrite plugins to remove the dependence on this header.
I suggest that this PR not be merged until after the next tagged release
I've checked to make sure that the new plugins run correctly, but haven't done more detailed checks - this PR can provide a starting point for those.