The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
HiveDataBrokerSvc Class Referencefinal
Inheritance diagram for HiveDataBrokerSvc:
Collaboration diagram for HiveDataBrokerSvc:

Public Member Functions

std::vector< Gaudi::Algorithm * > algorithmsRequiredFor (const DataObjIDColl &requested, const std::vector< std::string > &stoppers={}) const override
 
std::vector< Gaudi::Algorithm * > algorithmsRequiredFor (const Gaudi::Utils::TypeNameString &alg, const std::vector< std::string > &stoppers={}) const override
 
StatusCode initialize () override
 
StatusCode start () override
 
StatusCode stop () override
 
StatusCode finalize () override
 
- Public Member Functions inherited from extends< Service, IDataBroker >
void const * i_cast (const InterfaceID &tid) const override
 Implementation of IInterface::i_cast.
 
StatusCode queryInterface (const InterfaceID &ti, void **pp) override
 Implementation of IInterface::queryInterface.
 
std::vector< std::string > getInterfaceNames () const override
 Implementation of IInterface::getInterfaceNames.
 
- Public Member Functions inherited from Service
const std::string & name () const override
 Retrieve name of the service.
 
StatusCode configure () override
 
StatusCode initialize () override
 
StatusCode start () override
 
StatusCode stop () override
 
StatusCode finalize () override
 
StatusCode terminate () override
 
Gaudi::StateMachine::State FSMState () const override
 
Gaudi::StateMachine::State targetFSMState () const override
 
StatusCode reinitialize () override
 
StatusCode restart () override
 
StatusCode sysInitialize () override
 Initialize Service.
 
StatusCode sysStart () override
 Initialize Service.
 
StatusCode sysStop () override
 Initialize Service.
 
StatusCode sysFinalize () override
 Finalize Service.
 
StatusCode sysReinitialize () override
 Re-initialize the Service.
 
StatusCode sysRestart () override
 Re-initialize the Service.
 
 Service (std::string name, ISvcLocator *svcloc)
 Standard Constructor.
 
SmartIF< ISvcLocator > & serviceLocator () const override
 Retrieve pointer to service locator.
 
template<typename IFace = IService>
SmartIF< IFace > service (const std::string &name, bool createIf=true) const
 
template<class T>
Gaudi::Details::PropertyBasedeclareProperty (const std::string &name, ToolHandle< T > &hndl, const std::string &doc="none")
 
template<class T>
StatusCode declareTool (ToolHandle< T > &handle, bool createIf=true)
 
template<class T>
StatusCode declareTool (ToolHandle< T > &handle, const std::string &toolTypeAndName, bool createIf=true)
 Declare used tool.
 
template<class T>
Gaudi::Details::PropertyBasedeclareProperty (const std::string &name, ToolHandleArray< T > &hndlArr, const std::string &doc="none")
 
template<class T>
void addToolsArray (ToolHandleArray< T > &hndlArr)
 
const std::vector< IAlgTool * > & tools () const
 
SmartIF< IAuditorSvc > & auditorSvc () const
 The standard auditor service.May not be invoked before sysInitialize() has been invoked.
 
- Public Member Functions inherited from PropertyHolder< CommonMessaging< implements< IService, IProperty, IStateful > > >
StatusCode setProperty (const Gaudi::Details::PropertyBase &p)
 Set the property from a property.
 
StatusCode setProperty (const std::string &name, const char *v)
 Special case for string literals.
 
StatusCode setProperty (const std::string &name, const std::string &v)
 Special case for std::string.
 
StatusCode setProperty (const std::string &name, const TYPE &value)
 set the property form the value
 
 PropertyHolder ()=default
 
Gaudi::Details::PropertyBasedeclareProperty (Gaudi::Details::PropertyBase &prop)
 Declare a property.
 
Gaudi::Details::PropertyBasedeclareProperty (const std::string &name, TYPE &value, const std::string &doc="none")
 Helper to wrap a regular data member and use it as a regular property.
 
Gaudi::Details::PropertyBasedeclareProperty (const std::string &name, Gaudi::Property< TYPE, VERIFIER, HANDLERS > &prop, const std::string &doc="none")
 Declare a PropertyBase instance setting name and documentation.
 
Gaudi::Details::PropertyBasedeclareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="")
 Declare a remote property.
 
StatusCode setProperty (const std::string &name, const Gaudi::Details::PropertyBase &p) override
 set the property from another property with a different name
 
