16#ifndef D3PDMAKERUTILS_SGGETTERIMPL_H
17#define D3PDMAKERUTILS_SGGETTERIMPL_H
23#include "GaudiKernel/IClassIDSvc.h"
24#include "GaudiKernel/ServiceHandle.h"
65 virtual const std::type_info&
typeinfo()
const;
82 virtual const void*
getUntyped (
bool allowMissing =
false);
90#define SGGETTERIMPL_PROPS \
92 this->declareProperty ("TypeName", this->m_typename, \
93 "Name of the type of the object being retrieved");\
94 this->declareProperty ("SGKey", this->m_sgkey, \
95 "StoreGate key of the object being retrieved. " \
96 "This may be a comma or space-separated list; " \
97 "the first existing key will be used."); \
98 this->declareProperty ("ClassIDSvc", this->m_clidsvc, \
99 "ClassIDSvc instance to use."); \
uint32_t CLID
The Class ID type.
Helper to resolve the SG key to use.
std::string m_typename
Property: Name of the type of the object being retrieved.
SGKeyResolver m_resolver
Helper: Resolve the SG key to use.
SGGetterImpl(const std::string &name, ServiceHandle< StoreGateSvc > &sg)
Constructor.
StatusCode initializeImpl()
Initialize this mixin class.
CLID m_clid
CLID for the object being retrieved.
virtual const void * getUntyped(bool allowMissing=false)
Return the target object.
ServiceHandle< StoreGateSvc > & m_sg
The event storage service.
ServiceHandle< IClassIDSvc > m_clidsvc
Property: Instance of the ClassIDSvc to use.
CLID clid() const
Return the class ID being read by this tool.
virtual const std::type_info & typeinfo() const
Return the type of object retrieved by this tool.
std::string m_sgkey
Property: StoreGate key of the object being retrieved.
Helper to resolve the SG key to use.
Block filler tool for noisy FEB information.