ATLAS Offline Software
ViewAlgsConfig.py
Go to the documentation of this file.
1 #Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 
6 def sTgcMeasViewAlgCfg(flags, name="sTgcMeasViewAlg", **kwargs):
7  result = ComponentAccumulator()
8  if not flags.Detector.GeometrysTGC:
9  return result
10  the_alg = CompFactory.MuonR4.sTgcMeasViewAlg(name, **kwargs)
11  result.addEventAlgo(the_alg, primary = True)
12  return result
13 
14 def RpcMeasViewAlgCfg(flags, name="RpcMeasViewAlg", **kwargs):
15  result = ComponentAccumulator()
16  if not flags.Detector.GeometryRPC:
17  return result
18  the_alg = CompFactory.MuonR4.RpcMeasViewAlg(name, **kwargs)
19  result.addEventAlgo(the_alg, primary = True)
20  return result
ViewAlgsConfig.RpcMeasViewAlgCfg
def RpcMeasViewAlgCfg(flags, name="RpcMeasViewAlg", **kwargs)
Definition: ViewAlgsConfig.py:14
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
ViewAlgsConfig.sTgcMeasViewAlgCfg
def sTgcMeasViewAlgCfg(flags, name="sTgcMeasViewAlg", **kwargs)
Definition: ViewAlgsConfig.py:6