11#ifndef GAUDISEQUENCER_ATHEVENTCOUNTER_H
12#define GAUDISEQUENCER_ATHEVENTCOUNTER_H
15#include "Gaudi/Property.h"
22 using AthReentrantAlgorithm::AthReentrantAlgorithm;
30 StatusCode
execute(
const EventContext& ctx)
const ;
45 "The frequency with which the number of events should be "
46 "reported. The default is 1, corresponding to every event" };
Gaudi::Property< int > m_frequency
The frequency with which the number of events should be reported.
~AthEventCounter()=default
StatusCode execute(const EventContext &ctx) const
std::atomic< int > m_total
The total events seen.
An algorithm that can be simultaneously executed in multiple threads.