ATLAS Offline Software
MdtConditionsTestAlg.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 MDTConditionsTestAlgMT_H
6 #define MDTConditionsTestAlgMT_H
7 
8 // STL
9 #include <sstream>
10 
11 
12 // Gaudi
15 
16 // Athena
17 #include "Identifier/Identifier.h"
19 
22 public:
23  MdtConditionsTestAlg(const std::string &name, ISvcLocator *pSvcLocator);
25 
26  virtual StatusCode initialize() override;
27  virtual StatusCode execute() override;
28 
29 private:
30  SG::ReadCondHandleKey<MdtCondDbData> m_readKey{this, "ReadKey", "MdtCondDbData", "Key of MdtCondDbData"};
31 
32  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
33 
34 }; // end of class
35 
36 #endif
MdtConditionsTestAlg::m_readKey
SG::ReadCondHandleKey< MdtCondDbData > m_readKey
Definition: MdtConditionsTestAlg.h:30
MdtConditionsTestAlg
Example class to show calling the MdtConditionsTestAlg.
Definition: MdtConditionsTestAlg.h:21
AthAlgorithm.h
MdtConditionsTestAlg::MdtConditionsTestAlg
MdtConditionsTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MdtConditionsTestAlg.cxx:8
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition: AthAlgorithm.h:47
MdtConditionsTestAlg::~MdtConditionsTestAlg
virtual ~MdtConditionsTestAlg()
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SG::ReadCondHandleKey< MdtCondDbData >
MdtConditionsTestAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MdtConditionsTestAlg.h:32
MdtConditionsTestAlg::initialize
virtual StatusCode initialize() override
Definition: MdtConditionsTestAlg.cxx:14
MdtConditionsTestAlg::execute
virtual StatusCode execute() override
Definition: MdtConditionsTestAlg.cxx:22
MdtCondDbData.h
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >