Go to the documentation of this file.
23 #define GAUDISVC_EVENTSELECTOR_EVENTSELECTORDATASTREAM_CPP 1
46 : m_name{
std::move( nam ) }, m_definition{
std::move( def ) }, m_pSvcLocator( svcloc ) {}
74 std::cout <<
"ERROR: Unable to localize interface IDataManagerSvc from service EventDataSvc" <<
std::endl;
77 cnt = eds->rootName();
85 switch ( ::
toupper( attrib.tag[0] ) ) {
94 hash = attrib.value.
find(
'#' );
96 cnt = attrib.value.
substr( 0, hash );
97 item = attrib.value.
substr( hash + 1 );
108 switch ( ::
toupper( attrib.tag[1] ) ) {
126 switch ( ::
toupper( attrib.tag[1] ) ) {
135 switch ( ::
toupper( attrib.tag[1] ) ) {
155 }
else if ( dbtyp.
compare( 0, 4,
"POOL" ) == 0 ) {
157 }
else if ( svc.
empty() ) {
167 status = ipers->getService( dbtyp, icnvSvc );
170 if ( isvc ) svc = isvc->name();
std::string m_definition
Definition string.
void toupper(std::string &s)
const std::string & definition() const
Retrieve definition string.
std::string m_selectorType
Event selector type.
ISvcLocator * m_pSvcLocator
Reference to service locator.
Gaudi::Property< std::string > * property(const std::string &nam)
Allow access to individual properties by name.
MsgStream & operator<<(MsgStream &s, const EventSelectorDataStream &obj)
Output friend for MsgStream.
virtual void setSelector(IEvtSelector *pSelector)
Attach event selector object.
StatusCode service(const Gaudi::Utils::TypeNameString &name, T *&svc, bool createIf=true)
Templated method to access a service by name.
Properties m_properties
Properties vector.
virtual StatusCode finalize()
Finalize stream and release resources.
std::string m_criteria
Criteria.
T emplace_back(T... args)
constexpr static const auto SUCCESS
const std::string & name() const
Retrieve stream name.
EventSelectorDataStream(std::string nam, std::string def, ISvcLocator *svcloc)
Standard Constructor.
std::string m_dbName
String with name of the db as parsed.
Definition of class EventSelectorDataStream.
SmartIF< IEvtSelector > m_pSelector
Pointer to valid selector.
constexpr static const auto FAILURE
Parse attribute strings allowing iteration over the various attributes.
bool m_initialized
Initialization state.
virtual StatusCode initialize()
Parse input criteria.