|
ATLAS Offline Software
|
Go to the documentation of this file.
32 MsgStream&
msg )
const
42 const std::size_t nJetSampling = pers->size();
43 if (
pool.capacity() -
pool.allocated() < nJetSampling ) {
44 pool.reserve(
pool.allocated() + nJetSampling );
48 for ( JetSamplingCollection_p1::const_iterator
64 MsgStream&
msg )
const
77 ++persItr; ++transItr; --
size;
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
JetConstituentVector::iterator iterator
virtual void transToPers(const JetSamplingCollection *trans, JetSamplingCollection_p1 *pers, MsgStream &msg) const override
Method creating the persistent representation JetSamplingCollection_p1 from its transient representat...
Const iterator class for DataVector/DataList.
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
virtual void persToTrans(const JetSampling_p1 *pers, JetSampling *trans, MsgStream &msg) const override
Method creating the transient representation of JetSampling from its persistent representation JetSam...
virtual void transToPers(const JetSampling *trans, JetSampling_p1 *pers, MsgStream &msg) const override
Method creating the persistent representation JetSampling_p1 from its transient representation JetSam...
void clear()
Erase all the elements in the collection.
virtual void persToTrans(const JetSamplingCollection_p1 *pers, JetSamplingCollection *trans, MsgStream &msg) const override
Method creating the transient representation of JetSamplingCollection from its persistent representat...
value_type push_back(value_type pElem)
Add an element to the end of the collection.
a typed memory pool that saves time spent allocation small object. This is typically used by containe...
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.