ATLAS Offline Software
Loading...
Searching...
No Matches
RegionSelectorCondAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MuonRegionSelectorR4_RegionSelectorCondAlg_h
6#define MuonRegionSelectorR4_RegionSelectorCondAlg_h
7
8
10
13
14
17
20
21
24
25
26
27namespace MuonR4 {
31
32 public:
33 using AthCondAlgorithm::AthCondAlgorithm;
34
35 virtual StatusCode initialize() override final;
36 virtual StatusCode execute(const EventContext& ctx) const override final;
37
38
39 private:
46 template <typename Key_t,
47 typename... OtherKey_t>
48 StatusCode addDependency(const EventContext& ctx,
51 OtherKey_t... others) const;
58 std::set<std::uint32_t> getRobIDs(const EventContext& ctx,
59 const Identifier& moduleID) const;
62
63 Gaudi::Property<bool> m_printTable{this, "PrintTable", false};
64 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
66 SG::WriteCondHandleKey<IRegSelLUTCondData> m_tableKey{ this, "RegSelLUT", "", "Region Selector lookup table" };
70 SG::ReadCondHandleKey<MuonMDT_CablingMap> m_cablingMdtKey{this, "MdtCablingKey", "MuonMDT_CablingMap"};
72 SG::ReadCondHandleKey<Muon::RpcCablingMap> m_cablingRpcKey{this, "RpcCablingKey", "MuonNRPC_CablingMap"};
74 Gaudi::Property<bool> m_splitTrfCache{this, "splitTrfCache", false, ""};
75
76 };
77}
78#endif // MuonRegSelCondAlg_h
79
Base class for conditions algorithms.
emacs: this is -*- c++ -*-
Base class for conditions algorithms.
Conditions algorithm to create the region selector trigger tables from the R4 readout geoemetry.
virtual StatusCode initialize() override final
Gaudi::Property< bool > m_printTable
const MuonGMR4::MuonDetectorManager * m_detMgr
Detector manager.
SG::ReadCondHandleKey< Muon::RpcCablingMap > m_cablingRpcKey
Dependency on the phase II Rpc cabling map.
Gaudi::Property< bool > m_splitTrfCache
Instantiate a new transform cache to ensure lazy transform population in the event processing.
const MuonIdHelper & getIdHelper(const ActsTrk::DetectorType type) const
Retrieve the idHelper for the given detector technology.
virtual StatusCode execute(const EventContext &ctx) const override final
SG::ReadCondHandleKey< ActsTrk::DetectorAlignStore > m_alignKey
Dependency on the alignment constants.
StatusCode addDependency(const EventContext &ctx, SG::WriteCondHandle< IRegSelLUTCondData > &writeHandle, const SG::ReadCondHandleKey< Key_t > &key, OtherKey_t... others) const
Declare the dependency of the region selector table on the other keys set.
SG::WriteCondHandleKey< IRegSelLUTCondData > m_tableKey
Region selector table written by the algorithm.
std::set< std::uint32_t > getRobIDs(const EventContext &ctx, const Identifier &moduleID) const
Returns the list of ROB ids associated with the module.
SG::ReadCondHandleKey< MuonMDT_CablingMap > m_cablingMdtKey
Dependency on the Mdt cabling map.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
DetectorType
Simple enum to Identify the Type of the ACTS sub detector.
This header ties the generic definitions in this package.