2from AthenaCommon.Logging
import logging
3from AthenaConfiguration.ComponentFactory
import CompFactory
4from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
8 mlog = logging.getLogger(name)
9 mlog.debug(
'Start configuration')
10 result = ComponentAccumulator()
12 kwargs.setdefault(
"CollectionName", collectionName)
13 SiHitsTestTool = CompFactory.SiHitsTestTool
19 mlog = logging.getLogger(name)
20 mlog.debug(
'Start configuration')
21 result = ComponentAccumulator()
23 kwargs.setdefault(
"CollectionName", collectionName)
24 TrtHitsTestTool = CompFactory.TrtHitsTestTool
30 mlog = logging.getLogger(name+detectorName)
31 mlog.debug(
'Start configuration')
32 result = ComponentAccumulator()
34 kwargs.setdefault(
"DetectorName", detectorName)
35 LArHitsTestTool = CompFactory.LArHitsTestTool
41 mlog = logging.getLogger(name)
42 mlog.debug(
'Start configuration')
43 result = ComponentAccumulator()
45 kwargs.setdefault(
"TestMBTS", testMBTS)
46 TileHitsTestTool = CompFactory.TileHitsTestTool
52 mlog = logging.getLogger(name)
53 mlog.debug(
'Start configuration')
54 result = ComponentAccumulator()
56 kwargs.setdefault(
"CalibHitType", calibHitType)
57 CaloCalibrationHitsTestTool = CompFactory.CaloCalibrationHitsTestTool
63 mlog = logging.getLogger(name+detectorName)
64 mlog.debug(
'Start configuration')
65 result = ComponentAccumulator()
67 kwargs.setdefault(
"DetectorName", detectorName)
68 MDTHitsTestTool = CompFactory.MDTHitsTestTool
74 mlog = logging.getLogger(name+detectorName)
75 mlog.debug(
'Start configuration')
76 result = ComponentAccumulator()
78 kwargs.setdefault(
"DetectorName", detectorName)
79 RPCHitsTestTool = CompFactory.RPCHitsTestTool
85 mlog = logging.getLogger(name+detectorName)
86 mlog.debug(
'Start configuration')
87 result = ComponentAccumulator()
89 kwargs.setdefault(
"DetectorName", detectorName)
90 CSCHitsTestTool = CompFactory.CSCHitsTestTool
96 mlog = logging.getLogger(name+detectorName)
97 mlog.debug(
'Start configuration')
98 result = ComponentAccumulator()
100 kwargs.setdefault(
"DetectorName", detectorName)
101 TGCHitsTestTool = CompFactory.TGCHitsTestTool
107 mlog = logging.getLogger(name)
108 mlog.debug(
'Start configuration')
109 result = ComponentAccumulator()
111 LucidHitsTestTool = CompFactory.LucidHitsTestTool
117 mlog = logging.getLogger(name)
118 mlog.debug(
'Start configuration')
119 result = ComponentAccumulator()
121 ALFASimHitsTestTool = CompFactory.ALFA_SimHitsTestTool
122 result.setPrivateTools(ALFASimHitsTestTool(name, **kwargs))
127 mlog = logging.getLogger(name)
128 mlog.debug(
'Start configuration')
129 result = ComponentAccumulator()
131 ZDCHitsTestTool = CompFactory.ZDCHitsTestTool
137 mlog = logging.getLogger(name)
138 mlog.debug(
'Start configuration')
139 result = ComponentAccumulator()
141 kwargs.setdefault(
"CollectionName", collectionName)
142 LayerTestTool = CompFactory.LayerTestTool
148 mlog = logging.getLogger(name)
149 mlog.debug(
'Start configuration')
150 result = ComponentAccumulator()
152 kwargs.setdefault(
"McEventKey", mcEventKey)
153 TruthTestTool = CompFactory.TruthTestTool
LArHitsTestToolCfg(detectorName, name="LArHitsTestTool", **kwargs)
CaloCalibrationHitsTestToolCfg(calibHitType, name="CaloCalibrationHitsTestTool", **kwargs)
RPCHitsTestToolCfg(detectorName, name="RPCHitsTestTool", **kwargs)
LucidHitsTestToolCfg(name="LucidHitsTestTool", **kwargs)
ALFASimHitsTestToolCfg(name="ALFASimHitsTestTool", **kwargs)
TGCHitsTestToolCfg(detectorName, name="TGCHitsTestTool", **kwargs)
SiHitsTestToolCfg(collectionName, name="SiHitsTestTool", **kwargs)
LayerTestToolCfg(collectionName, name="LayerTestTool", **kwargs)
ZDCHitsTestToolCfg(name="ZDCHitsTestTool", **kwargs)
TruthTestToolCfg(mcEventKey, name="TruthTestTool", **kwargs)
TrtHitsTestToolCfg(collectionName, name="TRTHitsTestTool", **kwargs)
MDTHitsTestToolCfg(detectorName, name="MDTHitsTestTool", **kwargs)
CSCHitsTestToolCfg(detectorName, name="CSCHitsTestTool", **kwargs)
TileHitsTestToolCfg(testMBTS, name="TileHitsTestTool", **kwargs)