|
ATLAS Offline Software
|
Go to the documentation of this file.
34 MsgStream&
msg )
const
43 const std::size_t nJets = pers->size();
44 if (
pool.capacity() -
pool.allocated() < nJets ) {
45 pool.reserve(
pool.allocated() + nJets );
54 for ( JetCollection_p1::const_iterator
72 (*itr)->set_RoIword( RoIWord );
81 MsgStream&
msg )
const
97 ++persItr; ++transItr; --
size;
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
JetConstituentVector::iterator iterator
Const iterator class for DataVector/DataList.
Basic data class defines behavior for all Jet objects The Jet class is the principal data class for...
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
virtual void persToTrans(const JetCollection_p1 *pers, JetCollection *trans, MsgStream &msg) const override
Method creating the transient representation of JetCollection from its persistent representation JetC...
JetCollection::OrderedVar ordered() const
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
virtual void transToPers(const JetCollection *trans, JetCollection_p1 *pers, MsgStream &msg) const override
Method creating the persistent representation JetCollection_p1 from its transient representation JetC...
a typed memory pool that saves time spent allocation small object. This is typically used by containe...
void setOrdered(JetCollection::OrderedVar ordered)
DataVector< Jet >::iterator iterator
virtual void transToPers(const Jet *transObj, Jet_p1 *persObj, MsgStream &msg) const override
Method creating the persistent representation Jet_p1 from its transient representation Jet.
size_type size() const noexcept
Returns the number of elements in the collection.
virtual void persToTrans(const Jet_p1 *persObj, Jet *transObj, MsgStream &msg) const override
Method creating the transient representation of Jet from its persistent representation Jet_p1.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.