4 : m_numberOfAlgos(n_algos), m_eventState(n_products)
void update_state(unsigned int &product_index)
GAUDI_API void fill(AIDA::IHistogram1D *histo, const double value, const double weight=1.0)
simple function to fill AIDA::IHistogram1D objects
void algoStarts(unsigned int &index)
std::atomic_uint m_algosInFlight
Number of algos in flight.
bool hasStarted(unsigned int &index) const
tbb::concurrent_vector< bool > m_algosStarted
Register of algorithms started.
std::atomic_uint m_algosFinished
Number of finished algos.
state_type m_eventState
Event state recording which products are there.
EventSchedulingState(const unsigned int &n_algos, const unsigned int &n_products)