CMS 3D CMS Logo

TeVJetSkim_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
4 # run on MIONAOD
5 RUN_ON_MINIAOD = False
6 
7 
8 # cuts
9 JET_CUT=("pt > 1000 && abs(eta)<5.0")
10 
11 # single lepton selectors
12 if RUN_ON_MINIAOD:
13  teVJets = cms.EDFilter("CandViewRefSelector",
14  src = cms.InputTag("slimmedJets"),
15  cut = cms.string(JET_CUT)
16  )
17 else:
18  teVJets = cms.EDFilter("CandViewRefSelector",
19  src = cms.InputTag("ak4PFJets"),
20  cut = cms.string(JET_CUT)
21  )
22 
23 teVJetsCountFilter = cms.EDFilter("CandViewCountFilter",
24  src = cms.InputTag("teVJets"),
25  minNumber = cms.uint32(1)
26  )
27 
28 
29 
30 #sequences
31 teVJetSequence = cms.Sequence(teVJets*teVJetsCountFilter )