Support TEfficiency in AthenaMonitoring
Merge request reports
Activity
Using
defineHistogram('pT_passed,pT',type='TEfficiency',title='Test TEfficiency;x;Eff', path='AndInTheDarkness',xbins=100,xmin=0.0,xmax=50.0)
, and filling with some randomly-generated numbers, the following plot is produced in the output file.Edited by Charles Burtonadded Core DQ master review-pending-level-1 labels
Hi, Very nice. It would be good to expand the test of histogram definition parsing & filling. The ones in the test/ directory. They are trivial but shield us from making some trivial mistake when making changes in this pkg.
Another thing that becomes obvious now is that the HistogramFillers hierarchy should be modified along the lines you were suggesting. Abstract base filler with fill() operation and templated implementations for various types of histograms. Is this going to be next move?
Edited by Tomasz Bold CI Result FAILUREAthena AthSimulation externals cmake make required tests optional tests Full details available at NICOS MR-21780-2019-03-09-14-08
Athena: number of compilation errors 0, warnings 0
AthSimulation: number of compilation errors 0, warnings 2
For experts only: Jenkins output [CI-MERGE-REQUEST 35154]Just a note to myself which shouldn't hold up this MR. We need to come up with a way to limit the histogram types for the online use-case. Maybe via the
isOnline
flag in python. The OH infrastructure at P1 only supports the very basic ROOT histogram types and I don't think TEfficiency is part of it. CI Result FAILUREAthena AthSimulation externals cmake make required tests optional tests Full details available at NICOS MR-21780-2019-03-11-23-05
Athena: number of compilation errors 0, warnings 0
AthSimulation: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST 35235]added review-pending-level-2 label and removed review-pending-level-1 label
added review-approved label and removed review-pending-level-2 label
- Resolved by Frank Winklmeier
I think Tomasz' first comment still needs to be resolved, i.e. the extension of the unit tests for this new type.