ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonDetDescr
MuonRegionSelectorR4
src
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
9
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
10
11
#include "
MuonReadoutGeometryR4/MuonDetectorManager.h
"
12
#include "
ActsGeometryInterfaces/DetectorAlignStore.h
"
13
14
15
#include "
StoreGate/ReadCondHandleKey.h
"
16
#include "
StoreGate/WriteCondHandleKey.h
"
17
18
#include "
IRegionSelector/IRegSelLUTCondData.h
"
19
#include "
RegSelLUT/RegSelSiLUT.h
"
20
21
22
#include "
MuonCablingData/MuonMDT_CablingMap.h
"
23
#include "
MuonCablingData/RpcCablingMap.h
"
24
#include "
MuonTGC_Cabling/TgcCablingMap.h
"
25
26
27
28
namespace
MuonR4
{
31
class
RegionSelectorCondAlg
:
public
AthCondAlgorithm
{
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,
50
SG::WriteCondHandle<IRegSelLUTCondData>
& writeHandle,
51
const
SG::ReadCondHandleKey<Key_t>
& key,
52
OtherKey_t... others)
const
;
55
const
MuonIdHelper
&
getIdHelper
(
const
ActsTrk::DetectorType
type
)
const
;
59
std::set<std::uint32_t>
getRobIDs
(
const
EventContext& ctx,
60
const
Identifier
& moduleID)
const
;
62
const
MuonGMR4::MuonDetectorManager
*
m_detMgr
{
nullptr
};
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"
};
69
SG::ReadCondHandleKey<ActsTrk::DetectorAlignStore>
m_alignKey
{
this
,
"AlignKey"
,
""
};
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
,
""
};
79
Gaudi::Property<bool>
m_dumpObjVolumes
{
this
,
"dumpObjVolumes"
,
false
};
80
};
81
}
82
#endif
// MuonRegSelCondAlg_h
83
AthCondAlgorithm.h
Base class for conditions algorithms.
DetectorAlignStore.h
IRegSelLUTCondData.h
MuonMDT_CablingMap.h
MuonDetectorManager.h
ReadCondHandleKey.h
RegSelSiLUT.h
emacs: this is -*- c++ -*-
RpcCablingMap.h
TgcCablingMap.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
MuonGMR4::MuonDetectorManager
Definition
MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h:62
MuonIdHelper
Definition
MuonIdHelper.h:77
MuonR4::RegionSelectorCondAlg
Conditions algorithm to create the region selector trigger tables from the R4 readout geoemetry.
Definition
RegionSelectorCondAlg.h:31
MuonR4::RegionSelectorCondAlg::initialize
virtual StatusCode initialize() override final
Definition
RegionSelectorCondAlg.cxx:25
MuonR4::RegionSelectorCondAlg::m_printTable
Gaudi::Property< bool > m_printTable
Definition
RegionSelectorCondAlg.h:64
MuonR4::RegionSelectorCondAlg::m_cablingTgcKey
SG::ReadCondHandleKey< Muon::TgcCablingMap > m_cablingTgcKey
Dependency on the Tgc cabling map.
Definition
RegionSelectorCondAlg.h:75
MuonR4::RegionSelectorCondAlg::m_detMgr
const MuonGMR4::MuonDetectorManager * m_detMgr
Detector manager.
Definition
RegionSelectorCondAlg.h:62
MuonR4::RegionSelectorCondAlg::m_cablingRpcKey
SG::ReadCondHandleKey< Muon::RpcCablingMap > m_cablingRpcKey
Dependency on the phase II Rpc cabling map.
Definition
RegionSelectorCondAlg.h:73
MuonR4::RegionSelectorCondAlg::m_splitTrfCache
Gaudi::Property< bool > m_splitTrfCache
Instantiate a new transform cache to ensure lazy transform population in the event processing.
Definition
RegionSelectorCondAlg.h:77
MuonR4::RegionSelectorCondAlg::getIdHelper
const MuonIdHelper & getIdHelper(const ActsTrk::DetectorType type) const
Retrieve the idHelper for the given detector technology.
Definition
RegionSelectorCondAlg.cxx:54
MuonR4::RegionSelectorCondAlg::m_dumpObjVolumes
Gaudi::Property< bool > m_dumpObjVolumes
Dump the volumes from which the region selector tables are built.
Definition
RegionSelectorCondAlg.h:79
MuonR4::RegionSelectorCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
RegionSelectorCondAlg.cxx:111
MuonR4::RegionSelectorCondAlg::m_alignKey
SG::ReadCondHandleKey< ActsTrk::DetectorAlignStore > m_alignKey
Dependency on the alignment constants.
Definition
RegionSelectorCondAlg.h:69
MuonR4::RegionSelectorCondAlg::m_tableKey
SG::WriteCondHandleKey< IRegSelLUTCondData > m_tableKey
Region selector table written by the algorithm.
Definition
RegionSelectorCondAlg.h:67
MuonR4::RegionSelectorCondAlg::addCondDependency
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.
Definition
RegionSelectorCondAlg.cxx:36
MuonR4::RegionSelectorCondAlg::getRobIDs
std::set< std::uint32_t > getRobIDs(const EventContext &ctx, const Identifier &moduleID) const
Returns the list of ROB ids associated with the module.
Definition
RegionSelectorCondAlg.cxx:72
MuonR4::RegionSelectorCondAlg::m_cablingMdtKey
SG::ReadCondHandleKey< MuonMDT_CablingMap > m_cablingMdtKey
Dependency on the Mdt cabling map.
Definition
RegionSelectorCondAlg.h:71
MuonR4::RegionSelectorCondAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
RegionSelectorCondAlg.h:65
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
SG::WriteCondHandle
Definition
WriteCondHandle.h:26
ServiceHandle
Definition
ClusterMakerTool.h:36
ActsTrk::DetectorType
DetectorType
Simple enum to Identify the Type of the ACTS sub detector.
Definition
GeometryDefs.h:25
Identifier
Definition
IdentifierFieldParser.cxx:14
MuonR4
This header ties the generic definitions in this package.
Definition
GlobalPattern.h:14
type
Generated on
for ATLAS Offline Software by
1.17.0