|
ATLAS Offline Software
|
Go to the documentation of this file.
21 #include "GaudiKernel/IClassIDSvc.h"
22 #include "GaudiKernel/MsgStream.h"
37 std::string type_name;
38 SmartIF<IClassIDSvc> clidsvc{ service (
"ClassIDSvc") };
39 CHECK( clidsvc.isValid() );
40 CHECK( clidsvc->getTypeNameOfID (objType(), type_name) );
45 std::string helperKey = *( ddAddr->par() );
46 if (helperKey.empty()) {
65 return StatusCode::FAILURE;
71 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
virtual StatusCode createHelper(const std::string &helperKey, IdHelper *&idhelper, DataObject *&pObj)=0
Create the helper object.
CaloIDHelper_IDDetDescrCnv(const CLID &clid, ISvcLocator *svcloc)
Constructor.
const ServiceHandle< StoreGateSvc > & detStore() const
Handle to DetectorStore.
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Called by the converter infrastructure to create an object.
msgSvc
Provide convenience handles for various services.
This is an abstract base class for helper classes that know how to convert Identifier <-> IdentifierH...
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
::StatusCode StatusCode
StatusCode definition for legacy code.
#define CHECK(...)
Evaluate an expression and check for errors.
int initializeHelper(IdHelper &helper) const
Return value: 0 OK, >0 error.
uint32_t CLID
The Class ID type.
virtual void setMessageSvc(IMessageSvc *msgSvc)=0
IdDictManager is the interface to identifier dictionaries.
Helpers for checking error return status codes and reporting errors.
Common code for creating calo ID helpers in the detector store.
static long storageType()
Storage type for all DetDescrConverters.
virtual long int repSvcType() const
Return the service type.