|
ATLAS Offline Software
|
Go to the documentation of this file.
39 MsgStream&
msg )
const
41 msg <<
MSG::DEBUG <<
"Loading JetCollection from persistent state..."
96 std::stringstream strm(pers->m_roiAuthor);
102 (*itr)->set_RoIword( RoIWord );
105 msg <<
MSG::DEBUG <<
"Loading JetCollection from persistent state [OK]"
112 MsgStream&
msg )
const
121 pers->reserve(trans->
size());
123 for (
const Jet*
jet : *trans) {
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
JetKeyDescriptor * m_Stores
virtual void transToPers(const JetCollection *trans, JetCollection_p4 *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.
Basic data class defines behavior for all Jet objects The Jet class is the principal data class for...
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
JetCollection::OrderedVar ordered() const
virtual void persToTrans(const PersDLink_t *pers, DLink_t *trans, MsgStream &log) const override
virtual void persToTrans(const JetCollection_p4 *pers, JetCollection *trans, MsgStream &msg) const override
Method creating the transient representation of JetCollection from its persistent representation JetC...
bool isValid() const
Test to see if the link is dereferencable.
TPObjRef toPersistent(CNV **cnv, const typename CNV::TransBase_t *transObj, MsgStream &log) const
Persistify an object and store the persistent represenation in the storage vector of the top-level pe...
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.
const boost::regex ref(r_ef)
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.
CNV::Trans_t * createTransFromPStore(CNV **cnv, const TPObjRef &ref, MsgStream &log) const
Create transient representation of a persistent object, stored in the the top-level persistent object...
const JetKeyDescriptor * m_ConstStores