ATLAS Offline Software
Loading...
Searching...
No Matches
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
18
19
20
22public:
24 virtual ~MMCablingTestAlg() = default;
25 virtual StatusCode initialize() override;
26 virtual StatusCode execute() override;
27 virtual unsigned int cardinality() const override final{return 1;}
28
29
30
31private:
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(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Algorithm to test the validity of the Nsw cabling.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
SG::ReadCondHandleKey< Nsw_CablingMap > m_cablingKey
virtual unsigned int cardinality() const override final
virtual StatusCode execute() override
virtual ~MMCablingTestAlg()=default
virtual StatusCode initialize() override
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
Gaudi::Property< std::string > m_dumpFile