StatusCode setProperty (const std::string &s) override
 set the property from the formatted string
 
StatusCode setProperty (const Gaudi::Details::PropertyBase &p)
 Set the property from a property.
 
StatusCode setProperty (const std::string &name, const char *v)
 Special case for string literals.
 
StatusCode setProperty (const std::string &name, const std::string &v)
 Special case for std::string.
 
StatusCode setProperty (const std::string &name, const TYPE &value)
 set the property form the value
 
StatusCode setPropertyRepr (const std::string &n, const std::string &r) override
 set the property from name and value string representation
 
StatusCode getProperty (Gaudi::Details::PropertyBase *p) const override
 get the property
 
const Gaudi::Details::PropertyBasegetProperty (std::string_view name) const override
 get the property by name
 
StatusCode getProperty (std::string_view n, std::string &v) const override
 convert the property to the string
 
const std::vector< Gaudi::Details::PropertyBase * > & getProperties () const override
 get all properties
 
bool hasProperty (std::string_view name) const override
 Return true if we have a property with the given name.
 
Gaudi::Details::PropertyBaseproperty (std::string_view name) const
 \fixme property and bindPropertiesTo should be protected
 
void bindPropertiesTo (Gaudi::Interfaces::IOptionsSvc &optsSvc)
 
 PropertyHolder (const PropertyHolder &)=delete
 
PropertyHolderoperator= (const PropertyHolder &)=delete
 
- Public Member Functions inherited from CommonMessaging< implements< IService, IProperty, IStateful > >
MSG::Level msgLevel () const
 get the cached level (originally extracted from the embedded MsgStream)
 
bool msgLevel (MSG::Level lvl) const
 get the output level from the embedded MsgStream
 
- Public Member Functions inherited from CommonMessagingBase
virtual ~CommonMessagingBase ()=default
 Virtual destructor.
 
const SmartIF< IMessageSvc > & msgSvc () const
 The standard message service.
 
MsgStreammsgStream () const
 Return an uninitialized MsgStream.
 
MsgStreammsgStream (const MSG::Level level) const
 Predefined configurable message stream for the efficient printouts.
 
MsgStreamalways () const
 shortcut for the method msgStream(MSG::ALWAYS)
 
MsgStreamfatal () const
 shortcut for the method msgStream(MSG::FATAL)
 
MsgStreamerr () const
 shortcut for the method msgStream(MSG::ERROR)
 
MsgStreamerror () const
 shortcut for the method msgStream(MSG::ERROR)
 
MsgStreamwarning () const
 shortcut for the method msgStream(MSG::WARNING)
 
MsgStreaminfo () const
 shortcut for the method msgStream(MSG::INFO)
 
MsgStreamdebug () const
 shortcut for the method msgStream(MSG::DEBUG)
 
MsgStreamverbose () const
 shortcut for the method msgStream(MSG::VERBOSE)
 
MsgStreammsg () const
 shortcut for the method msgStream(MSG::INFO)
 

Private Member Functions

std::map< std::string, AlgEntry > instantiateAndInitializeAlgorithms (const std::vector< std::string > &names) const
 
std::map< DataObjID, AlgEntry const * > mapProducers (std::map< std::string, AlgEntry > &algorithms) const
 
void visit (AlgEntry const &alg, std::vector< std::string > const &stoppers, std::vector< Gaudi::Algorithm * > &sorted, std::vector< bool > &visited, std::vector< bool > &visiting) const
 Implements DFS topological sorting.
 

Private Attributes

Gaudi::Property< std::string > m_dataLoader
 
Gaudi::Property< std::vector< std::string > > m_producers
 
Gaudi::Property< std::string > m_dataDepsGraphFile
 
std::map< std::string, AlgEntry > m_algorithms
 
std::map< DataObjID, AlgEntry const * > m_dependencies
 

Additional Inherited Members

- Public Types inherited from extends< Service, IDataBroker >
using base_class
 Typedef to this class.
 
using extend_interfaces_base
 Typedef to the base of this class.
 
- Public Types inherited from Service
using Factory = Gaudi::PluginService::Factory<IService*( const std::string&, ISvcLocator* )>
 
- Public Types inherited from PropertyHolder< CommonMessaging< implements< IService, IProperty, IStateful > > >
using PropertyHolderImpl
 Typedef used to refer to this class from derived classes, as in.
 
- Public Types inherited from CommonMessaging< implements< IService, IProperty, IStateful > >
using base_class
 
