ATLAS Offline Software
MuonSpectrometer
MuonConditions
MuonCondGeneral
MuonCondTest
src
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
13
#include "
AthenaBaseComps/AthAlgorithm.h
"
14
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
15
16
// Athena
17
#include "Identifier/Identifier.h"
18
#include "
MuonCondData/TgcCondDbData.h
"
19
21
class
TgcCondDbTestAlg
:
public
AthAlgorithm
{
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:228
TgcCondDbTestAlg::execute
virtual StatusCode execute() override
Definition:
TgcCondDbTestAlg.cxx:22
SG::ReadCondHandleKey< TgcCondDbData >
TgcCondDbTestAlg::~TgcCondDbTestAlg
virtual ~TgcCondDbTestAlg()
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >
Generated on Fri Jan 10 2025 21:18:49 for ATLAS Offline Software by
1.8.18