Skip to content

Commit

Permalink
Merge pull request #41150 from eyigitba/L1T_addL1AODEventContent_cosm…
Browse files Browse the repository at this point in the history
…ics_130X_Mar23

[13_0_X] Add L1 Stage2 Digis to Cosmics AOD event content
  • Loading branch information
cmsbuild authored Apr 12, 2023
2 parents 9e0f44c + cbc0ed2 commit b093b87
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
AODEventContent.outputCommands.extend(EvtScalersAOD.outputCommands)
AODEventContent.outputCommands.extend(OnlineMetaDataContent.outputCommands)
AODEventContent.outputCommands.extend(TcdsEventContent.outputCommands)
AODEventContent.outputCommands.extend(L1TriggerAOD.outputCommands)
#
#
# RAWSIM Data Tier definition
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,17 @@
'keep LumiSummary_lumiProducer_*_*'
)
)

def _appendStage2Digis(obj):
l1Stage2Digis = [
'keep *_gtStage2Digis_*_*',
'keep *_gmtStage2Digis_*_*',
'keep *_caloStage2Digis_*_*',
]
obj.outputCommands += l1Stage2Digis

# adding them to all places where we had l1extraParticles
from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
stage2L1Trigger.toModify(L1TriggerRECO, func=_appendStage2Digis)
stage2L1Trigger.toModify(L1TriggerAOD, func=_appendStage2Digis)
stage2L1Trigger.toModify(L1TriggerFEVTDEBUG, func=_appendStage2Digis)

0 comments on commit b093b87

Please sign in to comment.