Skip to content

Commit

Permalink
PbPbHighPtJet skim, for 2024 datataking, backport to 14_1_X
Browse files Browse the repository at this point in the history
  • Loading branch information
cfmcginn committed Oct 25, 2024
1 parent cb9f94a commit b9e3ee3
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
27 changes: 27 additions & 0 deletions Configuration/Skimming/python/PbPb_HighPtJets_cff.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import FWCore.ParameterSet.Config as cms

# HLT PU-subtracted AK4 Calo. Jet trigger, highest threshold w/ full eta coverage
import HLTrigger.HLTfilters.hltHighLevel_cfi
hltPbPbHighPtJet = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone()
hltPbPbHighPtJet.HLTPaths = ["HLT_HIPuAK4CaloJet120Eta5p1_v*"]
hltPbPbHighPtJet.throw = False
hltPbPbHighPtJet.andOr = True

# At reco, add filters kicking pT up to 300 GeV
jetPtCut = 300
jetEtaCut = 2.4
pfJetSelector = cms.EDFilter(
"EtaPtMinCandViewSelector",
src = cms.InputTag("akCs4PFJets"),
ptMin = cms.double(jetPtCut),
etaMin = cms.double(-jetEtaCut),
etaMax = cms.double(jetEtaCut)
)
pfJetFilter = cms.EDFilter(
"CandViewCountFilter",
src = cms.InputTag("pfJetSelector"),
minNumber = cms.uint32(1)
)

# PbPb High-pT Jets skim sequence
pbpbHighPtJetSkimSequence = cms.Sequence(hltPbPbHighPtJet * pfJetSelector * pfJetFilter)
13 changes: 13 additions & 0 deletions Configuration/Skimming/python/Skims_PbPb_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,16 @@
)

#####################

from Configuration.Skimming.PbPb_HighPtJets_cff import *
HighPtJetsSkimPathPbPb = cms.Path( pbpbHighPtJetSkimSequence )
SKIMStreamPbPbHighPtJets = cms.FilteredStream(
responsible = 'HI PAG',
name = 'PbPbHighPtJets',
paths = (HighPtJetsSkimPathPbPb),
content = skimFEVTContent.outputCommands,
selectEvents = cms.untracked.PSet(),
dataTier = cms.untracked.string('RAW-RECO')
)

#####################
2 changes: 1 addition & 1 deletion Configuration/Skimming/python/autoSkim.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

# For 2023 PbPb skims
for i_split in range(32):
autoSkim[f'HIPhysicsRawPrime{i_split}'] = 'PbPbEMu+PbPbZEE+PbPbZMM+LogError+LogErrorMonitor'
autoSkim[f'HIPhysicsRawPrime{i_split}'] = 'PbPbEMu+PbPbZEE+PbPbZMM+PbPbHighPtJets+LogError+LogErrorMonitor'

autoSkimRunII = {
'BTagCSV' : 'LogError+LogErrorMonitor',
Expand Down

0 comments on commit b9e3ee3

Please sign in to comment.