test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
jetCleaner_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 cleanPatJets = cms.EDProducer("PATJetCleaner",
4  src = cms.InputTag("selectedPatJets"),
5 
6  # preselection (any string-based cut on pat::Jet)
7  preselection = cms.string(''),
8 
9  # overlap checking configurables
10  checkOverlaps = cms.PSet(
11  muons = cms.PSet(
12  src = cms.InputTag("cleanPatMuons"),
13  algorithm = cms.string("byDeltaR"),
14  preselection = cms.string(""),
15  deltaR = cms.double(0.5),
16  checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
17  pairCut = cms.string(""),
18  requireNoOverlaps = cms.bool(False), # overlaps don't cause the jet to be discared
19  ),
20  electrons = cms.PSet(
21  src = cms.InputTag("cleanPatElectrons"),
22  algorithm = cms.string("byDeltaR"),
23  preselection = cms.string(""),
24  deltaR = cms.double(0.5),
25  checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
26  pairCut = cms.string(""),
27  requireNoOverlaps = cms.bool(False), # overlaps don't cause the jet to be discared
28  ),
29  photons = cms.PSet(
30  src = cms.InputTag("cleanPatPhotons"),
31  algorithm = cms.string("byDeltaR"),
32  preselection = cms.string(""),
33  deltaR = cms.double(0.5),
34  checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
35  pairCut = cms.string(""),
36  requireNoOverlaps = cms.bool(False), # overlaps don't cause the jet to be discared
37  ),
38  taus = cms.PSet(
39  src = cms.InputTag("cleanPatTaus"),
40  algorithm = cms.string("byDeltaR"),
41  preselection = cms.string(""),
42  deltaR = cms.double(0.5),
43  checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
44  pairCut = cms.string(""),
45  requireNoOverlaps = cms.bool(False), # overlaps don't cause the jet to be discared
46  ),
47  tkIsoElectrons = cms.PSet(
48  src = cms.InputTag("cleanPatElectrons"),
49  algorithm = cms.string("byDeltaR"),
50  preselection = cms.string("pt > 10 && trackIso < 3"),
51  deltaR = cms.double(0.3),
52  checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
53  pairCut = cms.string(""),
54  requireNoOverlaps = cms.bool(False), # overlaps don't cause the jet to be discared
55  )
56  ),
57  # finalCut (any string-based cut on pat::Jet)
58  finalCut = cms.string(''),
59 )