|
ATLAS Offline Software
|
Go to the documentation of this file.
28 : m_clidsvc (
"ClassIDSvc",
name),
29 m_resolver (
name, sg, m_sgkey),
41 const std::type_info* ti = 0;
113 return StatusCode::SUCCESS;
virtual const std::type_info & typeinfo() const
Return the type of object retrieved by this tool.
StatusCode initialize(CLID clid, const std::string &typname)
Initialize.
Block filler tool for noisy FEB information.
CLID clid() const
Return the class ID being read by this tool.
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode nameToCLID(const std::string &name, CLID &clid, const std::string &context, ServiceHandle< IClassIDSvc > clidsvc=ServiceHandle< IClassIDSvc >("ClassIDSvc", "TypeNameConversions"))
Convert from a class name to a CLID.
#define CHECK(...)
Evaluate an expression and check for errors.
SGGetterImpl(const std::string &name, ServiceHandle< StoreGateSvc > &sg)
Constructor.
StatusCode clidToTypeinfo(CLID clid, const std::string &nmae, std::type_info const *&ti, const std::string &context)
Convert from a CLID to a type_info; we also already know the name.
uint32_t CLID
The Class ID type.
CLID m_clid
CLID for the object being retrieved.
DATA * DataProxy_cast(DataProxy *proxy)
cast the proxy into the concrete data object it proxies
std::string key()
Return the SG key we should use.
Helpers for checking error return status codes and reporting errors.
#define REPORT_MESSAGE(LVL)
Report a message.
std::string m_typename
Property: Name of the type of the object being retrieved.
SGKeyResolver m_resolver
Helper: Resolve the SG key to use.
ServiceHandle< IClassIDSvc > m_clidsvc
Property: Instance of the ClassIDSvc to use.
Interface for const operations on an auxiliary store.
Interface for const operations on an auxiliary store.
ServiceHandle< StoreGateSvc > & m_sg
The event storage service.
Common object getter code for retrieving from StoreGate.
Utility functions for converting between type names, type_info, and CLIDs.
virtual const void * getUntyped(bool allowMissing=false)
Return the target object.
StatusCode initializeImpl()
Initialize this mixin class.