ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
SiPropertiesTool
src
SCTSiPropertiesTestAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef SCTSIPROPERTIESTESTALG
6
#define SCTSIPROPERTIESTESTALG
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
10
#include "
SiPropertiesTool/ISiPropertiesTool.h
"
11
12
#include "GaudiKernel/ToolHandle.h"
13
14
class
SCT_ID
;
15
16
class
SCTSiPropertiesTestAlg
:
public
AthReentrantAlgorithm
17
{
18
public
:
19
SCTSiPropertiesTestAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
20
virtual
~SCTSiPropertiesTestAlg
() =
default
;
21
virtual
StatusCode
initialize
()
override
;
22
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
23
virtual
StatusCode
finalize
()
override
;
25
virtual
bool
isClonable
()
const override
{
return
true
; };
26
27
private
:
28
ToolHandle<ISiPropertiesTool>
m_tool
{
this
,
"SCTPropertiesTool"
,
"SCTPropertiesTool"
,
"Tool to retrieve SCT Properties"
};
29
const
SCT_ID
*
m_id
;
30
};
31
32
#endif
// SCTSIPROPERTIESTESTALG
AthReentrantAlgorithm.h
ISiPropertiesTool.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SCTSiPropertiesTestAlg::m_tool
ToolHandle< ISiPropertiesTool > m_tool
Definition
SCTSiPropertiesTestAlg.h:28
SCTSiPropertiesTestAlg::~SCTSiPropertiesTestAlg
virtual ~SCTSiPropertiesTestAlg()=default
SCTSiPropertiesTestAlg::finalize
virtual StatusCode finalize() override
Definition
SCTSiPropertiesTestAlg.cxx:54
SCTSiPropertiesTestAlg::initialize
virtual StatusCode initialize() override
Definition
SCTSiPropertiesTestAlg.cxx:15
SCTSiPropertiesTestAlg::SCTSiPropertiesTestAlg
SCTSiPropertiesTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
SCTSiPropertiesTestAlg.cxx:9
SCTSiPropertiesTestAlg::m_id
const SCT_ID * m_id
Definition
SCTSiPropertiesTestAlg.h:29
SCTSiPropertiesTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
SCTSiPropertiesTestAlg.cxx:25
SCTSiPropertiesTestAlg::isClonable
virtual bool isClonable() const override
Make this algorithm clonable.
Definition
SCTSiPropertiesTestAlg.h:25
SCT_ID
This is an Identifier helper class for the SCT subdetector.
Definition
SCT_ID.h:68
Generated on
for ATLAS Offline Software by
1.17.0