The Gaudi Framework  master (ba5b4fb7)
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 132 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 359 of file HiveDataBroker.cpp.

360 {
361 std::vector<Gaudi::Algorithm*> result;
362
363 std::vector<const AlgEntry*> deps;
364 deps.reserve( requested.size() );
365
366 // start with seeding from the initial request
367 for ( const auto& id : requested ) {
368 auto i = m_dependencies.find( id );
369 if ( i == m_dependencies.end() )
370 throw GaudiException( "unknown requested input: " + id.key(), __func__, StatusCode::FAILURE );
371 deps.push_back( i->second );
372 }
373 // producers may be responsible for multiple requested DataObjID -- make sure they are only mentioned once
374 std::sort( deps.begin(), deps.end(), []( auto const* lhs, auto const* rhs ) { return *lhs < *rhs; } );
375 deps.erase( std::unique( deps.begin(), deps.end(), []( auto const& lhs, auto const& rhs ) { return *lhs == *rhs; } ),
376 deps.end() );
377
378 std::vector<bool> visited( m_algorithms.size() );
379 std::vector<bool> visiting( m_algorithms.size() );
380 for ( auto* alg : deps ) { visit( *alg, stoppers, result, visited, visiting ); }
381 return result;
382}
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 385 of file HiveDataBroker.cpp.

386 {
387 std::vector<Gaudi::Algorithm*> result;
388
389 auto it = m_algorithms.find( requested.name() );
390 if ( it == end( m_algorithms ) ) {
391 throw GaudiException{ "No algorithm with name " + requested.name() + " in DataProducers. Type is " +
392 ( requested.haveType() ? requested.type() : "not specified" ),
393 __func__, StatusCode::FAILURE };
394 }
395 auto const& alg = it->second;
396 if ( requested.haveType() && alg.alg->type() != requested.type() ) {
397 error() << "requested " << requested << " but have matching name with different type: " << alg.alg->type()
398 << endmsg;
399 }
400 assert( alg.alg != nullptr );
401
402 std::vector<bool> visited( m_algorithms.size() );
403 std::vector<bool> visiting( m_algorithms.size() );
404 visit( alg, stoppers, result, visited, visiting );
405
406 if ( msgLevel( MSG::DEBUG ) ) {
407 debug() << std::endl << "requested " << requested << " returning " << std::endl << " ";
409 debug(), result, ",\n ",
410 []( auto& os, const Gaudi::Algorithm* a ) -> decltype( auto ) { return os << AlgorithmRepr{ *a }; } );
411 debug() << std::endl << endmsg;
412 }
413 return result;
414}
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 237 of file HiveDataBroker.cpp.

237 {
238 for ( auto& [name, algEntry] : m_algorithms ) {
239 algEntry.alg->sysFinalize().ignore( /* AUTOMATICALLY ADDED FOR gaudi/Gaudi!763 */ );
240 }
241 m_algorithms.clear();
242 return Service::finalize();
243}
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 176 of file HiveDataBroker.cpp.

176 {
177 return Service::initialize().andThen( [&] {
178 // populate m_algorithms
180
181 // warn about non-reentrant algorithms
182 std::ranges::for_each( m_algorithms | std::ranges::views::transform( []( const auto& entry ) -> decltype( auto ) {
183 return entry.second.alg;
184 } ) |
185 std::ranges::views::filter( []( const auto* alg ) { return alg->cardinality() > 0; } ),
186 [&]( const Gaudi::Algorithm* alg ) {
187 this->warning() << "non-reentrant algorithm: " << AlgorithmRepr{ *alg } << endmsg;
188 } );
189 //== Print the list of the created algorithms
190 if ( msgLevel( MSG::DEBUG ) ) {
191 debug() << "Available DataProducers:\n";
192 std::ranges::for_each( m_algorithms | std::ranges::views::transform( []( const auto& entry ) -> decltype( auto ) {
193 return entry.second.alg;
194 } ),
195 [&]( const Gaudi::Algorithm* alg ) {
196 this->debug() << " " << AlgorithmRepr{ *alg } << " " << alg->outputDataObjs() << " "
197 << alg->extraOutputDeps() << endmsg;
198 } );
199 }
200
201 // populate m_dependencies and set AlgEntry::dependsOn
203 } );
204}
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 246 of file HiveDataBroker.cpp.

