CMS 3D CMS Logo

RecoPFJets_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
8 from RecoJets.JetProducers.caTopTaggers_cff import cmsTopTagPFJetsCHS
10 from CommonTools.PileupAlgos.Puppi_cff import puppi
11 from CommonTools.PileupAlgos.softKiller_cfi import softKiller
12 from RecoJets.JetProducers.fixedGridRhoProducer_cfi import fixedGridRhoAll
13 from RecoJets.JetProducers.fixedGridRhoProducerFastjet_cfi import fixedGridRhoFastjetAll
14 from RecoJets.JetProducers.ak8PFJetsCHS_groomingValueMaps_cfi import ak8PFJetsCHSPrunedMass, ak8PFJetsCHSFilteredMass, ak8PFJetsCHSTrimmedMass, ak8PFJetsCHSSoftDropMass
15 
16 
17 fixedGridRhoFastjetCentral = fixedGridRhoFastjetAll.clone(
18  maxRapidity = cms.double(2.5)
19  )
20 
21 fixedGridRhoFastjetCentralChargedPileUp = fixedGridRhoFastjetAll.clone(
22  pfCandidatesTag = "pfPileUpAllChargedParticles",
23  maxRapidity = 2.5
24  )
25 
26 fixedGridRhoFastjetCentralNeutral = fixedGridRhoFastjetAll.clone(
27  pfCandidatesTag = "pfAllNeutralHadronsAndPhotons",
28  maxRapidity = 2.5
29  )
30 
31 recoPFJetsTask =cms.Task(fixedGridRhoAll,
32  fixedGridRhoFastjetAll,
33  fixedGridRhoFastjetCentral,
34  fixedGridRhoFastjetCentralChargedPileUp,
35  fixedGridRhoFastjetCentralNeutral,
36  ak4PFJets,
37  ak4PFJetsCHS,
38  ak8PFJetsCHS,
39  ak8PFJetsCHSConstituents,
40  ak8PFJetsCHSSoftDrop,
41  ak8PFJetsCHSSoftDropMass,
42  cmsTopTagPFJetsCHS,
43  pfNoPileUpJMETask
44  )
45 recoPFJets = cms.Sequence(recoPFJetsTask)
46 
47 recoAllPFJetsTask=cms.Task(fixedGridRhoAll,
48  fixedGridRhoFastjetAll,
49  fixedGridRhoFastjetCentral,
50  fixedGridRhoFastjetCentralChargedPileUp,
51  fixedGridRhoFastjetCentralNeutral,
52  ak4PFJets,ak8PFJets,
53  pfNoPileUpJMETask,
54  ak8PFJetsCHS,
55  ak8PFJetsCHSPruned,
56  ak8PFJetsCHSFiltered,
57  ak8PFJetsCHSTrimmed,
58  ak8PFJetsCHSSoftDrop,
59  ak4PFJetsCHS,
60  ak8PFJetsCHS,
61  ak8PFJetsCHSPruned,
62  ak8PFJetsCHSFiltered,
63  ak8PFJetsCHSTrimmed,
64  ak8PFJetsCHSSoftDrop,
65  ak8PFJetsCHSPrunedMass,
66  ak8PFJetsCHSTrimmedMass,
67  ak8PFJetsCHSSoftDropMass,
68  ak8PFJetsCHSFilteredMass,
69  ca15PFJetsCHSMassDropFiltered,
70  ca15PFJetsCHSFiltered
71  )
72 recoAllPFJets=cms.Sequence(recoAllPFJetsTask)
73 
74 recoPFJetsWithSubstructureTask=cms.Task(
75  fixedGridRhoAll,
76  fixedGridRhoFastjetAll,
77  fixedGridRhoFastjetCentral,
78  fixedGridRhoFastjetCentralChargedPileUp,
79  fixedGridRhoFastjetCentralNeutral,
80  ak4PFJets,ak8PFJets,
81  pfNoPileUpJMETask,
82  ak8PFJetsCHS,
83  ak8PFJetsCHSPruned,
84  ak8PFJetsCHSFiltered,
85  ak8PFJetsCHSTrimmed,
86  ak8PFJetsCHSSoftDrop,
87  ak4PFJetsCHS,
88  ak8PFJetsCHS,
89  ak8PFJetsCHSPruned,
90  ak8PFJetsCHSFiltered,
91  ak8PFJetsCHSTrimmed,
92  ak8PFJetsCHSSoftDrop,
93  ak8PFJetsCHSConstituents,
94  ak8PFJetsCHSPrunedMass,
95  ak8PFJetsCHSTrimmedMass,
96  ak8PFJetsCHSSoftDropMass,
97  ak8PFJetsCHSFilteredMass,
98  ca15PFJetsCHSMassDropFiltered,
99  ca15PFJetsCHSFiltered,
100  ak8PFJetsCS,
101  ak8PFJetsCSConstituents,
102  puppi,
103  ak4PFJetsPuppi,
104  softKiller,
105  ak4PFJetsSK
106  )
107 recoPFJetsWithSubstructure=cms.Sequence(recoPFJetsWithSubstructureTask)
108 
109 from RecoHI.HiJetAlgos.HiRecoPFJets_cff import PFTowers, akPu3PFJets, akPu4PFJets, kt4PFJetsForRho, hiFJRhoProducer, akCs4PFJets, pfNoPileUpJMEHI
110 
111 recoPFJetsHITask =cms.Task(fixedGridRhoAll,
112  fixedGridRhoFastjetAll,
113  fixedGridRhoFastjetCentral,
114  fixedGridRhoFastjetCentralChargedPileUp,
115  fixedGridRhoFastjetCentralNeutral,
116  pfNoPileUpJMEHI,
117  ak4PFJets,
118  ak4PFJetsCHS,
119  ak8PFJetsCHS,
120  PFTowers,
121  akPu3PFJets,
122  akPu4PFJets,
123  kt4PFJetsForRho,
124  hiFJRhoProducer,
125  akCs4PFJets
126  )
127 recoPFJetsHI = cms.Sequence(recoPFJetsHITask)