- Public Types inherited from extend_interfaces< Interfaces... >
using ext_iids
 take union of the ext_iids of all Interfaces...
 
- Protected Member Functions inherited from Service
std::vector< IAlgTool * > & tools ()
 
 ~Service () override
 
int outputLevel () const
 get the Service's output level
 
- Protected Member Functions inherited from CommonMessaging< implements< IService, IProperty, IStateful > >
MSG::Level setUpMessaging () const
 Set up local caches.
 
MSG::Level resetMessaging ()
 Reinitialize internal states.
 
void updateMsgStreamOutputLevel (int level)
 Update the output level of the cached MsgStream.
 
- Protected Attributes inherited from Service
Gaudi::StateMachine::State m_state = Gaudi::StateMachine::OFFLINE
 Service state.
 
Gaudi::StateMachine::State m_targetState = Gaudi::StateMachine::OFFLINE
 Service state.
 
Gaudi::Property< int > m_outputLevel { this, "OutputLevel", MSG::NIL, "output level" }
 flag indicating whether ToolHandle tools have been added to m_tools
 
Gaudi::Property< bool > m_auditorInitialize { this, "AuditInitialize", false, "trigger auditor on initialize()" }
 
Gaudi::Property< bool > m_auditorStart { this, "AuditStart", false, "trigger auditor on start()" }
 
Gaudi::Property< bool > m_auditorStop { this, "AuditStop", false, "trigger auditor on stop()" }
 
Gaudi::Property< bool > m_auditorFinalize { this, "AuditFinalize", false, "trigger auditor on finalize()" }
 
Gaudi::Property< bool > m_auditorReinitialize { this, "AuditReinitialize", false, "trigger auditor on reinitialize()" }
 
Gaudi::Property< bool > m_auditorRestart { this, "AuditRestart", false, "trigger auditor on restart()" }
 
Gaudi::Property< bool > m_autoRetrieveTools
 
Gaudi::Property< bool > m_checkToolDeps
 
SmartIF< IAuditorSvcm_pAuditorSvc
 Auditor Service.
 

Detailed Description

Definition at line 107 of file HiveDataBroker.cpp.

Member Function Documentation

◆ algorithmsRequiredFor() [1/2]

std::vector< Gaudi::Algorithm * > HiveDataBrokerSvc::algorithmsRequiredFor ( const DataObjIDColl & requested,
const std::vector< std::string > & stoppers = {} ) const
override

Definition at line 334 of file HiveDataBroker.cpp.

335 {
336 std::vector<Gaudi::Algorithm*> result;
337
338 std::vector<const AlgEntry*> deps;
339 deps.reserve( requested.size() );
340
341 // start with seeding from the initial request
342 for ( const auto& id : requested ) {
343 auto i = m_dependencies.find( id );
344 if ( i == m_dependencies.end() )
345 throw GaudiException( "unknown requested input: " + id.key(), __func__, StatusCode::FAILURE );
346 deps.push_back( i->second );
347 }
348 // producers may be responsible for multiple requested DataObjID -- make sure they are only mentioned once
349 std::sort( deps.begin(), deps.end(), []( auto const* lhs, auto const* rhs ) { return *lhs < *rhs; } );
350 deps.erase( std::unique( deps.begin(), deps.end(), []( auto const& lhs, auto const& rhs ) { return *lhs == *rhs; } ),
351 deps.end() );
352
353 std::vector<bool> visited( m_algorithms.size() );
354 std::vector<bool> visiting( m_algorithms.size() );
355 for ( auto* alg : deps ) { visit( *alg, stoppers, result, visited, visiting ); }
356 return result;
357}
std::map< std::string, AlgEntry > m_algorithms
void visit(AlgEntry const &alg, std::vector< std::string > const &stoppers, std::vector< Gaudi::Algorithm * > &sorted, std::vector< bool > &visited, std::vector< bool > &visiting) const
Implements DFS topological sorting.
std::map< DataObjID, AlgEntry const * > m_dependencies
constexpr static const auto FAILURE
Definition StatusCode.h:100

◆ algorithmsRequiredFor() [2/2]

std::vector< Gaudi::Algorithm * > HiveDataBrokerSvc::algorithmsRequiredFor ( const Gaudi::Utils::TypeNameString & alg,
const std::vector< std::string > & stoppers = {} ) const
override

Definition at line 360 of file HiveDataBroker.cpp.

