ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
SCT_ConditionsAlgorithms
src
SCT_SensorsTestAlg.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
10
11
// Multiple inclusion protection
12
#ifndef SCT_SensorsTestAlg_H
13
#define SCT_SensorsTestAlg_H
14
15
// Include Athena stuff
16
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
17
18
#include "
SCT_ConditionsTools/ISCT_SensorsTool.h
"
19
20
// Include Gaudi stuff
21
#include "GaudiKernel/ToolHandle.h"
22
23
// Include STL stuff
24
#include <string>
25
28
class
SCT_SensorsTestAlg
:
public
AthReentrantAlgorithm
{
29
public
:
30
// Structors
31
SCT_SensorsTestAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
32
virtual
~SCT_SensorsTestAlg
() =
default
;
33
34
// Standard Gaudi functions
35
virtual
StatusCode
initialize
()
override
;
36
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
37
virtual
StatusCode
finalize
()
override
;
39
virtual
bool
isClonable
()
const override
{
return
true
; };
40
41
private
:
42
ToolHandle<ISCT_SensorsTool>
m_SensorsTool
{
this
,
"SCT_SensorsTool"
,
"SCT_SensorsTool"
,
"Tool to retrieve SCT sensor information"
};
43
};
44
45
#endif
// SCT_SensorsTestAlg_H
AthReentrantAlgorithm.h
ISCT_SensorsTool.h
header file for baseclass of SCT conditions tool
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SCT_SensorsTestAlg::SCT_SensorsTestAlg
SCT_SensorsTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
SCT_SensorsTestAlg.cxx:22
SCT_SensorsTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Gaudi executer.
Definition
SCT_SensorsTestAlg.cxx:36
SCT_SensorsTestAlg::initialize
virtual StatusCode initialize() override
Gaudi initialiser.
Definition
SCT_SensorsTestAlg.cxx:29
SCT_SensorsTestAlg::m_SensorsTool
ToolHandle< ISCT_SensorsTool > m_SensorsTool
Definition
SCT_SensorsTestAlg.h:42
SCT_SensorsTestAlg::finalize
virtual StatusCode finalize() override
Gaudi finaliser.
Definition
SCT_SensorsTestAlg.cxx:50
SCT_SensorsTestAlg::isClonable
virtual bool isClonable() const override
Make this algorithm clonable.
Definition
SCT_SensorsTestAlg.h:39
SCT_SensorsTestAlg::~SCT_SensorsTestAlg
virtual ~SCT_SensorsTestAlg()=default
Generated on
for ATLAS Offline Software by
1.17.0