ATLAS Offline Software
Loading...
Searching...
No Matches
ElectronMuonTopoInfoContainerCnv.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7//createPersistent
9{
10 MsgStream mlog(msgSvc(), "ElectronMuonTopoInfoContainerConverter" );
11
12 mlog << MSG::DEBUG << "ElectronMuonTopoInfoContainerCnv::createPersistent called" << endmsg;
13
14 ElectronMuonTopoInfoContainer_PERS * p_emTopoCont = m_converter.createPersistent( transObj, mlog );
15
16 return p_emTopoCont;
17
18}//end of create persistent method
19
20//createTransient
22{
23 MsgStream mlog(msgSvc(), "ElectronMuonTopoInfoContainerConverter" );
24
25 mlog << MSG::DEBUG << "ElectronMuonTopoInfoContainerCnv::createTransient called" << endmsg;
26
27 static const pool::Guid p1_guid( "0A775717-3FC9-4FF4-A18B-3F520B2D4DAC" );
28
29 if( compareClassGuid( p1_guid ) ){
30 std::unique_ptr< ElectronMuonTopoInfoContainer_p1 > col_vect( poolReadObject< ElectronMuonTopoInfoContainer_p1 >() );
31 return m_converter.createTransient( col_vect.get(), mlog ) ;
32 } else { throw std::runtime_error( "Unsupported persistent version of ElectronMuonTopoInfoContainer" ); }
33
34}//end of create transient method
35
#define endmsg
ElectronMuonTopoInfoContainer_p1 ElectronMuonTopoInfoContainer_PERS
virtual ElectronMuonTopoInfoContainer_PERS * createPersistent(ElectronMuonTopoInfoContainer *transObj)
virtual ElectronMuonTopoInfoContainer * createTransient()
ElectronMuonTopoInfoContainerCnv_p1 m_converter