From b053d9849f2bbad16d26a877b8b5044d41af8de3 Mon Sep 17 00:00:00 2001 From: Andre Govinda Stahl Leiton Date: Wed, 23 Oct 2024 22:31:42 +0200 Subject: [PATCH] Add UPC monopole skim --- .../Skimming/python/PbPb_UPC_Monopole_cff.py | 15 +++++++++++++++ Configuration/Skimming/python/Skims_PbPb_cff.py | 15 ++++++++++++++- Configuration/Skimming/python/autoSkim.py | 4 ++++ 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 Configuration/Skimming/python/PbPb_UPC_Monopole_cff.py diff --git a/Configuration/Skimming/python/PbPb_UPC_Monopole_cff.py b/Configuration/Skimming/python/PbPb_UPC_Monopole_cff.py new file mode 100644 index 0000000000000..54a22318b1296 --- /dev/null +++ b/Configuration/Skimming/python/PbPb_UPC_Monopole_cff.py @@ -0,0 +1,15 @@ +import FWCore.ParameterSet.Config as cms + +# HLT UPC pixel thrust trigger +import HLTrigger.HLTfilters.hltHighLevel_cfi +hltUPCMonopole = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone() +hltUPCMonopole.HLTPaths = ["HLT_HIUPC_MinPixelThrust0p8_MaxPixelCluster10000_v*"] +hltUPCMonopole.throw = False +hltUPCMonopole.andOr = True + +from Configuration.Skimming.PDWG_EXOMONOPOLE_cff import EXOMonopoleSkimContent +upcMonopoleSkimContent = EXOMonopoleSkimContent.clone() +upcMonopoleSkimContent.outputCommands.append('keep FEDRawDataCollection_rawDataRepacker_*_*') + +# UPC monopole skim sequence +upcMonopoleSkimSequence = cms.Sequence(hltUPCMonopole) diff --git a/Configuration/Skimming/python/Skims_PbPb_cff.py b/Configuration/Skimming/python/Skims_PbPb_cff.py index d873b2ce0fdc5..e5f3d50e31418 100644 --- a/Configuration/Skimming/python/Skims_PbPb_cff.py +++ b/Configuration/Skimming/python/Skims_PbPb_cff.py @@ -62,4 +62,17 @@ dataTier = cms.untracked.string('RAW-RECO') ) -##################### +##################### + +from Configuration.Skimming.PbPb_UPC_Monopole_cff import * +upcMonopoleSkimPath = cms.Path( upcMonopoleSkimSequence ) +SKIMStreamUPCMonopole = cms.FilteredStream( + responsible = 'HI PAG', + name = 'UPCMonopole', + paths = (upcMonopoleSkimPath), + content = upcMonopoleSkimContent.outputCommands, + selectEvents = cms.untracked.PSet(), + dataTier = cms.untracked.string('USER') + ) + +##################### diff --git a/Configuration/Skimming/python/autoSkim.py b/Configuration/Skimming/python/autoSkim.py index 6828c21a7fe22..41fd589f92a64 100644 --- a/Configuration/Skimming/python/autoSkim.py +++ b/Configuration/Skimming/python/autoSkim.py @@ -40,6 +40,10 @@ #'SingleMuon': 'LogError+LogErrorMonitor', } +# For 2024 PbPb skims +for i_split in range(20): + autoSkim[f'HIForward{i_split}'] = 'UPCMonopole+LogError+LogErrorMonitor' + # For 2023 PbPb skims for i_split in range(32): autoSkim[f'HIPhysicsRawPrime{i_split}'] = 'PbPbEMu+PbPbZEE+PbPbZMM+LogError+LogErrorMonitor'