ATLAS Offline Software
Loading...
Searching...
No Matches
InDetLowBetaContainerCnv.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
7
12
17
18
19// createPersistent
21 ATH_MSG_DEBUG("InDetLowBetaContainerCnv::createPersistent called");
22
23 InDetLowBetaContainer_PERS *p_InDetLowBetaCont = m_TPConverter_tlp1->createPersistent(transObj, msg());
24
25 return p_InDetLowBetaCont;
26
27}
28
29// createTransient
31 ATH_MSG_DEBUG("InDetLowBetaContainerCnv::createTransient called");
32
33 static const pool::Guid tlp1_guid("2EBE2034-8157-477B-B327-D37BE8A0317D");
34
35 InDet::InDetLowBetaContainer *p_collection = nullptr;
36 if (compareClassGuid(tlp1_guid)) {
38 p_collection = m_TPConverter_tlp1->createTransient(msg());
39 } else
40 throw std::runtime_error("Unsupported persistent version of InDetLowBetaContainer");
41
42 return p_collection;
43}
44
45
#define ATH_MSG_DEBUG(x)
TopLevelTPCnvBase AthenaPoolTopLevelTPCnvBase
T_AthenaPoolCustomCnv< InDet::InDetLowBetaContainer, InDetLowBetaContainer_PERS > InDetLowBetaContainerCnvBase
InDetLowBetaContainer_tlp1 InDetLowBetaContainer_PERS
virtual AthenaPoolTopLevelTPCnvBase * getTopLevelTPCnv()
virtual InDet::InDetLowBetaContainer * createTransient()
InDetLowBetaContainerCnv_tlp1 * m_TPConverter_tlp1
InDetLowBetaContainerCnv(ISvcLocator *svcloc)
virtual InDetLowBetaContainer_PERS * createPersistent(InDet::InDetLowBetaContainer *transObj)