Skip to content

Commit

Permalink
Merge pull request #46434 from stahlleiton/UPCMonoSkim_14_2_X
Browse files Browse the repository at this point in the history
Add UPC monopole skim for 2024 PbPb
  • Loading branch information
cmsbuild authored Oct 30, 2024
2 parents 0205e9f + b053d98 commit 515a950
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
15 changes: 15 additions & 0 deletions Configuration/Skimming/python/PbPb_UPC_Monopole_cff.py
Original file line number Diff line number Diff line change
@@ -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)
15 changes: 14 additions & 1 deletion Configuration/Skimming/python/Skims_PbPb_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
)

#####################
4 changes: 4 additions & 0 deletions Configuration/Skimming/python/autoSkim.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 515a950

Please sign in to comment.