CMS 3D CMS Logo

ak8PFJets_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from RecoJets.JetProducers.SubJetParameters_cfi import SubJetParameters
3 
4 
5 from RecoJets.JetProducers.ak4PFJets_cfi import ak4PFJets
6 
7 
10 ak8PFJets = ak4PFJets.clone(
11  rParam = 0.8,
12  jetPtMin = 50.0
13  )
14 
15 
18 ak8PFJetsPuppi = ak8PFJets.clone(
19  src = "particleFlow",
20  applyWeight = True,
21  srcWeights = cms.InputTag("puppi")
22  )
23 
24 ak8PFJetsCHS = ak8PFJets.clone(
25  src = "pfNoPileUpJME"
26  )
27 
28 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
29 pp_on_AA.toModify(ak8PFJetsCHS, src = "pfEmptyCollection")
30 pp_on_AA.toModify(ak8PFJetsPuppi, src = "pfEmptyCollection")
31 
32 ak8PFJetsCS = ak8PFJets.clone(
33  useConstituentSubtraction = cms.bool(True),
34  csRParam = cms.double(0.4),
35  csRho_EtaMax = ak8PFJets.Rho_EtaMax, # Just use the same eta for both C.S. and rho by default
36  useExplicitGhosts = cms.bool(True),
37  doAreaFastjet = True,
38  jetPtMin = 100.0
39  )
40 
41 
42 
45 ak8PFJetsCSConstituents = cms.EDProducer("PFJetConstituentSelector",
46  src = cms.InputTag("ak8PFJetsCS"),
47  cut = cms.string("pt > 100.0")
48  )
49 
50 ak8PFJetsCHSConstituents = cms.EDProducer("PFJetConstituentSelector",
51  src = cms.InputTag("ak8PFJetsCHS"),
52  cut = cms.string("pt > 100.0 && abs(rapidity()) < 2.4")
53  )
54 
55 ak8PFJetsPuppiConstituents = cms.EDProducer("PFJetConstituentSelector",
56  src = cms.InputTag("ak8PFJetsPuppi"),
57  cut = cms.string("pt > 100.0 && abs(rapidity()) < 2.4")
58  )
59 
60 
61 
64 ak8PFJetsCHSFiltered = ak8PFJets.clone(
65  src = "ak8PFJetsCHSConstituents:constituents",
66  useFiltering = cms.bool(True),
67  nFilt = cms.int32(3),
68  rFilt = cms.double(0.3),
69  useExplicitGhosts = cms.bool(True),
70  writeCompound = cms.bool(True),
71  jetCollInstanceName=cms.string("SubJets"),
72  jetPtMin = 100.0
73  )
74 
75 
76 ak8PFJetsCHSMassDropFiltered = ak8PFJets.clone(
77  src = "ak8PFJetsCHSConstituents:constituents",
78  useMassDropTagger = cms.bool(True),
79  muCut = cms.double(0.667),
80  yCut = cms.double(0.08),
81  writeCompound = cms.bool(True),
82  jetCollInstanceName=cms.string("SubJets"),
83  jetPtMin = 100.0
84  )
85 
86 ak8PFJetsCHSPruned = ak8PFJets.clone(
87  SubJetParameters,
88  src = "ak8PFJetsCHSConstituents:constituents",
89  usePruning = cms.bool(True),
90  useExplicitGhosts = cms.bool(True),
91  writeCompound = cms.bool(True),
92  jetCollInstanceName=cms.string("SubJets"),
93  jetPtMin = 100.0,
94  doAreaFastjet = False
95  )
96 
97 ak8PFJetsCHSSoftDrop = ak8PFJets.clone(
98  useSoftDrop = cms.bool(True),
99  src = "ak8PFJetsCHSConstituents:constituents",
100  zcut = cms.double(0.1),
101  beta = cms.double(0.0),
102  R0 = cms.double(0.8),
103  useExplicitGhosts = cms.bool(True),
104  writeCompound = cms.bool(True),
105  jetCollInstanceName=cms.string("SubJets"),
106  jetPtMin = 100.0
107  )
108 
109 
110 ak8PFJetsCHSTrimmed = ak8PFJets.clone(
111  useTrimming = cms.bool(True),
112  src = "ak8PFJetsCHSConstituents:constituents",
113  rFilt = cms.double(0.2),
114  trimPtFracMin = cms.double(0.03),
115  useExplicitGhosts = cms.bool(True),
116  jetPtMin = 100.0
117  )
118 
119 ak8PFJetsPuppiSoftDrop = ak8PFJetsCHSSoftDrop.clone(
120  src = "ak8PFJetsPuppiConstituents:constituents",
121  applyWeight = True,
122  srcWeights = cms.InputTag("puppi")
123  )
ak4PFJets_cfi