10 bare_collection_name =
"TRTUncompressedHits"
11 mergeable_collection_suffix =
"_G4"
12 merger_input_property =
"TRTUncompressedHits"
17 mergeable_collection_suffix,
18 merger_input_property,
21 logicalVolumeNames = [
"TRT::Gas"]
22 if flags.GeoModel.Run
in [LHCPeriod.Run2]
or flags.GeoModel.SQLiteDB:
23 logicalVolumeNames += [
"TRT::GasMA"]
24 if flags.GeoModel.Run
in [LHCPeriod.Run2, LHCPeriod.Run3]
and not flags.GeoModel.SQLiteDB:
25 logicalVolumeNames += [
"TRT::Gas_Ar",
"TRT::GasMA_Ar"]
28 kwargs.setdefault(
"LogicalVolumeNames", logicalVolumeNames)
29 kwargs.setdefault(
"OutputCollectionNames", [hits_collection_name])
33 result.setPrivateTools(CompFactory.TRTSensitiveDetectorTool(name, **kwargs))