ATLAS Offline Software
ISCT_ReadoutTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
11 #ifndef SCT_ConditionTools_ISCT_ReadoutTool_h
12 #define SCT_ConditionTools_ISCT_ReadoutTool_h
13 
14 //STL
15 #include <vector>
16 
17 // Gaudi
18 #include "GaudiKernel/IAlgTool.h"
19 
20 // Athena
21 #include "Identifier/Identifier.h"
22 
23 // Forward declarations
24 class SCT_Chip;
25 
32 class ISCT_ReadoutTool : virtual public IAlgTool {
33  public:
34 
35  virtual ~ISCT_ReadoutTool() = default;
36 
39 
41  virtual StatusCode determineReadout(const Identifier& moduleId, std::vector<SCT_Chip>& chips, bool link0ok, bool link1ok) const =0;
43  virtual StatusCode determineReadout(const int truncatedSerialNumber, std::vector<SCT_Chip>& chips, bool link0ok, bool link1ok) const =0;
44 };
45 
46 #endif // SCT_ConditionTools_ISCT_ReadoutTool_h
ISCT_ReadoutTool::determineReadout
virtual StatusCode determineReadout(const int truncatedSerialNumber, std::vector< SCT_Chip > &chips, bool link0ok, bool link1ok) const =0
Determine which chips are in the readout for a module of a particular type by truncated serial number...
SCT_Chip
Class which stores infomration on the SCT chips: id, config, mask.
Definition: SCT_Chip.h:27
ISCT_ReadoutTool::~ISCT_ReadoutTool
virtual ~ISCT_ReadoutTool()=default
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ISCT_ReadoutTool::DeclareInterfaceID
DeclareInterfaceID(ISCT_ReadoutTool, 1, 0)
Creates the InterfaceID and interfaceID() method.
ISCT_ReadoutTool::determineReadout
virtual StatusCode determineReadout(const Identifier &moduleId, std::vector< SCT_Chip > &chips, bool link0ok, bool link1ok) const =0
Determine which chips are in the readout for a module of a particular type by Identifier.
ISCT_ReadoutTool
Definition: ISCT_ReadoutTool.h:32
Identifier
Definition: IdentifierFieldParser.cxx:14