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