ATLAS Offline Software
Loading...
Searching...
No Matches
ITkStripCablingAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ITkStripCablingAlg_H
6#define ITkStripCablingAlg_H
15
16//Athena includes
20
21//Gaudi includes
22#include "GaudiKernel/ServiceHandle.h"
23
24//STL includes
25#include <string>
26
27//Forward declarations
28class SCT_ID;
29
35
37 public:
38 ITkStripCablingAlg(const std::string& name, ISvcLocator* svc);
39 virtual ~ITkStripCablingAlg() = default;
40 virtual StatusCode initialize() override;
41 virtual StatusCode execute(const EventContext& ctx) const override;
43 virtual bool isClonable() const override { return true; };
44
45private:
46 StringProperty m_source{this, "DataSource", "", "A data file for the ITkStrip cabling"};
47 std::string m_configFilePath={};
48 SG::WriteCondHandleKey<ITkStripCablingData> m_writeKey{this, "WriteKey", "ITkStripCablingData", "Key of output (derived) conditions data"};
49 const SCT_ID* m_idHelper{nullptr};
50};
51
52#endif
An algorithm that can be simultaneously executed in multiple threads.
StringProperty m_source
const SCT_ID * m_idHelper
ITkStripCablingAlg(const std::string &name, ISvcLocator *svc)
virtual StatusCode execute(const EventContext &ctx) const override
virtual ~ITkStripCablingAlg()=default
virtual bool isClonable() const override
Make this algorithm clonable.
SG::WriteCondHandleKey< ITkStripCablingData > m_writeKey
virtual StatusCode initialize() override
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68