1 #ifndef LIB_GAUDIPARALLELIZER_H
2 #define LIB_GAUDIPARALLELIZER_H 1
5 #include "GaudiAlg/GaudiAlgorithm.h"
7 #include <tbb/task_group.h>
8 #include <tbb/task_scheduler_init.h>
9 #include <boost/bind.hpp>
84 #endif // LIB_GAUDIPARALLELIZER_H
bool m_reverse
Indicates that the flag has to be inverted.
AlgorithmEntry(Algorithm *alg)
Standard constructor.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
GaudiParallelizer(const std::string &name, ISvcLocator *pSvcLocator)
Standard constructor.
Algorithm * algorithm() const
virtual ~GaudiParallelizer()
Destructor.
bool m_returnOK
Forces the sequencer to return a good status.
StatusCode decodeNames()
Decode a vector of string.
bool m_modeOR
Indicates that the OR is wanted instead of AND.
virtual StatusCode finalize()
Algorithm finalization.
StringArrayProperty m_names
Input string, list of algorithms.
void setExecuted(bool state) override
Set the executed flag to the specified state.
This class is used for returning status codes from appropriate routines.
StatusCode sysExecute() override
The actions to be performed by the algorithm on an event.
The useful base class for data processing algorithms.
tbb::task_group m_task_group
TBB task group.
Base class from which all concrete algorithm classes should be derived.
Property base class allowing Property* collections to be "homogeneous".
Algorithm * m_algorithm
Algorithm pointer.
virtual StatusCode execute()
Algorithm execution.
virtual ~AlgorithmEntry()
void setReverse(bool flag)
Destructor.
std::vector< AlgorithmEntry > m_entries
List of algorithms to process.
void membershipHandler(Property &theProp)
for asynchronous changes in the list of algorithms
StatusCode m_returncode
StatusCode of an algorithm execution received from a thread.
int m_timer
Timer number for this algorithm.
ISequencerTimerTool * m_timerTool
Pointer to the timer tool.
bool m_measureTime
Flag to measure time.
int m_timer
Timer number for the sequencer.
unsigned short m_nthreads
Number of threads in the thread pool.
void run(GaudiParallelizer &prlzr)
Thread task executor method to wrap an algorithm execution in.
virtual StatusCode initialize()
Algorithm initialization.