ATLAS Offline Software
Loading...
Searching...
No Matches
TrigMuonEFInfoContainerCnv.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
10
18
23
24//createPersistent
26 MsgStream mlog(msgSvc(), "TrigMuonEFInfoContainerConverter" );
27 mlog << MSG::DEBUG << "TrigMuonEFInfoContainerCnv::createPersistent called" << endmsg;
28
29 TrigMuonEFInfoContainer_PERS * p_muEFcont = m_TPConverter2->createPersistent( transObj, m_log );
30
31 return p_muEFcont;
32}
33
34
36
37 MsgStream mlog(msgSvc(), "TrigMuonEFInfoContainerConverter" );
38
39 mlog << MSG::DEBUG << "TrigMuonEFInfoContainerCnv::createTransient called" << endmsg;
40
41 static const pool::Guid p1_guid( "B768E99D-9CC3-4368-ADD5-36816D2A0298" );
42 static const pool::Guid p2_guid( "AF8CBEC0-4BBF-438A-82DE-873F133F4821" );
43
44 TrigMuonEFInfoContainer *p_collection = 0;
45
46 if( compareClassGuid( p2_guid ) ) {
48 p_collection = m_TPConverter2->createTransient( m_log );
49 }
50 else if( compareClassGuid( p1_guid ) ) {
52 p_collection = m_TPConverter1->createTransient( m_log );
53 }
54 else throw std::runtime_error( "Unsupported persistent version of TrigMuonEFInfoContainer" );
55
56 return p_collection;
57}
#define endmsg
T_AthenaPoolCustomCnv< TrigMuonEFInfoContainer, TrigMuonEFInfoContainer_PERS > TrigMuonEFInfoContainerCnvBase
TrigMuonEFInfoContainer_tlp2 TrigMuonEFInfoContainer_PERS
TrigMuonEFInfoContainerCnv(ISvcLocator *svcloc)
virtual TrigMuonEFInfoContainer_PERS * createPersistent(TrigMuonEFInfoContainer *transObj)
TrigMuonEFInfoContainerCnv_tlp1 * m_TPConverter1
TrigMuonEFInfoContainerCnv_tlp2 * m_TPConverter2
virtual TrigMuonEFInfoContainer * createTransient()