|
ATLAS Offline Software
|
Go to the documentation of this file.
18 #include "GaudiKernel/MsgStream.h"
26 m_log(m_msgSvc,
"JetCollectionCnv")
38 MsgStream
msg(
msgSvc(),
"JetCollectionCnv" );
39 msg << MSG::ERROR <<
"createPersistent() is obsolete" <<
endmsg;
50 MsgStream
msg(
msgSvc(),
"JetCollectionCnv" );
56 static const pool::Guid tr_guid(
"2FB4D25D-E217-4B8A-B865-180DE73B20E0");
57 static const pool::Guid pj_guid(
"E97C0C61-0B3E-401C-B853-A3302168283E");
58 static const pool::Guid p1_guid(
"9B8CE942-1457-4392-A98A-A1A464990B9A");
59 static const pool::Guid p2_guid(
"0260D9A5-9C75-45FF-AC97-EA220FB11380");
60 static const pool::Guid p3_guid(
"8CC411B4-8369-4C61-9B15-8A806DBFBBD1");
61 static const pool::Guid tlp2_guid(
"668B769E-E190-4904-BE2C-1677279A9803");
62 static const pool::Guid tlp5_guid(
"BEDCAE36-5EFD-4035-A402-2DC4F7A6BF75");
63 static const pool::Guid tlp6_guid(
"77DFEE77-16A5-45DD-91FB-FDEEF2B65F7D");
72 poolReadObject<JetCollection_tlp5> (
m_tlp5_cnv);
82 poolReadObject<JetCollection_tlp2> (
m_tlp2_cnv);
91 return poolReadObject<JetCollection>();
96 std::unique_ptr<JetCollection_p1> persObj( poolReadObject<JetCollection_p1>() );
102 std::unique_ptr<JetCollection_p2> persObj( poolReadObject<JetCollection_p2>() );
108 std::unique_ptr<JetCollection_p3> persObj( poolReadObject<JetCollection_p3>() );
114 std::unique_ptr<ParticleJetContainer_p1> persObj( poolReadObject<ParticleJetContainer_p1>() );
117 throw std::runtime_error(
"Unsupported persistent version of JetCollection");
142 if (converter !=
nullptr) {
146 return StatusCode::FAILURE;
149 return StatusCode::SUCCESS;
JetCollectionCnv_p1 m_p1_cnv
ParticleJetContainerCnv_p1 m_pjp1_cnv
ServiceHandle< IAthenaPoolCnvSvc > m_athenaPoolCnvSvc
virtual TRANS * createTransient(const PERS *persObj, MsgStream &log)
Create transient representation of a persistent object.
JetCollectionCnv_tlp5 m_tlp5_cnv
JetCollectionCnv_p3 m_p3_cnv
virtual JetCollection * createTransient()
Build the transient representation from a persistent one.
TRANS * createTransient(MsgStream &log)
Create transient representation of the persistent object known to this converter.
msgSvc
Provide convenience handles for various services.
Compatibility for old converter classes that don't get passed the key.
::StatusCode StatusCode
StatusCode definition for legacy code.
uint32_t CLID
The Class ID type.
MsgStream & msg() const
The standard message stream.
JetCollectionCnv_tlp6 m_TPConverter
The master translator.
JetCollectionCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
JetCollectionCnv_tlp2 m_tlp2_cnv
virtual bool registerExtendingCnv(AthenaConverterTLPExtension *cnv)
Register extending converter (that is, another converter that will extent this converter) and all his...
Top level container that will store all the various jet objects that are getting stored.
StatusCode initialize(void)
Connect up the sub-converters that we use to do the actual work.
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
virtual StatusCode initialize()
Gaudi Service Interface method implementations:
virtual JetCollection_PERS * createPersistent(JetCollection *transCont)
Build the persistent representation from the transient one.
JetCollectionCnv_p2 m_p2_cnv