![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
19 #include "GaudiKernel/MsgStream.h"
51 MsgStream
log(
msgSvc(),
"AtlasIDDetDescrCnv");
55 log << MSG::ERROR <<
"DetDescrConverter::initialize failed" <<
endmsg;
74 return StatusCode::SUCCESS;
82 MsgStream
log(
msgSvc(),
"AtlasIDDetDescrCnv");
85 return StatusCode::SUCCESS;
94 MsgStream
log(
msgSvc(),
"AtlasIDDetDescrCnv");
95 log << MSG::INFO <<
"in createObj: creating a AtlasDetectorID helper object in the detector store" <<
endmsg;
103 return StatusCode::FAILURE;
107 std::string helperKey = *( ddAddr->par() );
108 if (
"" == helperKey) {
121 return StatusCode::FAILURE;
129 return StatusCode::FAILURE;
137 auto atlas_id = std::make_unique<AtlasDetectorID>();
138 atlas_id->setMessageSvc(
msgSvc());
141 log << MSG::ERROR <<
"Unable to initialize AtlasDetectorID" <<
endmsg;
142 return StatusCode::FAILURE;
148 return StatusCode::SUCCESS;
const long DetDescr_StorageType
std::vector< Identifier > ID
convert to and from a SG storable
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
DataObject * asStorable(T *pObject)
static const CLID & ID()
the CLID of T
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
The Athena Transient Store API.
msgSvc
Provide convenience handles for various services.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode initialize()
Default, invalid implementation of ClassID_traits.
static long int storageType()
AtlasIDDetDescrCnv(ISvcLocator *svcloc)
int initializeHelper(IdHelper &helper) const
Return value: 0 OK, >0 error.
uint32_t CLID
The Class ID type.
virtual StatusCode finalize()
IdDictManager is the interface to identifier dictionaries.
static const CLID & classID()
virtual long int repSvcType() const
This class provides an interface to generate or decode an identifier for the upper levels of the dete...