ATLAS Offline Software
Loading...
Searching...
No Matches
PixelGangedClusterAmbiguitiesCnv.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
13
15 ATH_MSG_DEBUG("PixelGangedClusterAmbiguities write");
16 PixelGangedClusterAmbiguities_PERS *persObj = m_TPconverter.createPersistent( transObj, msg() );
17 ATH_MSG_DEBUG("Success");
18 return persObj;
19}
20
21InDet::PixelGangedClusterAmbiguities* PixelGangedClusterAmbiguitiesCnv::createTransient() {
22 static const pool::Guid p1_guid("FE36CE7E-EADF-481F-A55A-26DA0030DFAA");
23// static const pool::Guid p0_guid("380D8BB9-B34F-470F-92CC-06C3D60F7BE4");
24 if( compareClassGuid(p1_guid) ) {
25 // using unique_ptr ensures deletion of the persistent object
26 std::unique_ptr< InDet::PixelGangedClusterAmbiguities_p1 > col_vect( poolReadObject< InDet::PixelGangedClusterAmbiguities_p1 >() );
27 ATH_MSG_DEBUG("Reading PixelGangedClusterAmbiguities_p1");
28 return m_TPconverter.createTransient( col_vect.get(), msg() );
29 }
30// else if( compareClassGuid(p0_guid) ) {
31// dont think there was a "before T/P" split converter
32// }
33 throw std::runtime_error("Unsupported persistent version of EventInfo");
34}
35
#define ATH_MSG_DEBUG(x)
AthenaPool converter for PixelGangedClusterAmbiguitiesCnv.
InDet::PixelGangedClusterAmbiguities_p1 PixelGangedClusterAmbiguities_PERS
virtual PixelGangedClusterAmbiguities_PERS * createPersistent(InDet::PixelGangedClusterAmbiguities *transObj)
virtual InDet::PixelGangedClusterAmbiguities * createTransient()
PixelGangedClusterAmbiguitiesCnv_p1 m_TPconverter