ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigGenericAlgs
src
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
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
14
class
RandomErrorAlg
:
public
AthReentrantAlgorithm
{
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
AthReentrantAlgorithm.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
RandomErrorAlg::RandomErrorAlg
RandomErrorAlg(const std::string &name, ISvcLocator *svcLoc)
Definition
RandomErrorAlg.cxx:9
RandomErrorAlg::execute
virtual StatusCode execute(const EventContext &eventContext) const override
Definition
RandomErrorAlg.cxx:12
RandomErrorAlg::m_errorProbability
Gaudi::Property< double > m_errorProbability
Definition
RandomErrorAlg.h:22
Generated on
for ATLAS Offline Software by
1.17.0