Skip to content
Snippets Groups Projects

Write event shapes to disk in CA configuration

Merged Chris Malena Delitzsch requested to merge cdelitzs/athena:master-event-shapes-CA into master
1 file
+ 9
1
Compare changes
  • Side-by-side
  • Inline
@@ -29,6 +29,14 @@ def addJetsToOutput(flags,jetdefs, toAOD=True, toESD=True):
# auxprefix = "Trig"
# jetAODList += [ f"xAOD::Jet{auxprefix}AuxContainer#{jetdef.fullname()}Aux." ,
# Store event shapes when jets are being stored to output
jetList += ["xAOD::EventShape#Kt4EMPFlowEventShape",
"xAOD::EventShapeAuxInfo#Kt4EMPFlowEventShapeAux.",
"xAOD::EventShape#Kt4EMTopoOriginEventShape",
"xAOD::EventShapeAuxInfo#Kt4EMTopoOriginEventShapeAux.",
"xAOD::EventShape#Kt4LCTopoOriginEventShape",
"xAOD::EventShapeAuxInfo#Kt4LCTopoOriginEventShapeAux."]
from OutputStreamAthenaPool.OutputStreamConfig import addToESD, addToAOD
if toESD:
result.merge(addToESD(flags, jetList))
@@ -59,4 +67,4 @@ def JetRecoSteeringCfg(flags):
if flags.Output.doWriteESD:
result.merge(addJetsToOutput(flags, jetdefs, toAOD=False, toESD=True))
return result
\ No newline at end of file
return result
Loading