ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger
TrigEvent
TrigEventAthenaPool
src
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
5
#include "
ElectronMuonTopoInfoContainerCnv.h
"
6
7
//createPersistent
8
ElectronMuonTopoInfoContainer_PERS
*
ElectronMuonTopoInfoContainerCnv::createPersistent
(
ElectronMuonTopoInfoContainer
*transObj)
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
21
ElectronMuonTopoInfoContainer
*
ElectronMuonTopoInfoContainerCnv::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
endmsg
#define endmsg
Definition
AnalysisConfig_Ntuple.cxx:63
ElectronMuonTopoInfoContainerCnv.h
ElectronMuonTopoInfoContainer_PERS
ElectronMuonTopoInfoContainer_p1 ElectronMuonTopoInfoContainer_PERS
Definition
ElectronMuonTopoInfoContainerCnv.h:15
ElectronMuonTopoInfoContainerCnv::createPersistent
virtual ElectronMuonTopoInfoContainer_PERS * createPersistent(ElectronMuonTopoInfoContainer *transObj)
Definition
ElectronMuonTopoInfoContainerCnv.cxx:8
ElectronMuonTopoInfoContainerCnv::createTransient
virtual ElectronMuonTopoInfoContainer * createTransient()
Definition
ElectronMuonTopoInfoContainerCnv.cxx:21
ElectronMuonTopoInfoContainerCnv::m_converter
ElectronMuonTopoInfoContainerCnv_p1 m_converter
Definition
ElectronMuonTopoInfoContainerCnv.h:35
ElectronMuonTopoInfoContainer
Definition
ElectronMuonTopoInfoContainer.h:30
T_AthenaPoolCustomCnv< ElectronMuonTopoInfoContainer, ElectronMuonTopoInfoContainer_PERS >::compareClassGuid
virtual bool compareClassGuid(const Guid &clid) const
T_AthenaPoolCustomCnv< ElectronMuonTopoInfoContainer, ElectronMuonTopoInfoContainer_PERS >::poolReadObject
P * poolReadObject()
pool::Guid
::Guid Guid
Definition
T_AthenaPoolCustCnv.h:19
Generated on
for ATLAS Offline Software by
1.14.0