CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoPFJets_cff.py
Go to the documentation of this file.
2 
3 from RecoJets.JetProducers.sc5PFJets_cfi import sisCone5PFJets
4 from RecoJets.JetProducers.ic5PFJets_cfi import iterativeCone5PFJets
5 from RecoJets.JetProducers.ak5PFJets_cfi import ak5PFJets
6 from RecoJets.JetProducers.ak5PFJetsTrimmed_cfi import ak5PFJetsTrimmed
7 from RecoJets.JetProducers.ak5PFJetsFiltered_cfi import ak5PFJetsFiltered, ak5PFJetsMassDropFiltered
8 from RecoJets.JetProducers.ak5PFJetsPruned_cfi import ak5PFJetsPruned
9 from RecoJets.JetProducers.gk5PFJets_cfi import gk5PFJets
10 from RecoJets.JetProducers.kt4PFJets_cfi import kt4PFJets
11 from RecoJets.JetProducers.ca4PFJets_cfi import ca4PFJets
12 from RecoJets.JetProducers.fixedGridRhoProducer_cfi import fixedGridRhoAll
13 from RecoJets.JetProducers.fixedGridRhoProducerFastjet_cfi import fixedGridRhoFastjetAll
14 
15 sisCone7PFJets = sisCone5PFJets.clone( rParam = 0.7 )
16 ak7PFJets = ak5PFJets.clone( rParam = 0.7 )
17 gk7PFJets = gk5PFJets.clone( rParam = 0.7 )
18 kt6PFJets = kt4PFJets.clone( rParam = 0.6 )
19 ca6PFJets = ca4PFJets.clone( rParam = 0.6 )
20 
21 #compute areas for Fastjet PU subtraction
22 kt6PFJets.doRhoFastjet = True
23 kt6PFJets.doAreaFastjet = True
24 #use active areas and not Voronoi tessellation for the moment
25 kt6PFJets.voronoiRfact = 0.9
26 ak5PFJets.doAreaFastjet = True
27 ak5PFJetsTrimmed.doAreaFastjet = True
28 ak7PFJets.doAreaFastjet = True
29 
30 
31 
32 
33 kt6PFJetsCentralChargedPileUp = kt6PFJets.clone(
34  src = cms.InputTag("pfPileUpAllChargedParticles"),
35  Ghost_EtaMax = cms.double(3.1),
36  Rho_EtaMax = cms.double(2.5)
37  )
38 
39 kt6PFJetsCentralNeutral = kt6PFJets.clone(
40  src = cms.InputTag("pfAllNeutralHadronsAndPhotons"),
41  Ghost_EtaMax = cms.double(3.1),
42  Rho_EtaMax = cms.double(2.5),
43  inputEtMin = cms.double(0.5)
44  )
45 
46 
47 
48 kt6PFJetsCentralNeutralTight = kt6PFJetsCentralNeutral.clone(
49  inputEtMin = cms.double(1.0)
50  )
51 
52 
53 recoPFJets =cms.Sequence(kt4PFJets+kt6PFJets+
54  kt6PFJetsCentralChargedPileUp+
55  kt6PFJetsCentralNeutral+
56  kt6PFJetsCentralNeutralTight+
57  fixedGridRhoAll+
58  fixedGridRhoFastjetAll+
59  iterativeCone5PFJets+
60  ak5PFJets+ak7PFJets)
61 
62 recoAllPFJets=cms.Sequence(sisCone5PFJets+sisCone7PFJets+
63  kt4PFJets+kt6PFJets+
64  kt6PFJetsCentralChargedPileUp+
65  kt6PFJetsCentralNeutral+
66  kt6PFJetsCentralNeutralTight+
67  fixedGridRhoAll+
68  fixedGridRhoFastjetAll+
69  iterativeCone5PFJets+
70  ak5PFJets+ak7PFJets+
71  ak5PFJetsTrimmed+ak5PFJetsPruned+
72  ak5PFJetsFiltered+ak5PFJetsMassDropFiltered+
73  gk5PFJets+gk7PFJets+
74  ca4PFJets+ca6PFJets)