|
ATLAS Offline Software
|
Go to the documentation of this file.
37 MsgStream&
msg )
const
39 msg <<
MSG::DEBUG <<
"Loading JetCollection from persistent state..."
88 trans->reserve(pers->size());
101 if(pers->m_jetIdBugFixed) j->
setJetId(
id);
103 trans->back()->m_collection = trans ;
109 trans->setFastjetClustSeq(
nullptr);
111 msg <<
MSG::DEBUG <<
"Loading JetCollection from persistent state [OK]"
118 MsgStream&
msg )
const
130 pers->reserve(trans->
size());
132 for (
const Jet*
jet : *trans) {
JetKeyDescriptor * m_Stores
JetKeyDescriptorInstance * keyDesc() const
Basic data class defines behavior for all Jet objects The Jet class is the principal data class for...
virtual void persToTrans(const PersDLink_t &pers, DLink_t &trans, MsgStream &log) const
This file contains the class definition for the DataLinkCnv_p2 class and DataLinkVectorCnv_p2 class.
virtual void transToPers(const DLink_t &trans, PersDLink_t &pers, MsgStream &log) const
static JetKeyDescriptorInstance * instance()
DataLink< JetKeyDescriptor > m_keyStore
link to the JetKeyDescriptor is mandatory for persistency. Access done through the JetKeyDescriptorIn...
virtual void transToPers(const JetCollection *trans, JetCollection_p6 *pers, MsgStream &msg) const override
Method creating the persistent representation JetCollection_p1 from its transient representation JetC...
size_t m_jetAuthor
the author of this jetcollection.
JetCollection::OrderedVar ordered() const
unsigned short m_jetAuthor
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 boost::regex ref(r_ef)
size_t m_jetId
the identifier of this jet within its collection.
static const size_t s_defaultJetId
void setOrdered(JetCollection::OrderedVar ordered)
virtual void persToTrans(const JetCollection_p6 *pers, JetCollection *trans, MsgStream &msg) const override
Method creating the transient representation of JetCollection from its persistent representation JetC...
size_type size() const noexcept
Returns the number of elements in 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