-
Notifications
You must be signed in to change notification settings - Fork 27
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
Fix histograms for Gaudi v39 and add a configurable histogram #239
Conversation
The upcoming version of Gaudi is v39 |
True, fixed |
RootHistogram has been renamed to StaticHistogram, see key4hep/k4FWCore#239
public: | ||
#if GAUDI_MAJOR_VERSION >= 39 | ||
// This is a histogram with title, name and bins that can be set from python | ||
void registerCallBack(Gaudi::StateMachine::Transition, std::function<void()>) {} |
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.
I suppose this is necessary for any algorithm that has histograms? In that case we need to document it.
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.
This is necessary for histograms with configurable properties, I added a comment about that (so the ones that are not Static...
).
Works for me against v39r0 locally. Anything still missing for this? |
Nothing missing, there is one histogram in k4RecTracker that you found and I think some in one PR in k4GaudiPandora and that should be all left. I'll enable auto-merge. |
3b7f52d
to
684050e
Compare
BEGINRELEASENOTES
StaticRootHistogram
fromRootHistogram
RootHistogram
, whose bins, title and other properties can be set from python as shown in the test fileENDRELEASENOTES