|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #include "GaudiKernel/MsgStream.h"
40 MsgStream
log(
msgSvc(),
"SiliconIDDetDescrCnv");
44 log << MSG::ERROR <<
"DetDescrConverter::initialize failed" <<
endmsg;
63 return StatusCode::SUCCESS;
71 MsgStream
log(
msgSvc(),
"SiliconIDDetDescrCnv");
74 return StatusCode::SUCCESS;
83 MsgStream
log(
msgSvc(),
"SiliconIDDetDescrCnv");
84 log << MSG::INFO <<
"in createObj: creating a SiliconID helper object in the detector store" <<
endmsg;
92 return StatusCode::FAILURE;
96 std::string helperKey = *( ddAddr->par() );
97 if (
"" == helperKey) {
110 return StatusCode::FAILURE;
118 return StatusCode::FAILURE;
125 const PixelID* pixelID =
nullptr;
129 return StatusCode::FAILURE;
135 const SCT_ID* sctID =
nullptr;
139 return StatusCode::FAILURE;
153 log << MSG::ERROR <<
"Unable to initialize SiliconID" <<
endmsg;
154 return StatusCode::FAILURE;
163 return StatusCode::SUCCESS;
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
virtual void setMessageSvc(IMessageSvc *msgSvc) override
const long DetDescr_StorageType
std::vector< Identifier > ID
DataObject * asStorable(T *pObject)
SiliconID * m_siliconId
The helper - only will create it once.
static const CLID & ID()
the CLID of T
virtual StatusCode initialize()
The Athena Transient Store API.
msgSvc
Provide convenience handles for various services.
::StatusCode StatusCode
StatusCode definition for legacy code.
Default, invalid implementation of ClassID_traits.
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
This is an Identifier helper class for both the Pixel and SCT subdetectors. This class defines identi...
int initializeHelper(IdHelper &helper) const
Return value: 0 OK, >0 error.
uint32_t CLID
The Class ID type.
static const CLID & classID()
IdDictManager is the interface to identifier dictionaries.
This is an Identifier helper class for both the Pixel and SCT subdetectors. This class defines identi...
static long storageType()
SiliconIDDetDescrCnv(ISvcLocator *svcloc)
virtual long int repSvcType() const
virtual StatusCode finalize()