Extend SoA read streamer to support schema evolution#50487
Extend SoA read streamer to support schema evolution#50487fwyzard wants to merge 1 commit intocms-sw:masterfrom
Conversation
|
cms-bot internal usage |
| for (unsigned int i = 0; i < CPP_TYPE::RowsAtCompileTime * CPP_TYPE::ColsAtCompileTime; ++i) { \ | ||
| memcpy(BOOST_PP_CAT(NAME, _) + i * BOOST_PP_CAT(NAME, Stride_), \ | ||
| onfile.BOOST_PP_CAT(NAME, _) + i * onfile.BOOST_PP_CAT(NAME, Stride_), \ | ||
| sizeof(CPP_TYPE::Scalar) * onfile.elements_); \ |
There was a problem hiding this comment.
This could remain the old, simpler, approach for the common case when BOOST_PP_CAT(NAME, Stride_) == onfile.BOOST_PP_CAT(NAME, Stride_)
|
please test |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-50487/48644
|
|
please test |
|
+1 Size: This PR adds an extra 36KB to repository Comparison SummarySummary:
|
|
Milestone for this pull request has been moved to CMSSW_17_0_X. Please open a backport if it should also go in to CMSSW_16_1_X. |
PR description:
Extend SoA read streamer to support schema evolution:
doubletofloat) are handle by ROOT, but need special care in the case of Eigen columns.PR validation:
None.