ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
SiLorentzAngleTool
src
SCTSiLorentzAngleTestAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
9
#ifndef SCTSiLorentzAngleTestAlg_h
10
#define SCTSiLorentzAngleTestAlg_h
11
12
// Athena includes
13
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
14
#include "
InDetCondTools/ISiLorentzAngleTool.h
"
15
16
// Gaudi includes
17
#include "GaudiKernel/ToolHandle.h"
18
19
// forward declarations
20
class
SCT_ID
;
21
26
27
class
SCTSiLorentzAngleTestAlg
:
public
AthReentrantAlgorithm
28
{
29
public
:
30
SCTSiLorentzAngleTestAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
31
virtual
~SCTSiLorentzAngleTestAlg
() =
default
;
32
virtual
StatusCode
initialize
()
override
;
33
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
34
virtual
StatusCode
finalize
()
override
;
36
virtual
bool
isClonable
()
const override
{
return
true
; };
37
38
private
:
39
ToolHandle<ISiLorentzAngleTool>
m_tool
{
this
,
"SCTLorentzAngleTool"
,
"SCTLorentzAngleTool"
,
"Tool to retrieve SCT Lorentz Angle Tool"
};
40
const
SCT_ID
*
m_id
;
41
};
42
43
#endif
// SCTSiLorentzAngleTestAlg_h
AthReentrantAlgorithm.h
ISiLorentzAngleTool.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SCTSiLorentzAngleTestAlg::initialize
virtual StatusCode initialize() override
Definition
SCTSiLorentzAngleTestAlg.cxx:26
SCTSiLorentzAngleTestAlg::isClonable
virtual bool isClonable() const override
Make this algorithm clonable.
Definition
SCTSiLorentzAngleTestAlg.h:36
SCTSiLorentzAngleTestAlg::m_tool
ToolHandle< ISiLorentzAngleTool > m_tool
Definition
SCTSiLorentzAngleTestAlg.h:39
SCTSiLorentzAngleTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
SCTSiLorentzAngleTestAlg.cxx:34
SCTSiLorentzAngleTestAlg::m_id
const SCT_ID * m_id
Definition
SCTSiLorentzAngleTestAlg.h:40
SCTSiLorentzAngleTestAlg::~SCTSiLorentzAngleTestAlg
virtual ~SCTSiLorentzAngleTestAlg()=default
SCTSiLorentzAngleTestAlg::finalize
virtual StatusCode finalize() override
Definition
SCTSiLorentzAngleTestAlg.cxx:59
SCTSiLorentzAngleTestAlg::SCTSiLorentzAngleTestAlg
SCTSiLorentzAngleTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
SCTSiLorentzAngleTestAlg.cxx:20
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