6#include "GaudiKernel/MsgStream.h"
12 log << MSG::DEBUG <<
"In LUCID_DigitContainerCnv_p2::transToPers" <<
endmsg;
14 persObj->resize(transObj->
size());
16 for (
unsigned int i=0; i<transObj->
size(); ++i) {
26 log << MSG::DEBUG <<
"In LUCID_DigitContainerCnv_p2::persToTrans" <<
endmsg;
28 transObj->
reserve(persObj->size());
30 for (
unsigned int i=0; i<persObj->size(); ++i) {
static const LUCID_DigitCnv_p2 digitConv_p2
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
size_type size() const noexcept
Returns the number of elements in the collection.
virtual void transToPers(const LUCID_DigitContainer *transObj, LUCID_DigitContainer_p2 *persObj, MsgStream &log) const override
virtual void persToTrans(const LUCID_DigitContainer_p2 *persObj, LUCID_DigitContainer *transObj, MsgStream &log) const override