Skip to content

Commit

Permalink
Add a comment about the callback
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Sep 24, 2024
1 parent f22825e commit 3b7f52d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ struct ExampleFunctionalTransformerHist final
public:
#if GAUDI_MAJOR_VERSION >= 39
// This is a histogram with title, name and bins that can be set from python
// The callback function is only needed for these histograms with configurable properties
void registerCallBack(Gaudi::StateMachine::Transition, std::function<void()>) {}
mutable Gaudi::Accumulators::RootHistogram<1> m_customHistogram{this, "CustomHistogram"};
#endif
Expand Down

0 comments on commit 3b7f52d

Please sign in to comment.