15 const std::string slotStr{
"slot"};
16 const std::string algStr{
"alg"};
17 const std::string ALGStr{
"ALG"};
19 const uint32_t slot =
tc->getDetail<uint32_t>(slotStr);
20 if (slot != data.onlineSlot()) {
25 std::replace(name.begin(), name.end(),
':',
'_');
29 return StatusCode::SUCCESS;
34 return std::make_unique<CounterAlgorithm>(name,
this);
#define ATH_CHECK
Evaluate an expression and check for errors.
Caches and propagates event data to be used by monitoring algorithms.
virtual std::unique_ptr< CounterBase > newCounter(const std::string &name) override
Concrete counter instantiation.
virtual StatusCode newEvent(const CostData &data, const float weight=1.) override
Concrete dispatch method.
MonitorAlgorithm()=delete
Forbid default constructor.
CounterBase * getCounter(const std::string &name)
Retrieve counter by name.
MonitorBase()=delete
Forbid default constructor.
Container which represents a time range and holds a collection of Monitors which monitor this range.
static const std::string hash2string(HLTHash, const std::string &category="TE")
hash function translating identifiers into names (via internal dictionary)
TrigComposite_v1 TrigComposite
Declare the latest version of the class.