More natural syntax for histogram constructor
One can now write : Histogram<2, atomicity::full, float> hist{&algo, "Test2DHist", "Test 2D histogram", {64, 0., 64.}, {52, 0., 52.}}; while it used to be only Histogram<2, atomicity::full, float> hist{&algo, "Test2DHist", "Test 2D histogram", {{64, 0., 64.}, {52, 0., 52.}}}; with extra braces.
parent
27905625
No related branches found
No related tags found
Showing
- GaudiExamples/src/testing/HistogramsTests.cpp 1 addition, 1 deletionGaudiExamples/src/testing/HistogramsTests.cpp
- GaudiKernel/include/Gaudi/Accumulators/Histogram.h 30 additions, 8 deletionsGaudiKernel/include/Gaudi/Accumulators/Histogram.h
- GaudiKernel/tests/src/CounterHistosUnitTest.cpp 23 additions, 2 deletionsGaudiKernel/tests/src/CounterHistosUnitTest.cpp
Please register or sign in to comment