ATLAS Offline Software
MuonSpectrometer
MuonConditions
MuonCondGeneral
MuonCondTest
src
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
13
#include "
AthenaBaseComps/AthAlgorithm.h
"
14
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
15
16
// Athena
17
#include "Identifier/Identifier.h"
18
#include "
MuonCondData/MdtCondDbData.h
"
19
21
class
MdtConditionsTestAlg
:
public
AthAlgorithm
{
22
public
:
23
MdtConditionsTestAlg
(
const
std::string &
name
, ISvcLocator *pSvcLocator);
24
virtual
~MdtConditionsTestAlg
();
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 >
Generated on Sun Dec 22 2024 21:14:11 for ATLAS Offline Software by
1.8.18