ATLAS Offline Software
Loading...
Searching...
No Matches
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
15
16// Gaudi includes
17#include "GaudiKernel/ToolHandle.h"
18
19// forward declarations
20class SCT_ID;
21
26
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
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode initialize() override
virtual bool isClonable() const override
Make this algorithm clonable.
ToolHandle< ISiLorentzAngleTool > m_tool
virtual StatusCode execute(const EventContext &ctx) const override
virtual ~SCTSiLorentzAngleTestAlg()=default
virtual StatusCode finalize() override
SCTSiLorentzAngleTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68