|
ATLAS Offline Software
|
Go to the documentation of this file.
34 MsgStream&
msg )
const
44 const std::size_t nJetSampling = pers->size();
45 if (
pool.capacity() -
pool.allocated() < nJetSampling ) {
46 pool.reserve(
pool.allocated() + nJetSampling );
50 for ( JetSamplingCollection_p2::const_iterator
66 MsgStream&
msg )
const
79 ++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.
virtual void transToPers(const JetSampling *trans, JetSampling_p2 *pers, MsgStream &msg) const override
Method creating the persistent representation JetSampling_p2 from its transient representation JetSam...
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
virtual void transToPers(const JetSamplingCollection *trans, JetSamplingCollection_p2 *pers, MsgStream &msg) const override
Method creating the persistent representation JetSamplingCollection_p2 from its transient representat...
void clear()
Erase all the elements in the collection.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
virtual void persToTrans(const JetSampling_p2 *pers, JetSampling *trans, MsgStream &msg) const override
Method creating the transient representation of JetSampling from its persistent representation JetSam...
virtual void persToTrans(const JetSamplingCollection_p2 *pers, JetSamplingCollection *trans, MsgStream &msg) const override
Method creating the transient representation of JetSamplingCollection from its persistent representat...
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.