CMS 3D CMS Logo

RecoPFJets_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
9 from CommonTools.PileupAlgos.Puppi_cff import puppi
10 from CommonTools.PileupAlgos.softKiller_cfi import softKiller
11 from RecoJets.JetProducers.fixedGridRhoProducer_cfi import fixedGridRhoAll
12 from RecoJets.JetProducers.fixedGridRhoProducerFastjet_cfi import fixedGridRhoFastjetAll
13 from RecoJets.JetProducers.ak8PFJetsPuppi_groomingValueMaps_cfi import ak8PFJetsPuppiSoftDropMass
14 
15 
16 fixedGridRhoFastjetCentral = fixedGridRhoFastjetAll.clone(
17  maxRapidity = 2.5
18  )
19 
20 fixedGridRhoFastjetCentralChargedPileUp = fixedGridRhoFastjetAll.clone(
21  pfCandidatesTag = "pfPileUpAllChargedParticles",
22  maxRapidity = 2.5
23  )
24 
25 fixedGridRhoFastjetCentralNeutral = fixedGridRhoFastjetAll.clone(
26  pfCandidatesTag = "pfAllNeutralHadronsAndPhotons",
27  maxRapidity = 2.5
28  )
29 
30 recoPFJetsTask =cms.Task(fixedGridRhoAll,
31  fixedGridRhoFastjetAll,
32  fixedGridRhoFastjetCentral,
33  fixedGridRhoFastjetCentralChargedPileUp,
34  fixedGridRhoFastjetCentralNeutral,
35  ak4PFJets,
36  pfNoPileUpJMETask,
37  ak4PFJetsCHS,
38  puppi,
39  ak4PFJetsPuppi,
40  ak8PFJetsPuppi,
41  ak8PFJetsPuppiConstituents,
42  ak8PFJetsPuppiSoftDrop,
43  ak8PFJetsPuppiSoftDropMass
44  )
45 recoPFJets = cms.Sequence(recoPFJetsTask)
46 
47 recoAllPFJetsTask=cms.Task(fixedGridRhoAll,
48  fixedGridRhoFastjetAll,
49  fixedGridRhoFastjetCentral,
50  fixedGridRhoFastjetCentralChargedPileUp,
51  fixedGridRhoFastjetCentralNeutral,
52  ak4PFJets,
53  ak8PFJets,
54  pfNoPileUpJMETask,
55  ak4PFJetsCHS,
56  puppi,
57  ak4PFJetsPuppi,
58  ak8PFJetsPuppi,
59  ak8PFJetsPuppiSoftDrop,
60  ak8PFJetsPuppiSoftDropMass
61  )
62 recoAllPFJets=cms.Sequence(recoAllPFJetsTask)
63 
64 recoPFJetsWithSubstructureTask=cms.Task(
65  fixedGridRhoAll,
66  fixedGridRhoFastjetAll,
67  fixedGridRhoFastjetCentral,
68  fixedGridRhoFastjetCentralChargedPileUp,
69  fixedGridRhoFastjetCentralNeutral,
70  ak4PFJets,
71  ak8PFJets,
72  pfNoPileUpJMETask,
73  ak4PFJetsCHS,
74  puppi,
75  ak4PFJetsPuppi,
76  ak8PFJetsPuppi,
77  ak8PFJetsPuppiSoftDrop,
78  ak8PFJetsPuppiConstituents,
79  ak8PFJetsPuppiSoftDropMass,
80  ak8PFJetsCS,
81  ak8PFJetsCSConstituents,
82  softKiller,
83  ak4PFJetsSK
84  )
85 recoPFJetsWithSubstructure=cms.Sequence(recoPFJetsWithSubstructureTask)
86 
87 from RecoHI.HiJetAlgos.HiRecoPFJets_cff import PFTowers, akPu3PFJets, akPu4PFJets, kt4PFJetsForRho, ak4PFJetsForFlow, akCs4PFJets, pfEmptyCollection, hiFJRhoFlowModulation, hiPuRho, hiPFCandCleanerforJets
88 from RecoHI.HiJetAlgos.hiFJRhoProducer import hiFJRhoProducer
89 
90 
91 recoPFJetsHITask =cms.Task(fixedGridRhoAll,
92  fixedGridRhoFastjetAll,
93  fixedGridRhoFastjetCentral,
94  fixedGridRhoFastjetCentralChargedPileUp,
95  fixedGridRhoFastjetCentralNeutral,
96  pfEmptyCollection,
97  ak4PFJets,
98  ak4PFJetsCHS,
99  PFTowers,
100  akPu3PFJets,
101  akPu4PFJets,
102  kt4PFJetsForRho,
103  hiPFCandCleanerforJets,
104  ak4PFJetsForFlow,
105  hiFJRhoProducer,
106  hiPuRho,
107  hiFJRhoFlowModulation,
108  akCs4PFJets
109  )
110 recoPFJetsHI = cms.Sequence(recoPFJetsHITask)
111