Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TeV jet RAW-RECO skim (backport) #43703

Merged
merged 1 commit into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions DPGAnalysis/Skims/python/Skims_DPG_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,20 @@

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

from DPGAnalysis.Skims.TeVJetSkim_cff import *
teVJetPath = cms.Path( teVJetSequence )

SKIMStreamTeVJet = cms.FilteredStream(
responsible = 'L1 DPG/JME POG',
name = 'TeVJet',
paths = ( teVJetPath ),
content = skimContent.outputCommands,
selectEvents = cms.untracked.PSet(),
dataTier = cms.untracked.string('RAW-RECO')
)

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

from DPGAnalysis.Skims.HighMETSkim_cff import *
condPath = cms.Path(CondMETSelSeq)
#pfPath = cms.Path(pfMETSelSeq)
Expand Down
31 changes: 31 additions & 0 deletions DPGAnalysis/Skims/python/TeVJetSkim_cff.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import FWCore.ParameterSet.Config as cms


# run on MIONAOD
RUN_ON_MINIAOD = False


# cuts
JET_CUT=("pt > 1000 && abs(eta)<5.0")

# single lepton selectors
if RUN_ON_MINIAOD:
teVJets = cms.EDFilter("CandViewRefSelector",
src = cms.InputTag("slimmedJets"),
cut = cms.string(JET_CUT)
)
else:
teVJets = cms.EDFilter("CandViewRefSelector",
src = cms.InputTag("ak4PFJets"),
cut = cms.string(JET_CUT)
)

teVJetsCountFilter = cms.EDFilter("CandViewCountFilter",
src = cms.InputTag("teVJets"),
minNumber = cms.uint32(1)
)



#sequences
teVJetSequence = cms.Sequence(teVJets*teVJetsCountFilter )