ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonConditions
MuonCondGeneral
MuonCondTest
src
MMCablingTestAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
8
9
#ifndef MUONMDT_CABLING_MMCablingTestAlg_H
10
#define MUONMDT_CABLING_MMCablingTestAlg_H
11
12
13
#include "
AthenaBaseComps/AthAlgorithm.h
"
14
#include "
MuonCablingData/Nsw_CablingMap.h
"
15
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
16
#include "
StoreGate/ReadCondHandleKey.h
"
17
#include "
MuonReadoutGeometry/MuonDetectorManager.h
"
18
19
20
21
class
MMCablingTestAlg
:
public
AthAlgorithm
{
22
public
:
23
using
AthAlgorithm::AthAlgorithm
;
24
virtual
~MMCablingTestAlg
() =
default
;
25
virtual
StatusCode
initialize
()
override
;
26
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
27
virtual
unsigned
int
cardinality
()
const
override final{
return
1;}
28
29
30
31
private
:
32
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
33
// MuonDetectorManager from the conditions store
34
SG::ReadCondHandleKey<MuonGM::MuonDetectorManager>
m_DetectorManagerKey
{
this
,
"DetectorManagerKey"
,
"MuonDetectorManager"
,
35
"Key of input MuonDetectorManager condition data"
};
36
37
SG::ReadCondHandleKey<Nsw_CablingMap>
m_cablingKey
{
this
,
"ReadKey"
,
"NswCabling"
,
"Key of input MM cabling map"
};
38
39
Gaudi::Property<std::string>
m_dumpFile
{
this
,
"DumpMap"
,
""
,
"Text file to which every cabling channel is dumped"
};
40
41
};
42
43
#endif
AthAlgorithm.h
IMuonIdHelperSvc.h
MuonDetectorManager.h
Nsw_CablingMap.h
ReadCondHandleKey.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
MMCablingTestAlg
Algorithm to test the validity of the Nsw cabling.
Definition
MMCablingTestAlg.h:21
MMCablingTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
MMCablingTestAlg.cxx:20
MMCablingTestAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
MMCablingTestAlg.h:32
MMCablingTestAlg::m_cablingKey
SG::ReadCondHandleKey< Nsw_CablingMap > m_cablingKey
Definition
MMCablingTestAlg.h:37
MMCablingTestAlg::cardinality
virtual unsigned int cardinality() const override final
Definition
MMCablingTestAlg.h:27
MMCablingTestAlg::~MMCablingTestAlg
virtual ~MMCablingTestAlg()=default
MMCablingTestAlg::initialize
virtual StatusCode initialize() override
Definition
MMCablingTestAlg.cxx:13
MMCablingTestAlg::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
MMCablingTestAlg::m_DetectorManagerKey
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
Definition
MMCablingTestAlg.h:34
MMCablingTestAlg::m_dumpFile
Gaudi::Property< std::string > m_dumpFile
Definition
MMCablingTestAlg.h:39
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
ServiceHandle
Definition
ClusterMakerTool.h:36
const
Generated on
for ATLAS Offline Software by
1.17.0