ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_ReadoutTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
10
11#ifndef SCT_ConditionTools_SCT_ReadoutTool_h
12#define SCT_ConditionTools_SCT_ReadoutTool_h
13
14// Athena
17
20
21// Gaudi
22#include "GaudiKernel/ToolHandle.h"
23
24// Forward declarations
25class SCT_ID;
26
31
32class SCT_ReadoutTool : public extends<AthAlgTool, ISCT_ReadoutTool> {
33
34 public:
35
37 SCT_ReadoutTool(const std::string& type, const std::string& name, const IInterface* parent);
38 virtual ~SCT_ReadoutTool() = default;
39 StatusCode initialize() override;
40 StatusCode finalize() override;
41
43 virtual StatusCode determineReadout(const Identifier& moduleId, std::vector<SCT_Chip>& chips, bool link0ok, bool link1ok) const override;
45 virtual StatusCode determineReadout(const int truncatedSerialNumber, std::vector<SCT_Chip>& chips, bool link0ok, bool link1ok) const override;
46
47 private:
48
50 const SCT_ID* m_sctId;
51 ToolHandle<ISCT_CablingTool> m_cablingTool{this, "SCT_CablingTool", "SCT_CablingTool", "Tool to retrieve SCT Cabling"};
52
53};
54
55#endif // SCT_ConditionTools_SCT_ReadoutTool_h
Header file for abstract interface to SCT cabling tool.
Interface file for the SCT_ReadoutTool class.
Header file storing infomration on the SCT chips: id, config, mask.
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68
virtual StatusCode determineReadout(const Identifier &moduleId, std::vector< SCT_Chip > &chips, bool link0ok, bool link1ok) const override
Determine which chips are in the readout for a module of a particular type by Identifier.
StatusCode finalize() override
SCT_ReadoutTool(const std::string &type, const std::string &name, const IInterface *parent)
Usual framework methods for an AlgTool.
ToolHandle< ISCT_CablingTool > m_cablingTool
const SCT_ID * m_sctId
Private data.
StatusCode initialize() override
virtual ~SCT_ReadoutTool()=default