15#ifndef ATHEXHIVE_BASEALG_H
16#define ATHEXHIVE_BASEALG_H
20#include "GaudiKernel/ServiceHandle.h"
21#include "GaudiKernel/ICPUCrunchSvc.h"
30 HiveAlgBase (
const std::string& name, ISvcLocator* pSvcLocator);
34 virtual bool isClonable()
const override {
return true; }
54 Gaudi::Property<unsigned int>
m_time{
this,
"Time", 0,
"default alg sleep time in ms"};
55 Gaudi::Property<bool>
m_doCrunch{
this,
"Crunch",
false,
"Crunch instead of Sleep"};
Abstract Interface class for HiveExSvc, that accumualtes Algorithm run times by name.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Property< unsigned int > m_time
HiveAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
ServiceHandle< ICPUCrunchSvc > m_ccs
ServiceHandle< IAthRNGSvc > m_rngSvc
ServiceHandle< IHiveExSvc > m_hes
virtual StatusCode initialize() override
Gaudi::Property< bool > m_doCrunch
virtual bool isClonable() const override