17 Write output file in AOD_IDTPM format, on top of the
18 histogram output file, for reprocessing
40 for trkAnaName
in flags.PhysVal.IDTPM.trkAnaNames:
42 offTracks = getattr( flags.PhysVal.IDTPM, trkAnaName+
'.OfflineTrkKey' )
43 trigTracks = getattr( flags.PhysVal.IDTPM, trkAnaName+
'.TrigTrkKey' )
44 itemsToRecord.update({
45 'xAOD::TrackParticleContainer#'+offTracks,
46 'xAOD::TrackParticleAuxContainer#'+offTracks+
'Aux.',
47 'xAOD::TrackParticleContainer#'+trigTracks,
48 'xAOD::TrackParticleAuxContainer#'+trigTracks+
'Aux.',
52 truthParticles = getattr( flags.PhysVal.IDTPM, trkAnaName+
'.TruthPartKey' )
53 itemsToRecord.update({
54 'xAOD::TruthParticleContainer#'+truthParticles,
55 'xAOD::TruthParticleAuxContainer#'+truthParticles+
'Aux.',
59 objStr = getattr( flags.PhysVal.IDTPM, trkAnaName+
".SelectOfflineObject" )
62 if objStr ==
'Electron':
63 itemsToRecord.update({
64 'xAOD::ElectronContainer#Electrons',
71 itemsToRecord.update({
72 'xAOD::MuonContainer#Muons',
79 itemsToRecord.update({
80 'xAOD::TauJetContainer#TauJets',
86 trkAnaInfo =
"TrkAnaInfo"+getattr( flags.PhysVal.IDTPM, trkAnaName+
'.anaTag' )
87 itemsToRecord.update({
88 'xAOD::BaseContainer#'+trkAnaInfo,
89 'xAOD::AuxContainerBase#'+trkAnaInfo+
'Aux.',
93 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
95 ItemList =
list( itemsToRecord ),
96 disableEventTag =
True ) )