ATLAS Offline Software
Loading...
Searching...
No Matches
TimeBurner.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGGENERICALGS_TimeBurner_h
6#define TRIGGENERICALGS_TimeBurner_h
7
9#include "GaudiKernel/IAlgTool.h"
10
15class TimeBurner : public HypoBase {
16 public:
18 TimeBurner(const std::string& name, ISvcLocator* svcLoc);
19
20 virtual StatusCode initialize() override;
21 virtual StatusCode execute(const EventContext& eventContext) const override;
22
23 private:
24 Gaudi::Property<unsigned int> m_sleepTimeMillisec {
25 this, "SleepTimeMillisec", 0, "Time to sleep in each execution [ms]"
26 };
27
28 // Unused dummy property to pass duck-test of HypoAlgs
29 ToolHandleArray<IAlgTool> m_hypoTools{this, "HypoTools", {}};
30};
31
32#endif // TRIGGENERICALGS_TimeBurner_h
HypoBase(const std::string &name, ISvcLocator *pSvcLocator)
constructor, to be called by sub-class constructors
Definition HypoBase.cxx:12
TimeBurner(const std::string &name, ISvcLocator *svcLoc)
Standard constructor.
virtual StatusCode execute(const EventContext &eventContext) const override
Gaudi::Property< unsigned int > m_sleepTimeMillisec
Definition TimeBurner.h:24
ToolHandleArray< IAlgTool > m_hypoTools
Definition TimeBurner.h:29
virtual StatusCode initialize() override