37 if ( 0 == svc ) {
return 0 ; }
40 ALGS::const_reverse_iterator it = std::find_if
44 if ( algs.rend() == it ) {
return 0 ; }
46 return dynamic_cast<TYPE*
>( alg ) ;
68 {
return getAlg<GaudiAlgorithm> ( svc ) ; }
88 {
return getAlg<GaudiHistoAlg> ( svc ) ; }
108 {
return getAlg<GaudiTupleAlg> ( svc ) ; }
128 {
return getAlg<GaudiSequencer> ( svc ) ; }
147 {
return getAlg<Sequencer> ( svc ) ; }
169 if ( 0 == svc ) {
return 0 ; }
175 for ( ALGS::const_reverse_iterator it = algs.rbegin() ;
176 algs.rend() != it ; ++it )
178 if ( sel1 ( *it ) ) {
return *it ; }
179 if ( sel2 ( *it ) ) {
return *it ; }
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.
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...
virtual const Algorithms & algorithms() const =0
get the stack of executed algorithms
std::vector< IAlgorithm * > Algorithms
the actual type of algorithm' stack
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.
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