ATLAS Offline Software
Loading...
Searching...
No Matches
TrigPassBitsCollectionCnv.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
8
13
18
20
21//createPersistent
23{
24 MsgStream mlog(msgSvc(), "TrigPassBitsCollectionConverter" );
25
26 TrigPassBitsCollection_PERS * p_cont = m_impl->m_TPconverter_p1.createPersistent( transObj, mlog );
27
28 return p_cont;
29
30}//end of create persistent method
31
32
33//createTransient
35{
36 MsgStream mlog(msgSvc(), "TrigPassBitsCollectionConverter" );
37
38 static const pool::Guid p1_guid( "E6E4F396-D696-4C1C-A0C4-7766E0AF9BB5" );
39
40 // TrigPassBitsCollection *p_collection = 0;
41 if( compareClassGuid( p1_guid ) )
42 {
43 std::unique_ptr< TrigPassBitsCollection_p1 > col_vect( poolReadObject< TrigPassBitsCollection_p1 >() );
44 return m_impl->m_TPconverter_p1.createTransient( col_vect.get(), mlog ) ;
45 }
46 else throw std::runtime_error( "Unsupported persistent version of TrigPassBitsCollection" );
47
48}//end of create transient method
49
TrigPassBitsCollection_p1 TrigPassBitsCollection_PERS
T_AthenaPoolCustomCnv< TrigPassBitsCollection, TrigPassBitsCollection_PERS > TrigPassBitsCollectionCnvBase
T_AthenaPoolTPCnvVector< TrigPassBitsCollection, TrigPassBitsCollection_p1, TrigPassBitsCnv_p1 > TrigPassBitsCollectionCnv_p1
virtual TrigPassBitsCollection_PERS * createPersistent(TrigPassBitsCollection *transObj)
virtual TrigPassBitsCollection * createTransient()
std::unique_ptr< TrigPassBitsCollection_impl > m_impl
TrigPassBitsCollectionCnv(ISvcLocator *svcloc)
STL namespace.
TrigPassBitsCollectionCnv_p1 m_TPconverter_p1