Open tmadlener opened 2 years ago
In some places vector elements are copied element by element into the sio stream, e.g.
https://github.com/iLCSoft/LCIO/blob/1287e9475357c8ce641483233f29c5e98f4fc6bf/src/cpp/src/SIO/SIOLCParameters.cc#L62-L65
sio should be able to handle vectors as a whole, without having to read each element separately. We do this in podio: https://github.com/AIDASoft/podio/blob/master/src/SIOBlock.cc#L47-L67
SIO_SDATA(device, intVec);
_Originally posted by @tmadlener in https://github.com/iLCSoft/LCIO/pull/143#discussion_r739039871_
In some places vector elements are copied element by element into the sio stream, e.g.
https://github.com/iLCSoft/LCIO/blob/1287e9475357c8ce641483233f29c5e98f4fc6bf/src/cpp/src/SIO/SIOLCParameters.cc#L62-L65
sio should be able to handle vectors as a whole, without having to read each element separately. We do this in podio: https://github.com/AIDASoft/podio/blob/master/src/SIOBlock.cc#L47-L67
_Originally posted by @tmadlener in https://github.com/iLCSoft/LCIO/pull/143#discussion_r739039871_