ATLAS Offline Software
TGCCablingDbTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONCONDTOOL_TGCCABLINGDBTOOL_H
6 #define MUONCONDTOOL_TGCCABLINGDBTOOL_H
7 
10 
11 #include <string>
12 #include <memory>
13 #include <vector>
14 
15 class TGCCablingDbTool: public extends<AthAlgTool, ITGCCablingDbTool>
16 {
17  public:
19  TGCCablingDbTool(const std::string& type,
20  const std::string& name,
21  const IInterface* parent);
22 
24  virtual StatusCode initialize() override;
26  virtual std::vector<std::string>* giveASD2PP_DIFF_12() override;
28  virtual std::string getFolderName() const override;
30  virtual StatusCode readASD2PP_DIFF_12FromText() override;
31 
32  private:
33 
35  std::string m_DataLocation;
37  std::string m_Folder;
38 
40  std::unique_ptr<std::vector<std::string>> m_ASD2PP_DIFF_12;
41 
45  std::string m_filename;
46 };
47 
48 #endif // MUONCONDTOOL_TGCCABLINGDBTOOL_H
TGCCablingDbTool::getFolderName
virtual std::string getFolderName() const override
Get the folder name.
Definition: TGCCablingDbTool.cxx:37
TGCCablingDbTool::m_Folder
std::string m_Folder
Folder name.
Definition: TGCCablingDbTool.h:37
TGCCablingDbTool::m_readASD2PP_DIFF_12FromText
bool m_readASD2PP_DIFF_12FromText
Flag for readASD2PP_DIFF_12FromText()
Definition: TGCCablingDbTool.h:43
TGCCablingDbTool::initialize
virtual StatusCode initialize() override
Initilize.
Definition: TGCCablingDbTool.cxx:32
TGCCablingDbTool::m_ASD2PP_DIFF_12
std::unique_ptr< std::vector< std::string > > m_ASD2PP_DIFF_12
Database as strings.
Definition: TGCCablingDbTool.h:40
TGCCablingDbTool
Definition: TGCCablingDbTool.h:16
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
TGCCablingDbTool::TGCCablingDbTool
TGCCablingDbTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Definition: TGCCablingDbTool.cxx:19
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TGCCablingDbTool::readASD2PP_DIFF_12FromText
virtual StatusCode readASD2PP_DIFF_12FromText() override
Load parameters from text database.
Definition: TGCCablingDbTool.cxx:53
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
ITGCCablingDbTool.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TGCCablingDbTool::m_DataLocation
std::string m_DataLocation
Data location.
Definition: TGCCablingDbTool.h:35
TGCCablingDbTool::giveASD2PP_DIFF_12
virtual std::vector< std::string > * giveASD2PP_DIFF_12() override
Method to provide database.
Definition: TGCCablingDbTool.cxx:41
TGCCablingDbTool::m_filename
std::string m_filename
File name of the text database.
Definition: TGCCablingDbTool.h:45