|
ATLAS Offline Software
|
Go to the documentation of this file.
39 MsgStream&
msg )
const
41 msg <<
MSG::DEBUG <<
"Loading JetCollection from persistent state..."
81 const std::size_t nJets = pers->size();
82 if (
pool.capacity() -
pool.allocated() < nJets ) {
83 pool.reserve(
pool.allocated() + nJets );
94 for ( JetCollection_p3::const_iterator
106 unsigned int RoIWord;
113 (*itr)->set_RoIword( RoIWord );
116 msg <<
MSG::DEBUG <<
"Loading JetCollection from persistent state [OK]"
123 MsgStream&
msg )
const
139 ++persItr; ++transItr; --
size;
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
JetConstituentVector::iterator iterator
JetKeyDescriptor * m_Stores
Const iterator class for DataVector/DataList.
JetKeyDescriptorInstance * keyDesc() const
This file contains the class definition for the DataLinkCnv_p1 class and DataLinkVectorCnv_p1 class.
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
static JetKeyDescriptorInstance * instance()
virtual void transToPers(const JetCollection *trans, JetCollection_p3 *pers, MsgStream &msg) const override
Method creating the persistent representation JetCollection_p1 from its transient representation JetC...
virtual void transToPers(const Jet *transObj, Jet_p3 *persObj, MsgStream &msg) const override
Method creating the persistent representation Jet_p3 from its transient representation Jet.
DataLink< JetKeyDescriptor > m_keyStore
link to the JetKeyDescriptor is mandatory for persistency. Access done through the JetKeyDescriptorIn...
virtual void transToPers(const DLink_t *trans, PersDLink_t *pers, MsgStream &log) const override
JetCollection::OrderedVar ordered() const
virtual void persToTrans(const PersDLink_t *pers, DLink_t *trans, MsgStream &log) const override
bool isValid() const
Test to see if the link is dereferencable.
bool isDefault() const
Test to see if we're in the default state.
const_pointer cptr() const
Dereference the link.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
virtual void persToTrans(const JetCollection_p3 *pers, JetCollection *trans, MsgStream &msg) const override
Method creating the transient representation of JetCollection from its persistent representation JetC...
virtual void persToTrans(const Jet_p3 *persObj, Jet *transObj, MsgStream &msg) const override
Method creating the transient representation of Jet from its persistent representation Jet_p3.
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
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.
const JetKeyDescriptor * m_ConstStores