36 if ( !svc ) {
return nullptr ; }
40 if ( algs.rend() == it ) {
return nullptr ; }
42 return dynamic_cast<TYPE*
>( alg ) ;
64 {
return getAlg<GaudiAlgorithm> ( svc ) ; }
84 {
return getAlg<GaudiHistoAlg> ( svc ) ; }
104 {
return getAlg<GaudiTupleAlg> ( svc ) ; }
124 {
return getAlg<GaudiSequencer> ( svc ) ; }
143 {
return getAlg<Sequencer> ( svc ) ; }
165 if ( !svc ) {
return nullptr ; }
172 [&](
IAlgorithm* alg) {
return sel1(alg) || sel2(alg); } );
173 return a!=algs.rend() ? *a :
nullptr;
GAUDI_API GaudiHistoAlg * getHistoAlg(const IAlgContextSvc *svc)
simple function to extract the last active GaudiHistoAlg from the context
Sequencer for executing several algorithms, stopping when one is faulty.
Header file for class GaudiAlgorithm.
GAUDI_API GaudiTupleAlg * getTupleAlg(const IAlgContextSvc *svc)
simple function to extract the last active GaudiTupleAlg from the context
GAUDI_API IAlgorithm * getSequencer(const IAlgContextSvc *svc)
simple function to extract the last active "Sequencer" () GaudiSequencer or simple Sequencer) from th...
GAUDI_API Sequencer * getSequencerAlg(const IAlgContextSvc *svc)
simple function to extract the last active Sequencer from the context
The useful base class for data processing algorithms.
GAUDI_API GaudiAlgorithm * getGaudiAlg(const IAlgContextSvc *svc)
simple function to extract the last active GaudiAlgorithm from the context
The IAlgorithm is the interface implemented by the Algorithm base class.
The trivial selector of algorithm by type.
virtual const Algorithms & algorithms() const =0
get the stack of executed algorithms
An abstract interface for Algorithm Context Service.
Simple class to extend the functionality of class GaudiAlgorithm.
Simple class to extend the functionality of class GaudiHistoAlg.
GAUDI_API GaudiSequencer * getGaudiSequencer(const IAlgContextSvc *svc)
simple function to extract the last active GaudiSequencer from the context