ATLAS Offline Software
SCT_CalibModuleListTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
11 #ifndef SCT_CalibModuleListTool_h
12 #define SCT_CalibModuleListTool_h
13 
16 
17 #include "AthenaKernel/IIOVDbSvc.h"
18 #include "Identifier/Identifier.h"
19 #include "InDetIdentifier/SCT_ID.h"
21 
22 #include "GaudiKernel/ToolHandle.h"
23 #include "GaudiKernel/ServiceHandle.h"
24 
25 // STL headers
26 #include <string>
27 #include <vector>
28 #include <set>
29 #include <map>
30 
31 //fwd declarations
32 class StatusCode;
33 
34 class SCT_CalibModuleListTool : public extends<AthAlgTool, ISCT_CalibModuleListTool>
35 {
36 
37  public:
38  //@name Tool methods, reimplemented
40  SCT_CalibModuleListTool(const std::string&, const std::string&, const IInterface*);
41  virtual ~SCT_CalibModuleListTool() = default;
42  virtual StatusCode initialize();
43  virtual StatusCode finalize();
45  virtual StatusCode readModuleList(std::map<Identifier, std::set<Identifier>>& moduleList) const;
46 
47  private:
48  const SCT_ID* m_pSCTHelper{nullptr};
49  ToolHandle<ISCT_MonitorConditionsTool> m_MonitorConditionsTool{this, "SCT_MonitorConditionsTool", "SCT_MonitorConditionsTool/InDetSCT_MonitorConditionsTool", "Tool to retrieve noisy strip information"};
50  ServiceHandle<IIOVDbSvc> m_IOVDbSvc{this, "IOVDbSvc", "IOVDbSvc"};
51 
52 };
53 #endif
SCT_CalibModuleListTool
Definition: SCT_CalibModuleListTool.h:35
SCT_ID.h
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
SCT_CalibModuleListTool::m_pSCTHelper
const SCT_ID * m_pSCTHelper
Definition: SCT_CalibModuleListTool.h:48
SCT_CalibModuleListTool::finalize
virtual StatusCode finalize()
Definition: SCT_CalibModuleListTool.cxx:24
ISCT_CalibModuleListTool.h
IIOVDbSvc.h
Abstract interface to IOVDbSvc to access IOVRange and tag information.
SCT_CalibModuleListTool::m_IOVDbSvc
ServiceHandle< IIOVDbSvc > m_IOVDbSvc
Definition: SCT_CalibModuleListTool.h:50
SCT_CalibModuleListTool::SCT_CalibModuleListTool
SCT_CalibModuleListTool(const std::string &, const std::string &, const IInterface *)
Definition: SCT_CalibModuleListTool.cxx:7
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ISCT_MonitorConditionsTool.h
AthAlgTool.h
SCT_CalibModuleListTool::m_MonitorConditionsTool
ToolHandle< ISCT_MonitorConditionsTool > m_MonitorConditionsTool
Definition: SCT_CalibModuleListTool.h:49
SCT_CalibModuleListTool::~SCT_CalibModuleListTool
virtual ~SCT_CalibModuleListTool()=default
SCT_CalibModuleListTool::readModuleList
virtual StatusCode readModuleList(std::map< Identifier, std::set< Identifier >> &moduleList) const
Definition: SCT_CalibModuleListTool.cxx:28
SCT_CalibModuleListTool::initialize
virtual StatusCode initialize()
Definition: SCT_CalibModuleListTool.cxx:12
SCT_ID
Definition: SCT_ID.h:68
WriteBchToCool.moduleList
moduleList
Definition: WriteBchToCool.py:72
ServiceHandle< IIOVDbSvc >
Identifier
Definition: IdentifierFieldParser.cxx:14