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