361 {
362 std::vector<Gaudi::Algorithm*> result;
363
364 auto it = m_algorithms.find( requested.name() );
365 if ( it == end( m_algorithms ) ) {
366 throw GaudiException{ "No algorithm with name " + requested.name() + " in DataProducers. Type is " +
367 ( requested.haveType() ? requested.type() : "not specified" ),
368 __func__, StatusCode::FAILURE };
369 }
370 auto const& alg = it->second;
371 if ( requested.haveType() && alg.alg->type() != requested.type() ) {
372 error() << "requested " << requested << " but have matching name with different type: " << alg.alg->type()
373 << endmsg;
374 }
375 assert( alg.alg != nullptr );
376
377 std::vector<bool> visited( m_algorithms.size() );
378 std::vector<bool> visiting( m_algorithms.size() );
379 visit( alg, stoppers, result, visited, visiting );
380
381 if ( msgLevel( MSG::DEBUG ) ) {
382 debug() << std::endl << "requested " << requested << " returning " << std::endl << " ";
384 debug(), result, ",\n ",
385 []( auto& os, const Gaudi::Algorithm* a ) -> decltype( auto ) { return os << AlgorithmRepr{ *a }; } );
386 debug() << std::endl << endmsg;
387 }
388 return result;
389}
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition MsgStream.h:198
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
MsgStream & debug() const
shortcut for the method msgStream(MSG::DEBUG)
Stream & ostream_joiner(Stream &os, Iterator first, Iterator last, Separator sep, OutputElement output=OutputElement{})
@ DEBUG
Definition IMessageSvc.h:22

◆ finalize()

StatusCode HiveDataBrokerSvc::finalize ( )
override

Definition at line 212 of file HiveDataBroker.cpp.

212 {
213 for ( auto& [name, algEntry] : m_algorithms ) {
214 algEntry.alg->sysFinalize().ignore( /* AUTOMATICALLY ADDED FOR gaudi/Gaudi!763 */ );
215 }
216 m_algorithms.clear();
217 return Service::finalize();
218}
StatusCode finalize() override
Definition Service.cpp:223
const std::string & name() const override
Retrieve name of the service.
Definition Service.cpp:333

◆ initialize()

StatusCode HiveDataBrokerSvc::initialize ( )
override

Definition at line 151 of file HiveDataBroker.cpp.

151 {
152 return Service::initialize().andThen( [&] {
153 // populate m_algorithms
155
156 // warn about non-reentrant algorithms
157 std::ranges::for_each( m_algorithms | std::ranges::views::transform( []( const auto& entry ) -> decltype( auto ) {
158 return entry.second.alg;
159 } ) |
160 std::ranges::views::filter( []( const auto* alg ) { return alg->cardinality() > 0; } ),
161 [&]( const Gaudi::Algorithm* alg ) {
162 this->warning() << "non-reentrant algorithm: " << AlgorithmRepr{ *alg } << endmsg;
163 } );
164 //== Print the list of the created algorithms
165 if ( msgLevel( MSG::DEBUG ) ) {
166 debug() << "Available DataProducers:\n";
167 std::ranges::for_each( m_algorithms | std::ranges::views::transform( []( const auto& entry ) -> decltype( auto ) {
168 return entry.second.alg;
169 } ),
170 [&]( const Gaudi::Algorithm* alg ) {
171 this->debug() << " " << AlgorithmRepr{ *alg } << " " << alg->outputDataObjs() << " "
172 << alg->extraOutputDeps() << endmsg;
173 } );
174 }
175
176 // populate m_dependencies and set AlgEntry::dependsOn
178 } );
179}
MsgStream & warning() const
shortcut for the method msgStream(MSG::WARNING)
std::map< std::string, AlgEntry > instantiateAndInitializeAlgorithms(const std::vector< std::string > &names) const
Gaudi::Property< std::vector< std::string > > m_producers
std::map< DataObjID, AlgEntry const * > mapProducers(std::map< std::string, AlgEntry > &algorithms) const
StatusCode initialize() override
Definition Service.cpp:118
StatusCode andThen(F &&f, ARGS &&... args) const
Chain code blocks making the execution conditional a success result.
Definition StatusCode.h:163

◆ instantiateAndInitializeAlgorithms()

std::map< std::string, AlgEntry > HiveDataBrokerSvc::instantiateAndInitializeAlgorithms ( const std::vector< std::string > & names) const
private

Definition at line 221 of file HiveDataBroker.cpp.

