2 #include "GaudiKernel/AlgTool.h"
3 #include "GaudiKernel/IDataStoreLeaves.h"
4 #include "GaudiKernel/IIncidentListener.h"
5 #include "GaudiKernel/SmartIF.h"
30 const std::string&
name,
46 const LeavesList &
leaves()
const override;
92 #include "GaudiKernel/IIncidentSvc.h"
93 #include "GaudiKernel/IDataManagerSvc.h"
94 #include "GaudiKernel/IDataProviderSvc.h"
95 #include "GaudiKernel/IRegistry.h"
96 #include "GaudiKernel/IOpaqueAddress.h"
97 #include "GaudiKernel/DataObject.h"
98 #include "GaudiKernel/DataStoreItem.h"
100 #include "GaudiKernel/GaudiException.h"
103 const std::string&
name,
107 declareProperty(
"DataService",
m_dataSvcName =
"EventDataSvc",
108 "Name of the data service to use");
111 "Path to the element from which to start the scan");
114 "If the scan has to be started during the BeginEvent incident (true) or on demand (false, default)");
117 "Disable the detection of the change in the origin of object between the BeginEvent and the scan");
213 const std::string& base = addr->
par()[0];
218 +
"'), probably OutputStream was called before "
219 "InputCopyStream: check options",
222 std::vector<IRegistry*> lfs;
225 for(
const auto&
i : lfs) {
227 if (
i->address() &&
i->address()->par()[0] == base ) {
virtual const std::string * par() const =0
Retrieve String parameters.
Definition of the MsgStream class used to transmit messages.
Define general base for Gaudi exception.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
const std::string & type() const
Access to the incident type.
bool isSuccess() const
Test for a status code of SUCCESS.
std::vector< DataObject * > LeavesList
Returned type.
Data provider interface definition.
bool isFailure() const
Test for a status code of FAILURE.
IRegistry * registry() const
Get pointer to Registry.
This class is used for returning status codes from appropriate routines.
#define DECLARE_COMPONENT(type)
Definition of the basic interface.
The IRegistry represents the entry door to the environment any data object residing in a transient da...
virtual const std::string & rootName() const =0
Get Name of root Event.
virtual IOpaqueAddress * address() const =0
Retrieve opaque storage address.
virtual DataObject * object() const =0
Retrieve object behind the link.
virtual StatusCode objectLeaves(const DataObject *pObject, std::vector< IRegistry * > &refLeaves)=0
Explore the object store: retrieve all leaves attached to the object The object is identified by its ...
Base class used to extend a class implementing other interfaces.
Base class for all Incidents (computing events).
virtual void addListener(IIncidentListener *lis, const std::string &type="", long priority=0, bool rethrow=false, bool singleShot=false)=0
Add listener.
virtual const id_type & identifier() const =0
Full identifier (or key)
void reset(TYPE *ptr=nullptr)
Set the internal pointer to the passed one disposing of the old one.
virtual void removeListener(IIncidentListener *lis, const std::string &type="")=0
Remove listener.
Opaque address interface definition.
A DataObject is the base class of any identifiable object on any data store.
The interface implemented by the IncidentSvc service.
virtual StatusCode retrieveObject(IRegistry *pDirectory, const std::string &path, DataObject *&pObject)=0
Retrieve object identified by its directory entry.