ATLAS Offline Software
Loading...
Searching...
No Matches
InDetBSErrContainerCnv.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
10
12
15 MsgStream log{msgSvc(), "InDetBSErrContainerCnv"};
16 InDetBSErrContainer_PERS* persObj{m_TPConverter_PERS.createPersistent(transCont, log)};
17 return persObj;
18}
19
22 MsgStream log{msgSvc(), "InDetBSErrContainerCnv"};
23 static const pool::Guid p1_guid{"FA64DC17-D07E-4305-9B21-18C64F1B4C47"};
24 static const pool::Guid p2_guid{"ECBBC13B-0A44-4694-AD24-574A7598C627"};
25 if (compareClassGuid(p1_guid)) {
26 return m_TPConverter_p1.createTransient(poolReadObject<InDetBSErrContainer_p1>(), log);
27 } else if (compareClassGuid(p2_guid)) {
29 }
30 throw std::runtime_error("Unsupported persistent version of Data Collection");
31}
Generated header file which defines a typedef for templated converter class.
InDetBSErrContainer_p2 InDetBSErrContainer_PERS
the latest persistent representation type of DataCollection:
DataVector< std::pair< IdentifierHash, int > > InDetBSErrContainer
InDetBSErrContainerCnv_p2 m_TPConverter_PERS
virtual InDetBSErrContainer * createTransient()
InDetBSErrContainerCnv_p1 m_TPConverter_p1
virtual InDetBSErrContainer_PERS * createPersistent(InDetBSErrContainer *transCont)