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",
"ITkPixelSpacePoints")
24 kwargs.setdefault(
"UsePixel",
True)
25 kwargs.setdefault(
"UseOverlap",
False)
27 result.addEventAlgo(CompFactory.SpacePointAnalysis(name, **kwargs))
34 from StripGeoModelXml.ITkStripGeoModelConfig
import ITkStripReadoutGeometryCfg
37 kwargs.setdefault(
"NtupleFileName", f
"/{name}/")
38 kwargs.setdefault(
"HistPath", f
"/{name}/")
39 kwargs.setdefault(
"InputKey",
"ITkStripSpacePoints")
40 kwargs.setdefault(
"UsePixel",
False)
41 kwargs.setdefault(
"InputOverlapKey",
"ITkOverlapSpacePoints")
42 kwargs.setdefault(
"UsePixel",
False)
43 kwargs.setdefault(
"UseOverlap",
True)
45 result.addEventAlgo(CompFactory.SpacePointAnalysis(name, **kwargs))
52 if flags.Detector.EnableITkPixel:
55 if flags.Detector.EnableITkStrip: