ATLAS Offline Software
Loading...
Searching...
No Matches
RandomErrorAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGGENERICALGS_RandomError_h
6#define TRIGGENERICALGS_RandomError_h
7
9
15 public:
16
17 RandomErrorAlg(const std::string& name, ISvcLocator* svcLoc);
18
19 virtual StatusCode execute(const EventContext& eventContext) const override;
20
21 private:
22 Gaudi::Property<double> m_errorProbability {this, "ErrorProbability", 0.5, "Probablility od throwing an error"};
23};
24
25#endif // TRIGGENERICALGS_RandomError_h
An algorithm that can be simultaneously executed in multiple threads.
RandomErrorAlg(const std::string &name, ISvcLocator *svcLoc)
virtual StatusCode execute(const EventContext &eventContext) const override
Gaudi::Property< double > m_errorProbability