221 {
222 std::map<std::string, AlgEntry> algorithms;
223
224 //= Get the Application manager, to see if algorithm exist
225 auto appMgr = service<IAlgManager>( "ApplicationMgr" );
226 size_t index = 0;
227 for ( const std::string& item : names ) {
228 const Gaudi::Utils::TypeNameString tn( item );
229
230 //== Check wether the specified algorithm already exists. If not, create it
231 SmartIF<IAlgorithm> myIAlg = appMgr->algorithm( item, false ); // do not create it now
232 if ( !myIAlg ) {
233 myIAlg = createAlgorithm( *appMgr, tn.type(), tn.name() );
234 } else {
235 // when the algorithm is not created, the ref count is short by one, so we
236 // have to fix it.
237 myIAlg->addRef();
238 }
239
240 if ( !myIAlg ) {
241 throw GaudiException{ "Failed to create " + boost::lexical_cast<std::string>( item ), __func__,
243 }
244
245 // propagate the sub-algorithm into own state.
246 StatusCode sc = myIAlg->sysInitialize();
247 if ( sc.isFailure() ) {
248 throw GaudiException{ "Failed to initialize " + boost::lexical_cast<std::string>( item ), __func__,
250 }
251
252 algorithms.emplace( tn.name(), AlgEntry{ index++, std::move( myIAlg ) } );
253 }
254
255 return algorithms;
256}
SmartIF< IFace > service(const std::string &name, bool createIf=true) const
Definition Service.h:79
bool isFailure() const
Definition StatusCode.h:129
size_t index(const Gaudi::ParticleProperty *property, const Gaudi::Interfaces::IParticlePropertySvc *service)
helper utility for mapping of Gaudi::ParticleProperty object into non-negative integral sequential id...

◆ mapProducers()

std::map< DataObjID, AlgEntry const * > HiveDataBrokerSvc::mapProducers ( std::map< std::string, AlgEntry > & algorithms) const
private

Definition at line 259 of file HiveDataBroker.cpp.

259 {
260 if ( msgLevel( MSG::DEBUG ) ) {
261 debug() << "Data Dependencies for Algorithms:";
262 for ( const auto& [name, entry] : m_algorithms ) {
263 debug() << "\n " << name << " :";
264 for ( const auto* id : entry.inputs ) { debug() << "\n o INPUT " << id->key(); }
265 for ( const auto* id : entry.outputs ) { debug() << "\n o OUTPUT " << id->key(); }
266 }
267 debug() << endmsg;
268 }
269
270 // If requested, dump a graph of the data dependencies in a .dot or .md file
271 if ( !m_dataDepsGraphFile.empty() ) {
272 info() << "Dumping data dependencies graph to file: " << m_dataDepsGraphFile.value() << endmsg;
273 dumpGraphFile( m_dataDepsGraphFile, m_algorithms | std::views::values );
274 }
275
276 // figure out all outputs
277 std::map<DataObjID, const AlgEntry*> producers;
278 for ( auto& [name, alg] : algorithms ) {
279 for ( auto id : alg.outputs ) {
280 auto r = producers.emplace( *id, &alg );
281 if ( !r.second ) {
282 throw GaudiException( "multiple algorithms declare " + id->key() + " as output (" + name + " and " +
283 producers[*id]->alg->name() + " at least). This is not allowed",
284 __func__, StatusCode::FAILURE );
285 }
286 }
287 }
288
289 // resolve dependencies
290 for ( auto& [name, algEntry] : algorithms ) {
291 for ( const DataObjID* idp : algEntry.inputs ) {
292 DataObjID id = *idp;
293 auto iproducer = producers.find( id );
294 if ( iproducer != producers.end() ) {
295 algEntry.dependsOn.insert( iproducer->second );
296 } else {
297 std::ostringstream error_message;
298 error_message << "\nUnknown requested input by " << AlgorithmRepr{ *( algEntry.alg ) } << " : "
299 << std::quoted( id.key(), '\'' ) << ".\n";
300 error_message << "You can set the OutputLevel of HiveDataBrokerSvc to DEBUG to get a list of inputs and "
301 "outputs of every registered algorithm.\n";
302 throw GaudiException( error_message.str(), __func__, StatusCode::FAILURE );
303 // TODO: assign to dataloader!
304 // algEntry.dependsOn.insert(dataloader.alg);
305 // dataloader.data.emplace( id ); // TODO: we may ask to much of the
306 // dataloader this way...
307 }
308 }
309 }
310 return producers;
311}
MsgStream & info() const
shortcut for the method msgStream(MSG::INFO)
Gaudi::Property< std::string > m_dataDepsGraphFile

◆ start()

StatusCode HiveDataBrokerSvc::start ( )
override

Definition at line 181 of file HiveDataBroker.cpp.

181 {
182
183 StatusCode ss = Service::start();
184 if ( !ss.isSuccess() ) return ss;
185
186 // sysStart for m_algorithms
187 for ( auto& [name, algEntry] : m_algorithms ) {
188 ss = algEntry.alg->sysStart();
189 if ( ss.isFailure() ) {
190 error() << "Unable to start Algorithm: " << name << endmsg;
191 return ss;
192 }
193 }
194 return ss;
195}
StatusCode start() override
Definition Service.cpp:187
bool isSuccess() const
Definition StatusCode.h:314

◆ stop()

StatusCode HiveDataBrokerSvc::stop ( )
override

Definition at line 197 of file HiveDataBroker.cpp.

197 {
198 StatusCode ss = Service::stop();
199 if ( !ss.isSuccess() ) return ss;
200
201 // sysStart for m_algorithms
202 for ( auto& [name, algEntry] : m_algorithms ) {
203 ss = algEntry.alg->sysStop();
204 if ( ss.isFailure() ) {
205 error() << "Unable to stop Algorithm: " << name << endmsg;
206 return ss;
207 }
208 }
209 return ss;
210}
StatusCode stop() override
Definition Service.cpp:181

◆ visit()

void HiveDataBrokerSvc::visit ( AlgEntry const & alg,
std::vector< std::string > const & stoppers,
std::vector< Gaudi::Algorithm * > & sorted,
std::vector< bool > & visited,
std::vector< bool > & visiting ) const
private

Implements DFS topological sorting.

Definition at line 314 of file HiveDataBroker.cpp.

316 {
317 assert( visited.size() == m_algorithms.size() );
318 assert( visiting.size() == m_algorithms.size() );
319 if ( visited[alg.index] ) { return; }
320 if ( visiting[alg.index] ) { throw GaudiException( "Cycle detected ", __func__, StatusCode::FAILURE ); }
321
322 if ( std::none_of( std::begin( stoppers ), std::end( stoppers ),
323 [alg]( auto& stopper ) { return alg.alg->name() == stopper; } ) ) {
324 visiting[alg.index] = true;
325 for ( auto* dep : sorted_( alg.dependsOn ) ) { visit( *dep, stoppers, sorted, visited, visiting ); }
326 visiting[alg.index] = false;
327 }
328
329 visited[alg.index] = true;
330 sorted.push_back( alg.alg );
331}

Member Data Documentation

◆ m_algorithms

std::map<std::string, AlgEntry> HiveDataBrokerSvc::m_algorithms
private

Definition at line 139 of file HiveDataBroker.cpp.

◆ m_dataDepsGraphFile

Gaudi::Property<std::string> HiveDataBrokerSvc::m_dataDepsGraphFile
private
Initial value:
{
this, "DataDepsGraphFile", "",
"Name of the output file (.dot or .md extensions allowed) containing the data dependency graph. If empty, no "
"graph is dumped" }

Definition at line 127 of file HiveDataBroker.cpp.

127 {
128 this, "DataDepsGraphFile", "",
129 "Name of the output file (.dot or .md extensions allowed) containing the data dependency graph. If empty, no "
130 "graph is dumped" };

◆ m_dataLoader

Gaudi::Property<std::string> HiveDataBrokerSvc::m_dataLoader
private
Initial value:
{ this, "DataLoader", "",
"Attribute any unmet input dependencies to this Algorithm" }

Definition at line 122 of file HiveDataBroker.cpp.

122 { this, "DataLoader", "",
123 "Attribute any unmet input dependencies to this Algorithm" };

◆ m_dependencies

std::map<DataObjID, AlgEntry const*> HiveDataBrokerSvc::m_dependencies
private

Definition at line 143 of file HiveDataBroker.cpp.

◆ m_producers

Gaudi::Property<std::vector<std::string> > HiveDataBrokerSvc::m_producers
private
Initial value:
{
this, "DataProducers", {}, "List of algorithms to be used to resolve data dependencies" }

Definition at line 124 of file HiveDataBroker.cpp.

124 {
125 this, "DataProducers", {}, "List of algorithms to be used to resolve data dependencies" };

The documentation for this class was generated from the following file: