ATLAS Offline Software
MMCablingTestAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
9 #ifndef MUONMDT_CABLING_MMCablingTestAlg_H
10 #define MUONMDT_CABLING_MMCablingTestAlg_H
11 
12 
18 
19 
20 
22  : public AthAlgorithm {
23 public:
24  MMCablingTestAlg(const std::string& name, ISvcLocator* pSvcLocator);
25  virtual ~MMCablingTestAlg() = default;
26  virtual StatusCode initialize() override;
27  virtual StatusCode execute() override;
28  virtual unsigned int cardinality() const override final{return 1;}
29 
30 
31 
32 private:
33  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
34  // MuonDetectorManager from the conditions store
35  SG::ReadCondHandleKey<MuonGM::MuonDetectorManager> m_DetectorManagerKey{this, "DetectorManagerKey", "MuonDetectorManager",
36  "Key of input MuonDetectorManager condition data"};
37 
38  SG::ReadCondHandleKey<Nsw_CablingMap> m_cablingKey{this, "ReadKey", "MicroMegaCabling", "Key of input MM cabling map"};
39 
40  Gaudi::Property<std::string> m_dumpFile{this, "DumpMap", "" , "Text file to which every cabling channel is dumped"};
41 
42 };
43 
44 #endif
Nsw_CablingMap.h
MMCablingTestAlg::m_DetectorManagerKey
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
Definition: MMCablingTestAlg.h:35
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
MMCablingTestAlg::cardinality
virtual unsigned int cardinality() const override final
Definition: MMCablingTestAlg.h:28
MMCablingTestAlg::m_dumpFile
Gaudi::Property< std::string > m_dumpFile
Definition: MMCablingTestAlg.h:40
MMCablingTestAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MMCablingTestAlg.h:33
AthAlgorithm.h
MMCablingTestAlg::m_cablingKey
SG::ReadCondHandleKey< Nsw_CablingMap > m_cablingKey
Definition: MMCablingTestAlg.h:38
MMCablingTestAlg::~MMCablingTestAlg
virtual ~MMCablingTestAlg()=default
MMCablingTestAlg
Algorithm to test the validity of the MDT cabling.
Definition: MMCablingTestAlg.h:22
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition: AthAlgorithm.h:47
MMCablingTestAlg::MMCablingTestAlg
MMCablingTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MMCablingTestAlg.cxx:11
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
MuonDetectorManager.h
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager >
MMCablingTestAlg::initialize
virtual StatusCode initialize() override
Definition: MMCablingTestAlg.cxx:15
MMCablingTestAlg::execute
virtual StatusCode execute() override
Definition: MMCablingTestAlg.cxx:22
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >