12#ifndef GAUDISEQUENCER_ATHPRESCALER_H
13#define GAUDISEQUENCER_ATHPRESCALER_H
16#include "Gaudi/Property.h"
26 AthPrescaler(
const std::string& name, ISvcLocator* pSvcLocator );
38 virtual StatusCode
execute(
const EventContext& ctx)
override;
39 virtual StatusCode
finalize()
override;
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
virtual StatusCode initialize() override
AthPrescaler(const std::string &name, ISvcLocator *pSvcLocator)
Constructor(s).
~AthPrescaler()
Destructor.
int m_seen
Number of events seen.
virtual StatusCode finalize() override
int m_pass
Number of events passed.
Gaudi::CheckedProperty< double > m_percentPass
Percentage of events that should be passed.