ATLAS Offline Software
MuonHoughDataNtuple.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 MakeMuonHoughDataNtuple(flags, name="MuonHoughDataNtuple", **kwargs):
7  result = ComponentAccumulator()
8  from MuonGeoModelTestR4.testGeoModel import setupHistSvcCfg
9  result.merge(setupHistSvcCfg(flags, out_file="MuonHoughDataNtuple.root", out_stream="MuonHoughDataNtuple"))
10  theAlg = CompFactory.MuonHoughDataNtuple(name, **kwargs)
11  result.addEventAlgo(theAlg, primary=True)
12  return result
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.testGeoModel.setupHistSvcCfg
def setupHistSvcCfg(flags, out_file="MdtGeoDump.root", out_stream="GEOMODELTESTER")
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/python/testGeoModel.py:54
MuonHoughDataNtuple.MakeMuonHoughDataNtuple
def MakeMuonHoughDataNtuple(flags, name="MuonHoughDataNtuple", **kwargs)
Definition: MuonHoughDataNtuple.py:6