Use event-local memory pool when reading RawEvent
This uses the tools of !2270 (merged) when reading raw events from MDF.
There is a slight complication thanks to a bug in ROOT: https://sft.its.cern.ch/jira/browse/ROOT-10526 A fix has been proposed, but I haven't been able to test it yet. The fix should make it to the 6.20 release, and presumably will be available via the LCG dev3 and/or dev4 slots before then. The effect is that ROOT I/O of LHCb::RawEvent is not possible with this MR and without the ROOT fix.
I added a unit test to this MR that exposes the problem (it segfaults/fails).
Merge request reports
Activity
mentioned in merge request !2313 (closed)
mentioned in merge request !2270 (merged)
mentioned in issue #73 (closed)
added Persistency enhancement labels
- Resolved by Rosen Matev
Why not (also) update
LHCb::RawBank* allocateBank( size_t len )
(see here, called fromcreateBank
) to use the allocator (instead of plainnew
)?
added lhcb-head label
removed lhcb-head label
mentioned in issue Moore#131 (closed)
https://sft.its.cern.ch/jira/browse/ROOT-10526 is now closed, apparently the fix should be in 6.20/00, 6.18/06. I think this means it will be picked up in both
dev3
anddev4
slots, so we could test this MR in one or both of those if we wanted to.added 35 commits
-
2320dbef...1f102fd8 - 33 commits from branch
olupton_custom_allocators
- edfc701f - Migrate DAQ algorithms to use custom memory pool.
- cb204c11 - RawEvent unit test that exposes ROOT-10526.
-
2320dbef...1f102fd8 - 33 commits from branch
added 18 commits
-
cb204c11...25e5092d - 16 commits from branch
olupton_custom_allocators
- 2bdb312a - Migrate DAQ algorithms to use custom memory pool.
- f9539121 - RawEvent unit test that exposes ROOT-10526.
-
cb204c11...25e5092d - 16 commits from branch
added needs Gaudi release label
added 20 commits
-
f9539121...c5a8d544 - 18 commits from branch
master
- 6c8ddb4d - Migrate DAQ algorithms to use custom memory pool.
- 5f6df87b - RawEvent unit test that exposes ROOT-10526.
-
f9539121...c5a8d544 - 18 commits from branch