3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
9 histsvc = CompFactory.THistSvc(name=
"THistSvc",
10 Output=[ f
"{name} DATAFILE='{name}.root' OPT='RECREATE'" ])
11 result.addService(histsvc)
18 from PixelGeoModelXml.ITkPixelGeoModelConfig
import ITkPixelReadoutGeometryCfg
21 kwargs.setdefault(
"NtupleFileName", f
"/{name}/")
22 kwargs.setdefault(
"HistPath", f
"/{name}/")
23 kwargs.setdefault(
"InputKey",
"ITkPixelClusters")
25 result.addEventAlgo(CompFactory.PixelClusterAnalysis(name, **kwargs))
32 from StripGeoModelXml.ITkStripGeoModelConfig
import ITkStripReadoutGeometryCfg
35 kwargs.setdefault(
"NtupleFileName", f
"/{name}/")
36 kwargs.setdefault(
"HistPath", f
"/{name}/")
37 kwargs.setdefault(
"InputKey",
"ITkStripClusters")
39 result.addEventAlgo(CompFactory.SCT_ClusterAnalysis(name, **kwargs))
46 if flags.Detector.EnableITkPixel:
49 if flags.Detector.EnableITkStrip: