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
25
26
27
28namespace MuonR4 {
32
33 public:
34 using AthCondAlgorithm::AthCondAlgorithm;
35
36 virtual StatusCode initialize() override final;
37 virtual StatusCode execute(const EventContext& ctx) const override final;
38
39
40 private:
47 template <typename Key_t,
48 typename... OtherKey_t>
49 StatusCode addCondDependency(const EventContext& ctx,
52 OtherKey_t... others) const;
59 std::set<std::uint32_t> getRobIDs(const EventContext& ctx,
60 const Identifier& moduleID) const;
63
64 Gaudi::Property<bool> m_printTable{this, "PrintTable", false};
65 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
67 SG::WriteCondHandleKey<IRegSelLUTCondData> m_tableKey{ this, "RegSelLUT", "", "Region Selector lookup table" };
71 SG::ReadCondHandleKey<MuonMDT_CablingMap> m_cablingMdtKey{this, "MdtCablingKey", "MuonMDT_CablingMap"};
73 SG::ReadCondHandleKey<Muon::RpcCablingMap> m_cablingRpcKey{this, "RpcCablingKey", "MuonNRPC_CablingMap"};
75 SG::ReadCondHandleKey<Muon::TgcCablingMap> m_cablingTgcKey{this, "TgcCablingKey", "MuonTgc_CablingMap"};
77 Gaudi::Property<bool> m_splitTrfCache{this, "splitTrfCache", false, ""};
78
79 };
80}
81#endif // MuonRegSelCondAlg_h
82
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
SG::ReadCondHandleKey< Muon::TgcCablingMap > m_cablingTgcKey
Dependency on the Tgc cabling map.
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.
SG::WriteCondHandleKey< IRegSelLUTCondData > m_tableKey
Region selector table written by the algorithm.
StatusCode addCondDependency(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.
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.