ATLAS Offline Software
TgcCondDbTestAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TgcCondDbTestAlg_H
6 #define TgcCondDbTestAlg_H
7 
8 // STL
9 #include <sstream>
10 
11 
12 // Gaudi
15 
16 // Athena
17 #include "Identifier/Identifier.h"
19 
22 public:
23  TgcCondDbTestAlg(const std::string &name, ISvcLocator *pSvcLocator);
24  virtual ~TgcCondDbTestAlg();
25 
26  virtual StatusCode initialize() override;
27  virtual StatusCode execute() override;
28 
29 private:
30  SG::ReadCondHandleKey<TgcCondDbData> m_readKey{this, "ReadKey", "TgcCondDbData", "Key of TgcCondDbData"};
31 
32  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
33 
34 }; // end of class
35 
36 #endif
TgcCondDbTestAlg
Example class to show calling the MdtConditionsTestAlg.
Definition: TgcCondDbTestAlg.h:21
TgcCondDbTestAlg::initialize
virtual StatusCode initialize() override
Definition: TgcCondDbTestAlg.cxx:14
TgcCondDbTestAlg::TgcCondDbTestAlg
TgcCondDbTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TgcCondDbTestAlg.cxx:8
TgcCondDbTestAlg::m_readKey
SG::ReadCondHandleKey< TgcCondDbData > m_readKey
Definition: TgcCondDbTestAlg.h:30
AthAlgorithm.h
TgcCondDbData.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TgcCondDbTestAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: TgcCondDbTestAlg.h:32
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TgcCondDbTestAlg::execute
virtual StatusCode execute() override
Definition: TgcCondDbTestAlg.cxx:22
SG::ReadCondHandleKey< TgcCondDbData >
TgcCondDbTestAlg::~TgcCondDbTestAlg
virtual ~TgcCondDbTestAlg()
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >