ATLAS Offline Software
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
RandomErrorAlg::m_errorProbability
Gaudi::Property< double > m_errorProbability
Definition:
RandomErrorAlg.h:22
RandomErrorAlg
Definition:
RandomErrorAlg.h:14
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition:
AthReentrantAlgorithm.h:83
RandomErrorAlg::RandomErrorAlg
RandomErrorAlg(const std::string &name, ISvcLocator *svcLoc)
Definition:
RandomErrorAlg.cxx:9
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReentrantAlgorithm.h
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
RandomErrorAlg::execute
virtual StatusCode execute(const EventContext &eventContext) const override
Definition:
RandomErrorAlg.cxx:12
Generated on Sun Dec 22 2024 21:16:51 for ATLAS Offline Software by
1.8.18