|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #include "GaudiKernel/MsgStream.h"
41 MsgStream
log(
msgSvc(),
"PLR_IDDetDescrCnv");
45 log << MSG::ERROR <<
"DetDescrConverter::initialize failed" <<
endmsg;
49 return StatusCode::SUCCESS;
57 MsgStream
log(
msgSvc(),
"PLR_IDDetDescrCnv");
58 log << MSG::INFO <<
"in createObj: creating a PLR_ID helper object in the detector store" <<
endmsg;
65 return StatusCode::FAILURE;
69 std::string helperKey = *( ddAddr->par() );
70 if (
"" == helperKey) {
81 return StatusCode::FAILURE;
89 return StatusCode::FAILURE;
102 std::string inDetIDTag =
mgr->tag();
105 bool doChecks =
mgr->do_checks();
109 log << MSG::ERROR <<
"unable to find idDict for InnerDetector" <<
endmsg;
110 return StatusCode::FAILURE;
114 std::string inDetIDFileName = dict->
file_name();
117 std::string inDetIdDictTag = dict->
dict_tag();
131 << inDetIDFileName <<
endmsg;
157 log << MSG::ERROR <<
"Unable to initialize PLR_ID" <<
endmsg;
158 return StatusCode::FAILURE;
170 return StatusCode::SUCCESS;
PLR_ID * m_plrId
The helper - only will create it once.
virtual void setMessageSvc(IMessageSvc *msgSvc) override
const long DetDescr_StorageType
std::vector< Identifier > ID
This is an Identifier helper class for the PLR subdetector. This class inherits from PicelID.
This is an Identifier helper class for the PLR subdetector. This class inherits from PixelID.
DataObject * asStorable(T *pObject)
std::string m_inDetIDFileName
File to be read for InDet ids.
static long storageType()
static const CLID & ID()
the CLID of T
virtual StatusCode initialize() override
PLR_IDDetDescrCnv(ISvcLocator *svcloc)
The Athena Transient Store API.
msgSvc
Provide convenience handles for various services.
static const CLID & classID()
::StatusCode StatusCode
StatusCode definition for legacy code.
Default, invalid implementation of ClassID_traits.
std::string m_inDetIDTag
Internal InDet id tag.
virtual long int repSvcType() const override
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.
std::string m_inDetIdDictTag
Tag of RDB record for InDet ids.
const IdDictMgr * manager(void) const
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override
bool m_doChecks
Whether or not.