ATLAS Offline Software
Loading...
Searching...
No Matches
RpcByteStreamErrorContainerCnv.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
9
11
13 using namespace Muon;
14 MsgStream log(msgSvc(), "RpcByteStreamErrorContainer converter");
15 RpcByteStreamErrorContainer_PERS *persObj = TPconverter_p1.createPersistentConst( transObj, log );
16 return persObj;
17}
18
20 using namespace Muon;
21 static const pool::Guid p1_guid("4E46BDDC-E1F9-420A-A11F-47EF082A3E3A");
22 if( compareClassGuid(p1_guid) ) {
23 std::unique_ptr< RpcByteStreamErrorContainer_p1 > col_vect( poolReadObject< RpcByteStreamErrorContainer_p1 >() );
24 MsgStream log(msgSvc(), "RpcByteStreamErrorContainer_p1" );
25 return TPconverter_p1.createTransientConst( col_vect.get(), log );
26 }
27 throw std::runtime_error("Unsupported persistent version of RpcByteStreamErrorContainer");
28}
static const EventInfoCnv_p1 TPconverter_p1
Muon::RpcByteStreamErrorContainer_p1 RpcByteStreamErrorContainer_PERS
virtual RpcByteStreamErrorContainer_PERS * createPersistent(Muon::RpcByteStreamErrorContainer *transObj)
virtual Muon::RpcByteStreamErrorContainer * createTransient()
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.