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