14#include "GaudiKernel/MsgStream.h"
41 ATH_CHECK( DetDescrConverter::initialize() );
42 return StatusCode::SUCCESS;
61 const std::string & inDetIDTag = mgr->tag();
64 bool doChecks = mgr->do_checks();
69 return StatusCode::FAILURE;
73 const std::string & inDetIDFileName = dict->file_name();
76 const std::string & inDetIdDictTag = dict->dict_tag();
83 ATH_MSG_DEBUG(
" Changed internal InDet id tag: " << inDetIDTag);
119 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
std::vector< Identifier > ID
const long DetDescr_StorageType
uint32_t CLID
The Class ID type.
DetDescrConverter(const CLID &myCLID, ISvcLocator *svcloc, const char *name=nullptr)
const ServiceHandle< StoreGateSvc > & detStore() const
Handle to DetectorStore.
IdDictManager is the interface to identifier dictionaries.
const IdDictMgr * manager(void) const
int initializeHelper(IdHelper &helper) const
Return value: 0 OK, >0 error.
PLR_ID * m_plrId
The helper - only will create it once.
static const CLID & classID()
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override
virtual long int repSvcType() const override
std::string m_inDetIDTag
Internal InDet id tag.
static long storageType()
std::string m_inDetIdDictTag
Tag of RDB record for InDet ids.
PLR_IDDetDescrCnv(ISvcLocator *svcloc)
bool m_doChecks
Whether or not.
std::string m_inDetIDFileName
File to be read for InDet ids.
virtual StatusCode initialize() override
This is a Identifier helper class for the PLR subdetector.
DataObject * asStorable(SG::DataObjectSharedPtr< T > pObject)
Default, invalid implementation of ClassID_traits.