37 MsgStream&
msg )
const
39 msg << MSG::DEBUG <<
"Loading JetCollection from persistent state..."
74 msg << MSG::DEBUG <<
"attached JetKeyDescriptor to its instance" <<
endmsg;
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) {
const boost::regex ref(r_ef)
This file contains the class definition for the DataLinkCnv_p2 class and DataLinkVectorCnv_p2 class.
JetConverterBase< Jet_p6 > JetCnv_p6
static const JetCnv_p1 jetCnv
static const JetKeyDescriptorCnv_p1 jetkeyCnv
bool isDefault() const
Test to see if we're in the default state.
virtual void transToPers(const DLink_t &trans, PersDLink_t &pers, MsgStream &log) const
virtual void persToTrans(const PersDLink_t &pers, DLink_t &trans, MsgStream &log) const
Object reference supporting deferred reading from StoreGate.
const_pointer cptr() const
Dereference the link.
bool isValid() const
Test to see if the link is dereferencable.
const T * back() const
Access the last element in the collection as an rvalue.
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
size_type size() const noexcept
Returns the number of elements in the collection.
Common base class for all TP converters, specialized for a given transient type.
CNV::Trans_t * createTransFromPStore(CNV **cnv, const TPObjRef &ref, MsgStream &log) const
TPObjRef toPersistent(CNV **cnv, const typename CNV::TransBase_t *transObj, MsgStream &log) const
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...
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...
unsigned short m_jetAuthor
bool m_ownMap
false if the map is recorded in SG
JetCollection::OrderedVar ordered() const
void setFastjetClustSeq(const fastjet::ClusterSequence *cs)
DataLink< JetKeyDescriptor > m_keyStore
link to the JetKeyDescriptor is mandatory for persistency. Access done through the JetKeyDescriptorIn...
void setOrdered(JetCollection::OrderedVar ordered)
size_t m_jetAuthor
the author of this jetcollection.
JetKeyDescriptorInstance * keyDesc() const
const JetKeyDescriptor * m_ConstStores
JetKeyDescriptor * m_Stores
static JetKeyDescriptorInstance * instance()
size_t m_jetId
the identifier of this jet within its collection.
static const size_t s_defaultJetId
const JetCollection * m_collection
Shape store link.
This class is an object reference used in Athena persistent data model.