ATLAS Offline Software
Loading...
Searching...
No Matches
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
9
11
12#include "GaudiKernel/ToolHandle.h"
13
14class SCT_ID;
15
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
An algorithm that can be simultaneously executed in multiple threads.
ToolHandle< ISiPropertiesTool > m_tool
virtual ~SCTSiPropertiesTestAlg()=default
virtual StatusCode finalize() override
virtual StatusCode initialize() override
SCTSiPropertiesTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute(const EventContext &ctx) const override
virtual bool isClonable() const override
Make this algorithm clonable.
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68