4#ifndef PRIMARYDPD_PRESCALER_H
5#define PRIMARYDPD_PRESCALER_H
12#include "Gaudi/Property.h"
13#include "GaudiKernel/ServiceHandle.h"
27 StatusCode
execute(
const EventContext& ctx)
const override;
35 Gaudi::Property<double>
m_prescale{this ,
"Prescale", 1.};
An algorithm that can be simultaneously executed in multiple threads.
std::atomic< unsigned int > m_accepted
std::atomic< unsigned int > m_vetoed
StatusCode initialize() override
Gaudi Service Interface method implementations:
StringArrayProperty m_theRequireAlgNames
List of algorithms names to combine with logical AND.
StatusCode finalize() override
StringArrayProperty m_theAcceptAlgNames
Keep these two properties for now in order not to break the current configuration.
ServiceHandle< IAthRNGSvc > m_rndmSvc
handle to the IAthRNGSvc we want to test
virtual ~PrimaryDPDPrescaler()=default
Destructor.
PrimaryDPDPrescaler(const std::string &name, ISvcLocator *pSvcLocator)
Standard Service Constructor.
Gaudi::Property< double > m_prescale
StatusCode execute(const EventContext &ctx) const override