You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fe07b07
Browse filesBrowse the repository at this point in the historyBrowse files
CCDB: also read std::array members written by libstdc++ on libc++ builds
The previous commit only handled an std::array stored as the CCDB object
itself. When the array is a member of another class, ROOT has already
replaced the file's libstdc++ StreamerInfo by the in-memory libc++ one by
the time the object is extracted, so there was no _M_elems layout left to
register, and ITS/Config/Geometry still read with
Error in <TBufferFile::ReadVersion>: Could not find the StreamerInfo with
a checksum of 0xac059ce7 for the class "array<bool,15>"
leaving o2::its::GeometryTGeo::mLayerToWrapper at -1 for every layer, so
getMatrixPath() skipped the wrapper volumes (mIsLayerITS3 read as false,
right only by chance).
For every array<...> the file describes, compute the checksum of its
libstdc++ layout (TStreamerInfo::GetCheckSum's formula, with the member
named _M_elems: 0xac059ce7 and 0x81cffd37 for ITS's arrays, 0x9189320d
for TRD's array<int,540>) and register that layout under the in-memory
member name when the class does not have it yet.
Verified on macOS, ROOT 6.40.04-alice: ITS/Config/Geometry at
1550600800000 now reads mLayerToWrapper 0 0 0 1 1 2 2 with no errors;
TRD/Calib/DCSDPsFedChamberStatus still reads 521x3 + 19x0.
Still only inside #if defined(_LIBCPP_VERSION).
0 commit comments