ATLAS Offline Software
Loading...
Searching...
No Matches
L0MuonMDTConfig.py
Go to the documentation of this file.
1#Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2
3
4from AthenaConfiguration.ComponentFactory import CompFactory
5from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
6from AthenaCommon.Logging import logging
7
8_log = logging.getLogger(__name__)
9
10
11def L0MuonMDTSimCfg(flags, name="L0MuonMDTSim", **kwargs):
12 """
13 Config for L0Muon::MDTSimulation.
14
15 - Books THistSvc (stream 'EXPERT').
16 - MinWindow95 histograms are created/registered directly in C++ finalize()
17 via THistSvc.
18 """
19 acc = ComponentAccumulator()
20
21
22 # --- Algorithm ---
23 alg = CompFactory.L0Muon.MDTSimulation(name=name, **kwargs)
24
25
26
27 acc.addEventAlgo(alg, primary=True)
28 return acc
L0MuonMDTSimCfg(flags, name="L0MuonMDTSim", **kwargs)