18#ifndef TRIGMISSINGETEVENTTPCNV_TRIGMISSINGETCONTAINER_CNV_P1_H
19#define TRIGMISSINGETEVENTTPCNV_TRIGMISSINGETCONTAINER_CNV_P1_H
36 log << MSG::DEBUG <<
"TrigMissingETContainerCnv::persToTrans" <<
endmsg;
39 transVect->
reserve( persVect->size() );
41 for( TrigMissingETContainer_p1::const_iterator
42 it = persVect->begin(),
43 iEnd = persVect->end();
48 log << MSG::WARNING <<
"TrigMissingETContainerCnv::persToTrans failed for an element " <<
endmsg;
51 log << MSG::WARNING <<
"TrigMissingETContainerCnv::persToTrans cannot convert NULL persVect" <<
endmsg;
60 persVect->reserve( transVect->
size() );
62 for( TrigMissingETContainer::const_iterator
63 it = transVect->
begin(),
64 iEnd = transVect->
end();
68 persVect->push_back(
a );
70 log << MSG::WARNING <<
"TrigMissingETContainerCnv::transToPers failed for an element " << *it <<
" "
TPPtrVectorCnv< TRANS, PERS, CONV > T_AthenaPoolTPPtrVectorCnv
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.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
size_type size() const noexcept
Returns the number of elements in the collection.
void clear()
Erase all the elements in the collection.
CNV::Trans_t * createTransFromPStore(CNV **cnv, const TPObjRef &ref, MsgStream &log) const
TPObjRef toPersistent(CNV **cnv, const typename CNV::TransBase_t *transObj, MsgStream &log) const
This class is an object reference used in Athena persistent data model.
CONV * m_elementCnv
pointer to the TP converter used for vector elements
virtual void persToTrans(const TrigMissingETContainer_p1 *persVect, TrigMissingETContainer *transVect, MsgStream &log)
TrigMissingETContainerCnv_p1()
virtual void transToPers(const TrigMissingETContainer *transVect, TrigMissingETContainer_p1 *persVect, MsgStream &log)
Class for LVL2/EF MissingET trigger.