11 outFlags = flags.Egamma.Keys.Output
16 if flags.Egamma.doCentral:
18 f
"xAOD::ElectronContainer#{outFlags.Electrons}",
19 f
"xAOD::ElectronAuxContainer#{outFlags.Electrons}"
20 f
"Aux.{outFlags.ElectronsSuppESD}"]
22 f
"xAOD::PhotonContainer#{outFlags.Photons}",
23 f
"xAOD::PhotonAuxContainer#{outFlags.Photons}"
24 f
"Aux.{outFlags.PhotonsSuppESD}"]
26 f
"xAOD::CaloClusterContainer#{outFlags.CaloClusters}",
27 f
"xAOD::CaloClusterAuxContainer#{outFlags.CaloClusters}"
28 f
"Aux.{outFlags.CaloClustersSuppESD}"]
30 f
"xAOD::CaloClusterContainer#{outFlags.EgammaLargeClusters}",
31 f
"xAOD::CaloClusterAuxContainer#{outFlags.EgammaLargeClusters}"
32 f
"Aux.{outFlags.EgammaLargeClustersSuppESD}"]
34 f
"CaloClusterCellLinkContainer#{outFlags.CaloClusters}"
37 f
"CaloClusterCellLinkContainer#{outFlags.EgammaLargeClusters}"
41 f
"xAOD::ElectronContainer#{outFlags.Electrons}",
42 f
"xAOD::ElectronAuxContainer#{outFlags.Electrons}"
43 f
"Aux.{outFlags.ElectronsSuppAOD}"]
45 f
"xAOD::PhotonContainer#{outFlags.Photons}",
46 f
"xAOD::PhotonAuxContainer#{outFlags.Photons}"
47 f
"Aux.{outFlags.PhotonsSuppAOD}"]
49 f
"xAOD::CaloClusterContainer#{outFlags.CaloClusters}",
50 f
"xAOD::CaloClusterAuxContainer#{outFlags.CaloClusters}"
51 f
"Aux.{outFlags.CaloClustersSuppAOD}"]
53 f
"CaloClusterCellLinkContainer#{outFlags.CaloClusters}_links"]
55 if flags.Egamma.doForward:
57 f
"xAOD::ElectronContainer#{outFlags.ForwardElectrons}",
58 f
"xAOD::ElectronAuxContainer#{outFlags.ForwardElectrons}"
59 f
"Aux.{outFlags.ForwardElectronsSuppESD}"]
61 f
"xAOD::CaloClusterContainer#{outFlags.ForwardClusters}",
62 f
"xAOD::CaloClusterAuxContainer#{outFlags.ForwardClusters}"
63 f
"Aux.{outFlags.ForwardClustersSuppESD}"]
65 f
"xAOD::CaloClusterContainer#{outFlags.EgammaLargeFWDClusters}",
66 f
"xAOD::CaloClusterAuxContainer#{outFlags.EgammaLargeFWDClusters}"
67 f
"Aux.{outFlags.EgammaLargeFWDClustersSuppESD}"]
69 f
"CaloClusterCellLinkContainer#{outFlags.ForwardClusters}"
72 f
"CaloClusterCellLinkContainer#{outFlags.EgammaLargeFWDClusters}"
76 f
"xAOD::ElectronContainer#{outFlags.ForwardElectrons}",
77 f
"xAOD::ElectronAuxContainer#{outFlags.ForwardElectrons}"
78 f
"Aux.{outFlags.ForwardElectronsSuppAOD}"]
80 f
"xAOD::CaloClusterContainer#{outFlags.ForwardClusters}",
81 f
"xAOD::CaloClusterAuxContainer#{outFlags.ForwardClusters}"
82 f
"Aux.{outFlags.ForwardClustersSuppAOD}"]
84 f
"CaloClusterCellLinkContainer#{outFlags.ForwardClusters}"
87 if flags.Egamma.doTracking:
89 f
"xAOD::TrackParticleContainer#{outFlags.GSFTrackParticles}",
90 f
"xAOD::TrackParticleAuxContainer#{outFlags.GSFTrackParticles}"
91 f
"Aux.{outFlags.GSFTrackParticlesSuppESD}"]
93 f
"TrackCollection#{outFlags.GSFTracks}"]
96 f
"xAOD::TrackParticleContainer#{outFlags.GSFTrackParticles}",
97 f
"xAOD::TrackParticleAuxContainer#{outFlags.GSFTrackParticles}"
98 f
"Aux.{outFlags.GSFTrackParticlesSuppAOD}"]
100 if (flags.Tracking.writeExtendedSi_PRDInfo
or
101 flags.Tracking.writeExtendedTRT_PRDInfo):
103 if flags.Detector.GeometryITk:
105 f
"xAOD::TrackStateValidationContainer#{extension}ITkPixel_MSOSs",
106 f
"xAOD::TrackStateValidationAuxContainer#{extension}ITkPixel_MSOSsAux.",
107 f
"xAOD::TrackStateValidationContainer#{extension}ITkStrip_MSOSs",
108 f
"xAOD::TrackStateValidationAuxContainer#{extension}ITkStrip_MSOSsAux."
112 f
"xAOD::TrackStateValidationContainer#{extension}Pixel_MSOSs",
113 f
"xAOD::TrackStateValidationAuxContainer#{extension}Pixel_MSOSsAux.",
114 f
"xAOD::TrackStateValidationContainer#{extension}SCT_MSOSs",
115 f
"xAOD::TrackStateValidationAuxContainer#{extension}SCT_MSOSsAux.",
116 f
"xAOD::TrackStateValidationContainer#{extension}TRT_MSOSs",
117 f
"xAOD::TrackStateValidationAuxContainer#{extension}TRT_MSOSsAux."
120 if flags.Egamma.doConversionBuilding:
122 f
"xAOD::VertexContainer#{outFlags.ConversionVertices}",
123 f
"xAOD::VertexAuxContainer#{outFlags.ConversionVertices}"
124 f
"Aux.{outFlags.ConversionVerticesSuppESD}"]
127 f
"xAOD::VertexContainer#{outFlags.ConversionVertices}",
128 f
"xAOD::VertexAuxContainer#{outFlags.ConversionVertices}"
129 f
"Aux.{outFlags.ConversionVerticesSuppAOD}"]
131 if flags.Egamma.doTruthAssociation:
133 f
"xAOD::TruthParticleContainer#{outFlags.TruthParticles}",
134 f
"xAOD::TruthParticleAuxContainer#{outFlags.TruthParticles}"
135 f
"Aux.{outFlags.TruthParticlesSuppESD}"]
137 toAOD += [f
"xAOD::TruthParticleContainer#{outFlags.TruthParticles}",
138 f
"xAOD::TruthParticleAuxContainer#{outFlags.TruthParticles}"
139 f
"Aux.{outFlags.TruthParticlesSuppAOD}"]
141 if flags.Output.doWriteESD:
142 from OutputStreamAthenaPool.OutputStreamConfig
import addToESD
145 if flags.Output.doWriteAOD:
146 from OutputStreamAthenaPool.OutputStreamConfig
import addToAOD