allow using TEfficiency with book()/hist() mechanism
While it was seemingly supported so far, it didn't actually work. This should now be fixed, and a test for it added. I also went ahead and made the basic function a template, so that users can use it with any histogram-like class deriving from TObject. Though that part will only work in AnalysisBase, as I only modified the AnalysisBase part.
Showing
- PhysicsAnalysis/D3PDTools/AnaAlgorithm/AnaAlgorithm/AnaAlgorithm.h 2 additions, 1 deletion...alysis/D3PDTools/AnaAlgorithm/AnaAlgorithm/AnaAlgorithm.h
- PhysicsAnalysis/D3PDTools/AnaAlgorithm/AnaAlgorithm/AnaAlgorithm.icc 15 additions, 0 deletions...ysis/D3PDTools/AnaAlgorithm/AnaAlgorithm/AnaAlgorithm.icc
- PhysicsAnalysis/D3PDTools/AnaAlgorithm/AnaAlgorithm/IHistogramWorker.h 1 addition, 1 deletion...is/D3PDTools/AnaAlgorithm/AnaAlgorithm/IHistogramWorker.h
- PhysicsAnalysis/D3PDTools/AnaAlgorithm/Root/AnaAlgorithm.cxx 5 additions, 14 deletionsPhysicsAnalysis/D3PDTools/AnaAlgorithm/Root/AnaAlgorithm.cxx
- PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/OutputStreamData.h 2 additions, 2 deletions...Analysis/D3PDTools/EventLoop/EventLoop/OutputStreamData.h
- PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/Worker.h 1 addition, 1 deletionPhysicsAnalysis/D3PDTools/EventLoop/EventLoop/Worker.h
- PhysicsAnalysis/D3PDTools/EventLoop/Root/Algorithm.cxx 1 addition, 1 deletionPhysicsAnalysis/D3PDTools/EventLoop/Root/Algorithm.cxx
- PhysicsAnalysis/D3PDTools/EventLoop/Root/OutputStreamData.cxx 2 additions, 4 deletions...icsAnalysis/D3PDTools/EventLoop/Root/OutputStreamData.cxx
- PhysicsAnalysis/D3PDTools/EventLoop/Root/Worker.cxx 2 additions, 2 deletionsPhysicsAnalysis/D3PDTools/EventLoop/Root/Worker.cxx
- PhysicsAnalysis/D3PDTools/EventLoopTest/Root/UnitTestAlg2.cxx 7 additions, 0 deletions...icsAnalysis/D3PDTools/EventLoopTest/Root/UnitTestAlg2.cxx
Loading