ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonConditions
MuonCondGeneral
MuonCondDump
src
RpcToyCablingJsonDumpAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/*
6
* Algorithm to dump the R4-style Rpc cabling maps into a JSON file
7
*/
8
9
#ifndef MUONCONDDUMP_RPCCABLINGJSONDUMPALG_H
10
#define MUONCONDDUMP_RPCCABLINGJSONDUMPALG_H
11
12
13
#include "
AthenaBaseComps/AthAlgorithm.h
"
14
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
15
#include "
MuonReadoutGeometryR4/MuonDetectorManager.h
"
16
21
22
23
namespace
Muon
{
24
class
RpcToyCablingJsonDumpAlg
:
public
AthAlgorithm
{
25
public
:
26
using
AthAlgorithm::AthAlgorithm
;
27
virtual
~RpcToyCablingJsonDumpAlg
() =
default
;
28
virtual
StatusCode
initialize
()
override
;
29
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
30
virtual
unsigned
int
cardinality
()
const
override final{
return
1;}
31
32
private
:
33
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
34
35
const
MuonGMR4::MuonDetectorManager
*
m_detMgr
{
nullptr
};
36
37
Gaudi::Property<std::string>
m_cablingJSON
{
this
,
"OutCablingJSON"
,
"RpcCabling.json"
,
"Cabling JSON"
};
38
};
39
}
40
#endif
AthAlgorithm.h
IMuonIdHelperSvc.h
MuonDetectorManager.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
MuonGMR4::MuonDetectorManager
Definition
MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h:62
Muon::RpcToyCablingJsonDumpAlg
Definition
RpcToyCablingJsonDumpAlg.h:24
Muon::RpcToyCablingJsonDumpAlg::~RpcToyCablingJsonDumpAlg
virtual ~RpcToyCablingJsonDumpAlg()=default
Muon::RpcToyCablingJsonDumpAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
RpcToyCablingJsonDumpAlg.h:33
Muon::RpcToyCablingJsonDumpAlg::m_cablingJSON
Gaudi::Property< std::string > m_cablingJSON
Definition
RpcToyCablingJsonDumpAlg.h:37
Muon::RpcToyCablingJsonDumpAlg::cardinality
virtual unsigned int cardinality() const override final
Definition
RpcToyCablingJsonDumpAlg.h:30
Muon::RpcToyCablingJsonDumpAlg::initialize
virtual StatusCode initialize() override
Definition
RpcToyCablingJsonDumpAlg.cxx:14
Muon::RpcToyCablingJsonDumpAlg::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
RpcToyCablingJsonDumpAlg.cxx:24
Muon::RpcToyCablingJsonDumpAlg::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
Muon::RpcToyCablingJsonDumpAlg::m_detMgr
const MuonGMR4::MuonDetectorManager * m_detMgr
Definition
RpcToyCablingJsonDumpAlg.h:35
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