 |
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 bool initHelper =
false;
53 std::string inDetIDTag =
mgr->tag();
56 bool doChecks =
mgr->do_checks();
61 return StatusCode::FAILURE;
65 std::string inDetIDFileName = dict->
file_name();
67 std::string inDetIdDictTag = dict->
dict_tag();
75 ATH_MSG_DEBUG(
" Changed internal InDet id tag: " << inDetIDTag );
80 ATH_MSG_DEBUG(
" Changed InDetFileName:" << inDetIDFileName );
85 ATH_MSG_DEBUG(
" Changed InDetIdDictTag: " << inDetIdDictTag );
95 m_hgtdId = std::make_unique<HGTD_ID>();
100 m_hgtdId->set_useNewIdentifierScheme(
true);
107 return StatusCode::FAILURE;
119 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
const std::string & dict_tag(void) const
Access to the dictionary tag.
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()
static const CLID & classID()
const ServiceHandle< StoreGateSvc > & detStore() const
Handle to DetectorStore.
virtual StatusCode initialize() override final
DataObject * asStorable(SG::DataObjectSharedPtr< T > pObject)
msgSvc
Provide convenience handles for various services.
::StatusCode StatusCode
StatusCode definition for legacy code.
Default, invalid implementation of ClassID_traits.
int initializeHelper(IdHelper &helper) const
Return value: 0 OK, >0 error.
uint32_t CLID
The Class ID type.
const std::string & file_name(void) const
Access to file name.
virtual long int repSvcType() const override final
IdDictManager is the interface to identifier dictionaries.
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.