Skip to content
Snippets Groups Projects
Commit 3f58e824 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Fix ByteStream converter for xAOD::EventInfo

The following values were implicitly set by the BS converter of the legacy EventInfo:
MCChannelNumber(0), MCEventNumber(0), MCEventWeights(std::vector<float>(1,1));
Now they are set in the BS converted of the xAOD::EventInfo too.

Fixes ATR-19871
parent e1d9d309
No related branches found
No related tags found
No related merge requests found
...@@ -203,6 +203,12 @@ StatusCode EventInfoByteStreamAuxCnv::createObj(IOpaqueAddress* pAddr, DataObjec ...@@ -203,6 +203,12 @@ StatusCode EventInfoByteStreamAuxCnv::createObj(IOpaqueAddress* pAddr, DataObjec
evtInfo.setDetectorMask(detMask0,detMask1); evtInfo.setDetectorMask(detMask0,detMask1);
evtInfo.setDetectorMaskExt(detMask2,detMask3); evtInfo.setDetectorMaskExt(detMask2,detMask3);
// The following values were implicitly set by the BS converter of the legacy EventInfo
// Setting them here too
evtInfo.setMCChannelNumber(0);
evtInfo.setMCEventNumber(0);
evtInfo.setMCEventWeights(std::vector<float>(1,1));
// Set Event Type // Set Event Type
uint32_t eventTypeBitmask{0}; uint32_t eventTypeBitmask{0};
if (m_isSimulation) { if (m_isSimulation) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment