|
ATLAS Offline Software
|
Go to the documentation of this file.
38 MsgStream&
msg )
const
40 msg <<
MSG::DEBUG <<
"Loading JetCollection from persistent state..."
89 const std::size_t nJets = pers->size();
90 if (
pool.capacity() -
pool.allocated() < nJets ) {
91 pool.reserve(
pool.allocated() + nJets );
100 for ( JetCollection_p2::const_iterator
102 itrEnd = pers->end();
112 unsigned int RoIWord;
119 (*itr)->set_RoIword( RoIWord );
122 msg <<
MSG::DEBUG <<
"Loading JetCollection from persistent state [OK]"
129 MsgStream&
msg )
const
145 ++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.
virtual void transToPers(const JetCollection *trans, JetCollection_p2 *pers, MsgStream &msg) const override
Method creating the persistent representation JetCollection_p1 from its transient representation JetC...
JetKeyDescriptorInstance * keyDesc() const
This file contains the class definition for the DataLinkCnv_p1 class and DataLinkVectorCnv_p1 class.
virtual void transToPers(const Jet *transObj, Jet_p2 *persObj, MsgStream &msg) const override
Method creating the persistent representation Jet_p2 from its transient representation Jet.
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()
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
virtual void persToTrans(const Jet_p2 *persObj, Jet *transObj, MsgStream &msg) const override
Method creating the transient representation of Jet from its persistent representation Jet_p2.
JetCollection::OrderedVar ordered() const
virtual void persToTrans(const JetCollection_p2 *pers, JetCollection *trans, MsgStream &msg) const override
Method creating the transient representation of JetCollection from its persistent representation JetC...
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.
def access(filename, mode)
bool isDefault() const
Test to see if we're in the default state.
const_pointer cptr() const
Dereference the link.
void toDefaultObject(IProxyDict *sg=0)
Set the link to the default object of this type.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
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