3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
5 from ISF_Algorithms.CollectionMergerConfig
import CollectionMergerCfg
9 bare_collection_name =
"PixelHits"
10 mergeable_collection_suffix =
"_G4"
11 merger_input_property =
"PixelHits"
16 mergeable_collection_suffix,
17 merger_input_property,
19 kwargs.setdefault(
"LogicalVolumeNames", [
"Pixel::siBLayLog",
"Pixel::siLog",
"Pixel::dbmDiamondLog"])
20 kwargs.setdefault(
"OutputCollectionNames", [hits_collection_name])
24 result.setPrivateTools(CompFactory.PixelSensorSDTool(name, **kwargs))
29 kwargs.setdefault(
"LogicalVolumeNames", [
"Pixel::siBLayLog",
"Pixel::siLog"])
30 kwargs.setdefault(
"OutputCollectionNames", [
"PixelHits"])
32 result.setPrivateTools(CompFactory.PixelSensorSDTool(name, **kwargs))
37 kwargs.setdefault(
"LogicalVolumeNames", [
"Pixel::dbmDiamondLog"])
38 kwargs.setdefault(
"OutputCollectionNames", [
"DBMHits"])
40 result.setPrivateTools(CompFactory.PixelSensorSDTool(name, **kwargs))
45 bare_collection_name =
"ITkPixelHits"
46 mergeable_collection_suffix =
"_G4"
47 merger_input_property =
"ITkPixelHits"
52 mergeable_collection_suffix,
53 merger_input_property,
56 kwargs.setdefault(
"GmxSensor",
True)
57 kwargs.setdefault(
"LogicalVolumeNames", [
"ITkPixel::InnerBarrelSingleMod_Sensor",
58 "ITkPixel::InnerRingSingleMod_Sensor",
59 "ITkPixel::InnerQuadMod_Sensor",
60 "ITkPixel::OuterQuadMod_Sensor",
61 "ITkPixel::InnerBarrelQuadMod_Sensor",
62 "ITkPixel::InnerEndcapQuadMod_Sensor",
63 "ITkPixel::OuterBarrelQuadMod_Sensor",
64 "ITkPixel::OuterEndcapQuadMod_Sensor",
65 "ITkPixel::InclinedQuadMod_Sensor"])
66 kwargs.setdefault(
"OutputCollectionNames", [hits_collection_name])
70 result.setPrivateTools(CompFactory.PixelSensorSDTool(name, **kwargs))
74 bare_collection_name =
"PLR_Hits"
75 mergeable_collection_suffix =
"_G4"
76 merger_input_property =
"PLR_Hits"
81 mergeable_collection_suffix,
82 merger_input_property,
85 kwargs.setdefault(
"GmxSensor",
True)
86 if ConfigFlags.Detector.GeometryITkPixel:
88 kwargs.setdefault(
"LogicalVolumeNames", [
"ITkPixel::PLR_Sensor"])
90 kwargs.setdefault(
"LogicalVolumeNames", [
"PLR::PLR_Sensor"])
91 kwargs.setdefault(
"OutputCollectionNames", [hits_collection_name])
95 result.setPrivateTools(CompFactory.PixelSensorSDTool(name, **kwargs))