![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
32 return StatusCode::SUCCESS;
40 ATH_MSG_INFO(
"in createObj: creating a HGTD_ID helper object in the detector store" );
48 return StatusCode::FAILURE;
52 std::string helperKey = *( ddAddr->par() );
53 if (
"" == helperKey) {
65 return StatusCode::FAILURE;
73 return StatusCode::FAILURE;
82 bool initHelper =
false;
87 std::string inDetIDTag =
mgr->tag();
90 bool doChecks =
mgr->do_checks();
95 return StatusCode::FAILURE;
99 std::string inDetIDFileName = dict->
file_name();
101 std::string inDetIdDictTag = dict->
dict_tag();
109 ATH_MSG_DEBUG(
" Changed internal InDet id tag: " << inDetIDTag );
114 ATH_MSG_DEBUG(
" Changed InDetFileName:" << inDetIDFileName );
119 ATH_MSG_DEBUG(
" Changed InDetIdDictTag: " << inDetIdDictTag );
129 m_hgtdId = std::make_unique<HGTD_ID>();
134 m_hgtdId->set_useNewIdentifierScheme(
true);
141 return StatusCode::FAILURE;
153 return StatusCode::SUCCESS;
175 AthMessaging(svcloc->service< IMessageSvc >(
"MessageSvc" ),
"HGTD_IDDetDescrCnv"),
std::string m_inDetIDTag
Internal InDet id tag.
const long DetDescr_StorageType
std::vector< Identifier > ID
std::string m_inDetIdDictTag
Tag of RDB record for InDet ids.
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override final
static long storageType()
DataObject * asStorable(T *pObject)
static const CLID & classID()
virtual StatusCode initialize() override final
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.
Class to provide easy MsgStream access and capabilities.
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.
virtual long int repSvcType() const override final
IdDictManager is the interface to identifier dictionaries.
std::string file_name(void) const
Access to file name.
std::unique_ptr< HGTD_ID > m_hgtdId
The helper - only will create it once.
const IdDictMgr * manager(void) const
std::string m_inDetIDFileName
File to be read for InDet ids.
HGTD_IDDetDescrCnv(ISvcLocator *svcloc)
bool m_doChecks
Whether or not.