ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonValidation
MuonObjectMarker
python
ObjectMarkerConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
3
from
AthenaConfiguration.ComponentFactory
import
CompFactory
4
5
def
SegmentMarkerAlgCfg
(flags, name = "SegmentMarkerAlg", **kwargs):
6
result = ComponentAccumulator()
7
the_alg = CompFactory.MuonR4.SegmentMarkerAlg(name, **kwargs)
8
result.addEventAlgo(the_alg)
9
return
result
10
11
def
MeasurementMarkerAlgCfg
(flags, name = "MeasurementMarkerAlg", **kwargs) :
12
result = ComponentAccumulator()
13
from
MuonConfig.MuonDataPrepConfig
import
PrimaryMeasContNamesCfg
14
kwargs.setdefault(
"PrdContainer"
, PrimaryMeasContNamesCfg(flags))
15
the_alg = CompFactory.MuonR4.MeasurementMarkerAlg(name, **kwargs)
16
result.addEventAlgo(the_alg, primary =
True
)
17
return
result
18
19
def
TruthMeasMarkerAlgCfg
(flags, name = "TruthMeasMarkerAlg", **kwargs):
20
result = ComponentAccumulator()
21
from
MuonConfig.MuonDataPrepConfig
import
PrimaryMeasContNamesCfg
22
kwargs.setdefault(
"PrdContainer"
, PrimaryMeasContNamesCfg(flags))
23
kwargs.setdefault(
"SegmentLinkKey"
,
"truthSegmentLinks"
)
24
the_alg = CompFactory.MuonR4.TruthMeasMarkerAlg(name, **kwargs)
25
result.addEventAlgo(the_alg, primary =
True
)
26
return
result
27
28
def
MuonSegmentFitParDecorAlgCfg
(flags,name = "MuonSegmentFitParDecorAlg", **kwargs):
29
result = ComponentAccumulator()
30
31
from
ActsAlignmentAlgs.AlignmentAlgsConfig
import
ActsGeometryContextAlgCfg
32
result.merge(ActsGeometryContextAlgCfg(flags))
33
34
if
not
flags.Detector.GeometryMDT: kwargs.setdefault(
"MdtKey"
,
""
)
35
if
not
flags.Detector.GeometryRPC: kwargs.setdefault(
"RpcKey"
,
""
)
36
if
not
flags.Detector.GeometryTGC: kwargs.setdefault(
"TgcKey"
,
""
)
37
if
not
flags.Detector.GeometryMM: kwargs.setdefault(
"MmKey"
,
""
)
38
if
not
flags.Detector.GeometrysTGC: kwargs.setdefault(
"sTgcKey"
,
""
)
39
the_alg = CompFactory.MuonR4.SegmentFitParDecorAlg(name, **kwargs)
40
result.addEventAlgo(the_alg, primary =
True
)
41
return
result
ObjectMarkerConfig.MeasurementMarkerAlgCfg
MeasurementMarkerAlgCfg(flags, name="MeasurementMarkerAlg", **kwargs)
Definition
ObjectMarkerConfig.py:11
ObjectMarkerConfig.TruthMeasMarkerAlgCfg
TruthMeasMarkerAlgCfg(flags, name="TruthMeasMarkerAlg", **kwargs)
Definition
ObjectMarkerConfig.py:19
ObjectMarkerConfig.SegmentMarkerAlgCfg
SegmentMarkerAlgCfg(flags, name="SegmentMarkerAlg", **kwargs)
Definition
ObjectMarkerConfig.py:5
ObjectMarkerConfig.MuonSegmentFitParDecorAlgCfg
MuonSegmentFitParDecorAlgCfg(flags, name="MuonSegmentFitParDecorAlg", **kwargs)
Definition
ObjectMarkerConfig.py:28
Generated on
for ATLAS Offline Software by
1.17.0