ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonConditions
MuonCondGeneral
MuonCondTest
src
RpcCablingTestAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef MUONCONDTEST_RPCCABLINGTESTALG_H
5
#define MUONCONDTEST_RPCCABLINGTESTALG_H
9
#include "
AthenaBaseComps/AthAlgorithm.h
"
10
#include "
MuonCablingData/RpcCablingMap.h
"
11
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
12
#include "
StoreGate/ReadCondHandleKey.h
"
13
#include "
MuonReadoutGeometry/MuonDetectorManager.h
"
14
15
namespace
Muon
{
16
class
RpcCablingTestAlg
:
public
AthAlgorithm
{
17
public
:
18
using
AthAlgorithm::AthAlgorithm
;
19
virtual
~RpcCablingTestAlg
() =
default
;
20
virtual
StatusCode
initialize
()
override
;
21
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
22
virtual
unsigned
int
cardinality
()
const
override final {
return
1; }
23
private
:
24
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
25
// MuonDetectorManager from the conditions store
26
SG::ReadCondHandleKey<MuonGM::MuonDetectorManager>
m_DetectorManagerKey
{
this
,
"DetectorManagerKey"
,
"MuonDetectorManager"
,
27
"Key of input MuonDetectorManager condition data"
};
28
29
SG::ReadCondHandleKey<RpcCablingMap>
m_cablingKey
{
this
,
"CablingKey"
,
"MuonNRPC_CablingMap"
,
"Key of input MDT cabling map"
};
30
31
Gaudi::Property<std::vector<std::string>>
m_considStat
{
this
,
"TestStations"
, {
"BIS"
},
"Cabling only for stations from these stations are tested"
};
32
33
std::set<int>
m_cabStat
{};
34
};
35
}
36
#endif
AthAlgorithm.h
IMuonIdHelperSvc.h
MuonDetectorManager.h
ReadCondHandleKey.h
RpcCablingMap.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
Muon::RpcCablingTestAlg
Definition
RpcCablingTestAlg.h:16
Muon::RpcCablingTestAlg::initialize
virtual StatusCode initialize() override
Definition
RpcCablingTestAlg.cxx:10
Muon::RpcCablingTestAlg::~RpcCablingTestAlg
virtual ~RpcCablingTestAlg()=default
Muon::RpcCablingTestAlg::m_DetectorManagerKey
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
Definition
RpcCablingTestAlg.h:26
Muon::RpcCablingTestAlg::cardinality
virtual unsigned int cardinality() const override final
Definition
RpcCablingTestAlg.h:22
Muon::RpcCablingTestAlg::m_considStat
Gaudi::Property< std::vector< std::string > > m_considStat
Definition
RpcCablingTestAlg.h:31
Muon::RpcCablingTestAlg::m_cablingKey
SG::ReadCondHandleKey< RpcCablingMap > m_cablingKey
Definition
RpcCablingTestAlg.h:29
Muon::RpcCablingTestAlg::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
Muon::RpcCablingTestAlg::m_cabStat
std::set< int > m_cabStat
Definition
RpcCablingTestAlg.h:33
Muon::RpcCablingTestAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
RpcCablingTestAlg.h:24
Muon::RpcCablingTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
RpcCablingTestAlg.cxx:21
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
ServiceHandle
Definition
ClusterMakerTool.h:36
const
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
Generated on
for ATLAS Offline Software by
1.17.0