|
ATLAS Offline Software
|
Go to the documentation of this file.
18 #ifndef TRIGMISSINGETEVENTTPCNV_TRIGMISSINGETCONTAINER_CNV_P1_H
19 #define TRIGMISSINGETEVENTTPCNV_TRIGMISSINGETCONTAINER_CNV_P1_H
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() );
64 iEnd = transVect->
end();
68 persVect->push_back(
a );
70 log << MSG::WARNING <<
"TrigMissingETContainerCnv::transToPers failed for an element " << *
it <<
" "
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
TrigMissingETContainerCnv_p1()
Const iterator class for DataVector/DataList.
virtual void persToTrans(const TrigMissingETContainer_p1 *persVect, TrigMissingETContainer *transVect, MsgStream &log)
void clear()
Erase all the elements in the collection.
Class for LVL2/EF MissingET trigger.
TPObjRef toPersistent(CNV **cnv, const typename CNV::TransBase_t *transObj, MsgStream &log) const
Persistify an object and store the persistent represenation in the storage vector of the top-level pe...
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.
virtual void transToPers(const TrigMissingETContainer *transVect, TrigMissingETContainer_p1 *persVect, MsgStream &log)
CONV * m_elementCnv
pointer to the TP converter used for vector elements
size_type size() const noexcept
Returns the number of elements in the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
CNV::Trans_t * createTransFromPStore(CNV **cnv, const TPObjRef &ref, MsgStream &log) const
Create transient representation of a persistent object, stored in the the top-level persistent object...