![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
15 #include "GaudiKernel/MsgStream.h"
38 MsgStream
log(
msgSvc(),
"PixelIDDetDescrCnv");
42 log << MSG::ERROR <<
"DetDescrConverter::initialize failed" <<
endmsg;
61 return StatusCode::SUCCESS;
69 MsgStream
log(
msgSvc(),
"PixelIDDetDescrCnv");
72 return StatusCode::SUCCESS;
81 MsgStream
log(
msgSvc(),
"PixelIDDetDescrCnv");
82 log << MSG::INFO <<
"in createObj: creating a PixelID helper object in the detector store" <<
endmsg;
90 return StatusCode::FAILURE;
94 std::string helperKey = *( ddAddr->par() );
95 if (
"" == helperKey) {
107 return StatusCode::FAILURE;
115 return StatusCode::FAILURE;
124 bool initHelper =
false;
129 std::string inDetIDTag =
mgr->tag();
132 bool doChecks =
mgr->do_checks();
137 <<
"unable to find idDict for InnerDetector"
139 return StatusCode::FAILURE;
143 std::string inDetIDFileName = dict->
file_name();
146 std::string inDetIdDictTag = dict->
dict_tag();
163 << inDetIDFileName <<
endmsg;
190 log << MSG::ERROR <<
"Unable to initialize PixelID" <<
endmsg;
191 return StatusCode::FAILURE;
203 return StatusCode::SUCCESS;
bool m_doChecks
Whether or not.
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
std::string m_inDetIdDictTag
Tag of RDB record for InDet ids.
std::string m_inDetIDFileName
File to be read for InDet ids.
virtual StatusCode finalize()
virtual void setMessageSvc(IMessageSvc *msgSvc) override
const long DetDescr_StorageType
std::vector< Identifier > ID
virtual long int repSvcType() const
DataObject * asStorable(T *pObject)
std::string m_inDetIDTag
Internal InDet id tag.
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
PixelID * m_pixelId
The helper - only will create it once.
virtual StatusCode initialize()
static const CLID & ID()
the CLID of T
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.
std::string dict_tag(void) const
Access to the dictionary tag.
int initializeHelper(IdHelper &helper) const
Return value: 0 OK, >0 error.
uint32_t CLID
The Class ID type.
IdDictManager is the interface to identifier dictionaries.
std::string file_name(void) const
Access to file name.
const IdDictMgr * manager(void) const
static long storageType()
PixelIDDetDescrCnv(ISvcLocator *svcloc)
static const CLID & classID()