CMS 3D CMS Logo

HiRecoPFJets_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 ## Default Parameter Sets
6 
7 #pseudo towers for noise suppression background subtraction
8 PFTowers = cms.EDProducer("ParticleTowerProducer",
9  src = cms.InputTag("particleFlow"),
10  useHF = cms.bool(False)
11  )
12 
13 #dummy sequence to speed-up reconstruction in pp_on_AA era
14 pfNoPileUpJMEHI = cms.EDFilter('GenericPFCandidateSelector',
15  src = cms.InputTag('particleFlow'),
16  cut = cms.string("pt>9999")
17  )
18 
19 ak5PFJets = cms.EDProducer(
20  "FastjetJetProducer",
21  HiPFJetParameters,
22  AnomalousCellParameters,
23  MultipleAlgoIteratorBlock,
24  jetAlgorithm = cms.string("AntiKt"),
25  rParam = cms.double(0.5)
26  )
27 ak5PFJets.src = cms.InputTag('particleFlow')
28 
29 akPu5PFJets = ak5PFJets.clone(
30  jetType = cms.string('BasicJet'),
31  doPVCorrection = False,
32  doPUOffsetCorr = True,
33  subtractorName = cms.string("MultipleAlgoIterator"),
34  src = cms.InputTag('PFTowers'),
35  doAreaFastjet = False
36  )
37 
38 
39 
40 akPu5PFJets.puPtMin = cms.double(25)
41 akPu1PFJets = akPu5PFJets.clone(rParam = cms.double(0.1), puPtMin = 10)
42 akPu2PFJets = akPu5PFJets.clone(rParam = cms.double(0.2), puPtMin = 10)
43 akPu3PFJets = akPu5PFJets.clone(rParam = cms.double(0.3), puPtMin = 15)
44 akPu4PFJets = akPu5PFJets.clone(rParam = cms.double(0.4), puPtMin = 20)
45 akPu6PFJets = akPu5PFJets.clone(rParam = cms.double(0.6), puPtMin = 30)
46 akPu7PFJets = akPu5PFJets.clone(rParam = cms.double(0.7), puPtMin = 35)
47 
48 kt4PFJetsForRho = cms.EDProducer(
49  "FastjetJetProducer",
50  HiPFJetParameters,
51  AnomalousCellParameters,
52  jetAlgorithm = cms.string("Kt"),
53  rParam = cms.double(0.4)
54 )
55 
56 kt4PFJetsForRho.src = cms.InputTag('particleFlow')
57 kt4PFJetsForRho.doAreaFastjet = cms.bool(True)
58 kt4PFJetsForRho.jetPtMin = cms.double(0.0)
59 kt4PFJetsForRho.GhostArea = cms.double(0.005)
60 
61 from RecoHI.HiJetAlgos.hiFJRhoProducer import hiFJRhoProducer
62 
63 akCs4PFJets = cms.EDProducer(
64  "CSJetProducer",
65  HiPFJetParameters,
66  AnomalousCellParameters,
67  jetAlgorithm = cms.string("AntiKt"),
68  rParam = cms.double(0.4),
69  etaMap = cms.InputTag('hiFJRhoProducer','mapEtaEdges'),
70  rho = cms.InputTag('hiFJRhoProducer','mapToRho'),
71  rhom = cms.InputTag('hiFJRhoProducer','mapToRhoM'),
72  csRParam = cms.double(-1.),
73  csAlpha = cms.double(2.),
74  writeJetsWithConst = cms.bool(True),
75  jetCollInstanceName = cms.string("pfParticlesCs")
76 )
77 akCs4PFJets.src = cms.InputTag('particleFlow')
78 akCs4PFJets.doAreaFastjet = cms.bool(True)
79 akCs4PFJets.jetPtMin = cms.double(0.0)
80 akCs4PFJets.useExplicitGhosts = cms.bool(True)
81 akCs4PFJets.GhostArea = cms.double(0.005)
82 
83 akCs3PFJets = akCs4PFJets.clone(rParam = cms.double(0.3))
84 
85 hiRecoPFJets = cms.Sequence(
86  PFTowers
87  *akPu3PFJets*akPu4PFJets*akPu5PFJets
88  *kt4PFJetsForRho*hiFJRhoProducer
89  *akCs3PFJets*akCs4PFJets
90  )
91