246 {
247 std::map<std::string, AlgEntry> algorithms;
248
249 //= Get the Application manager, to see if algorithm exist
250 auto appMgr = service<IAlgManager>( "ApplicationMgr" );
251 size_t index = 0;
252 for ( const std::string& item : names ) {
253 const Gaudi::Utils::TypeNameString tn( item );
254
255 //== Check wether the specified algorithm already exists. If not, create it
256 SmartIF<IAlgorithm> myIAlg = appMgr->algorithm( item, false ); // do not create it now
257 if ( !myIAlg ) {
258 myIAlg = createAlgorithm( *appMgr, tn.type(), tn.name() );
259 } else {
260 // when the algorithm is not created, the ref count is short by one, so we
261 // have to fix it.
262 myIAlg->addRef();
263 }
264
265 if ( !myIAlg ) {
266 throw GaudiException{ "Failed to create " + boost::lexical_cast<std::string>( item ), __func__,
268 }
269
270 // propagate the sub-algorithm into own state.
271 StatusCode sc = myIAlg->sysInitialize();
272 if ( sc.isFailure() ) {
273 throw GaudiException{ "Failed to initialize " + boost::lexical_cast<std::string>( item ), __func__,
275 }
276
277 algorithms.emplace( tn.name(), AlgEntry{ index++, std::move( myIAlg ) } );
278 }
279
280 return algorithms;
281}
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 284 of file HiveDataBroker.cpp.

284 {
285 if ( msgLevel( MSG::DEBUG ) ) {
286 debug() << "Data Dependencies for Algorithms:";
287 for ( const auto& [name, entry] : m_algorithms ) {
288 debug() << "\n " << name << " :";
289 for ( const auto* id : entry.inputs ) { debug() << "\n o INPUT " << id->key(); }
290 for ( const auto* id : entry.outputs ) { debug() << "\n o OUTPUT " << id->key(); }
291 }
292 debug() << endmsg;
293 }
294
295 // If requested, dump a graph of the data dependencies in a .dot, .md or .graphml file
296 if ( !m_dataDepsGraphFile.empty() ) {
297 info() << "Dumping data dependencies graph to file: " << m_dataDepsGraphFile.value() << endmsg;
298 dumpDataDepsGraphFile( m_dataDepsGraphFile, m_algorithms | std::views::values );
299 }
300
301 // figure out all outputs
302 std::map<DataObjID, const AlgEntry*> producers;
303 for ( auto& [name, alg] : algorithms ) {
304 for ( auto id : alg.outputs ) {
305 auto r = producers.emplace( *id, &alg );
306 if ( !r.second ) {
307 throw GaudiException( "multiple algorithms declare " + id->key() + " as output (" + name + " and " +
308 producers[*id]->alg->name() + " at least). This is not allowed",
309 __func__, StatusCode::FAILURE );
310 }
311 }
312 }
313
314 // resolve dependencies
315 for ( auto& [name, algEntry] : algorithms ) {
316 for ( const DataObjID* idp : algEntry.inputs ) {
317 DataObjID id = *idp;
318 auto iproducer = producers.find( id );
319 if ( iproducer != producers.end() ) {
320 algEntry.dependsOn.insert( iproducer->second );
321 } else {
322 std::ostringstream error_message;
323 error_message << "\nUnknown requested input by " << AlgorithmRepr{ *( algEntry.alg ) } << " : "
324 << std::quoted( id.key(), '\'' ) << ".\n";
325 error_message << "You can set the OutputLevel of HiveDataBrokerSvc to DEBUG to get a list of inputs and "
326 "outputs of every registered algorithm.\n";
327 throw GaudiException( error_message.str(), __func__, StatusCode::FAILURE );
328 // TODO: assign to dataloader!
329 // algEntry.dependsOn.insert(dataloader.alg);
330 // dataloader.data.emplace( id ); // TODO: we may ask to much of the
331 // dataloader this way...
332 }
333 }
334 }
335 return producers;
336}
MsgStream & info() const
shortcut for the method msgStream(MSG::INFO)
Gaudi::Property< std::string > m_dataDepsGraphFile

◆ start()

StatusCode HiveDataBrokerSvc::start ( )
override

Definition at line 206 of file HiveDataBroker.cpp.

206 {
207
208 StatusCode ss = Service::start();
209 if ( !ss.isSuccess() ) return ss;
210
211 // sysStart for m_algorithms
212 for ( auto& [name, algEntry] : m_algorithms ) {
213 ss = algEntry.alg->sysStart();
214 if ( ss.isFailure() ) {
215 error() << "Unable to start Algorithm: " << name << endmsg;
216 return ss;
217 }
218 }
219 return ss;
220}
StatusCode start() override
Definition Service.cpp:187
bool isSuccess() const
Definition StatusCode.h:314

◆ stop()

StatusCode HiveDataBrokerSvc::stop ( )
override

Definition at line 222 of file HiveDataBroker.cpp.

222 {
223 StatusCode ss = Service::stop();
224 if ( !ss.isSuccess() ) return ss;
225
226 // sysStart for m_algorithms
227 for ( auto& [name, algEntry] : m_algorithms ) {
228 ss = algEntry.alg->sysStop();
229 if ( ss.isFailure() ) {
230 error() << "Unable to stop Algorithm: " << name << endmsg;
231 return ss;
232 }
233 }
234 return ss;
235}
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 339 of file HiveDataBroker.cpp.

341 {
342 assert( visited.size() == m_algorithms.size() );
343 assert( visiting.size() == m_algorithms.size() );
344 if ( visited[alg.index] ) { return; }
345 if ( visiting[alg.index] ) { throw GaudiException( "Cycle detected ", __func__, StatusCode::FAILURE ); }
346
347 if ( std::none_of( std::begin( stoppers ), std::end( stoppers ),
348 [alg]( auto& stopper ) { return alg.alg->name() == stopper; } ) ) {
349 visiting[alg.index] = true;
350 for ( auto* dep : sorted_( alg.dependsOn ) ) { visit( *dep, stoppers, sorted, visited, visiting ); }
351 visiting[alg.index] = false;
352 }
353
354 visited[alg.index] = true;
355 sorted.push_back( alg.alg );
356}

Member Data Documentation

◆ m_algorithms

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

Definition at line 164 of file HiveDataBroker.cpp.

◆ m_dataDepsGraphFile

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

Definition at line 152 of file HiveDataBroker.cpp.

152 { this, "DataDepsGraphFile", "",
153 "Name of the output file (.dot, .md or .graphml extensions "
154 "allowed) containing the data dependency graph. "
155 "If empty, no 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 147 of file HiveDataBroker.cpp.

147 { this, "DataLoader", "",
148 "Attribute any unmet input dependencies to this Algorithm" };

◆ m_dependencies

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

Definition at line 168 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 149 of file HiveDataBroker.cpp.

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

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