3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
11 volumeList += [
"AFP::AFP0"+
str(det)+
"_LogSIDSensor["+
str(num)+
"]"]
13 volumeList += [
"AFP::AFP0"+
str(det)+
"_LogSIDVacuumSensor[11]"]
16 for num
in range(11,45):
17 volumeList += [
"AFP::AFP0"+
str(det)+
"_Q"+
str(Q)+
"_LogTDSensor["+
str(num)+
"]"]
18 volumeList += [
"AFP::AFP0"+
str(det)+
"_Q"+
str(Q)+
"_LogRadiator["+
str(num)+
"]"]
19 volumeList += [
"AFP::AFP0"+
str(det)+
"_Q"+
str(Q)+
"_LGuide["+
str(num)+
"]"]
20 kwargs.setdefault(
"LogicalVolumeNames", volumeList)
21 kwargs.setdefault(
"OutputCollectionNames", [
"AFP_TDSimHitCollection",
"AFP_SIDSimHitCollection"])
22 result.setPrivateTools(CompFactory.AFP_SensitiveDetectorTool(name, **kwargs))
31 volumeList += [
"AFP::AFP0"+
str(det)+
"_LogSIDSensor["+
str(num)+
"]"]
33 volumeList += [
"AFP::AFP0"+
str(det)+
"_LogSIDVacuumSensor[11]"]
34 kwargs.setdefault(
"LogicalVolumeNames", volumeList)
35 kwargs.setdefault(
"OutputCollectionNames", [
"AFP_SIDSimHitCollection"])
36 result.setPrivateTools(CompFactory.AFP_SiDSensitiveDetectorTool(name, **kwargs))
45 for num
in range(11,45):
46 volumeList += [
"AFP::AFP0"+
str(det)+
"_Q"+
str(Q)+
"_LogTDSensor["+
str(num)+
"]"]
47 kwargs.setdefault(
"LogicalVolumeNames", volumeList)
48 kwargs.setdefault(
"OutputCollectionNames", [
"AFP_TDSimHitCollection"])
49 result.setPrivateTools(CompFactory.AFP_TDSensitiveDetectorTool(name, **kwargs))