ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
SCT_ConditionsAlgorithms
src
SCT_TdaqEnabledTestAlg.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5
*/
6
14
15
#ifndef SCT_TdaqEnabledTestAlg_H
16
#define SCT_TdaqEnabledTestAlg_H
17
18
//Athena
19
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
20
#include "
SCT_ConditionsTools/ISCT_ConditionsTool.h
"
21
22
//Gaudi
23
#include "GaudiKernel/ToolHandle.h"
24
25
//STL
26
#include <string>
27
29
class
SCT_TdaqEnabledTestAlg
:
public
AthReentrantAlgorithm
{
30
public
:
31
SCT_TdaqEnabledTestAlg
(
const
std::string& name, ISvcLocator *pSvcLocator);
32
virtual
~SCT_TdaqEnabledTestAlg
() =
default
;
33
34
virtual
StatusCode
initialize
()
override
;
35
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
36
virtual
StatusCode
finalize
()
override
;
38
virtual
bool
isClonable
()
const override
{
return
true
; };
39
40
private
:
41
ToolHandle<ISCT_ConditionsTool>
m_pTdaqEnabledTool
{
this
,
"SCT_TdaqEnabledTool"
,
"SCT_TdaqEnabledTool"
,
"Tool to retrieve active/inactive SCT ROD information"
};
42
};
//end of class
43
44
#endif
// SCT_TdaqEnabledTestAlg_H
AthReentrantAlgorithm.h
ISCT_ConditionsTool.h
header file for baseclass of SCT conditions tools
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SCT_TdaqEnabledTestAlg::initialize
virtual StatusCode initialize() override
Definition
SCT_TdaqEnabledTestAlg.cxx:30
SCT_TdaqEnabledTestAlg::~SCT_TdaqEnabledTestAlg
virtual ~SCT_TdaqEnabledTestAlg()=default
SCT_TdaqEnabledTestAlg::isClonable
virtual bool isClonable() const override
Make this algorithm clonable.
Definition
SCT_TdaqEnabledTestAlg.h:38
SCT_TdaqEnabledTestAlg::SCT_TdaqEnabledTestAlg
SCT_TdaqEnabledTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
SCT_TdaqEnabledTestAlg.cxx:22
SCT_TdaqEnabledTestAlg::finalize
virtual StatusCode finalize() override
Definition
SCT_TdaqEnabledTestAlg.cxx:72
SCT_TdaqEnabledTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
SCT_TdaqEnabledTestAlg.cxx:38
SCT_TdaqEnabledTestAlg::m_pTdaqEnabledTool
ToolHandle< ISCT_ConditionsTool > m_pTdaqEnabledTool
Definition
SCT_TdaqEnabledTestAlg.h:41
Generated on
for ATLAS Offline Software by
1.17.0