CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HiRecoPFJets_cff.py
Go to the documentation of this file.
2 
3 ## Default Parameter Sets
6 
7 #pseudo towers for noise suppression background subtraction
8 PFTowers = cms.EDProducer("ParticleTowerProducer",
9  src = cms.InputTag("particleFlowTmp"),
10  useHF = cms.bool(False)
11  )
12 
13 ## background for HF/Voronoi-style subtraction
14 voronoiBackgroundPF = cms.EDProducer('VoronoiBackgroundProducer',
15  src = cms.InputTag('particleFlowTmp'),
16  tableLabel = cms.string("UETable_PF"),
17  doEqualize = cms.bool(True),
18  equalizeThreshold0 = cms.double(5.0),
19  equalizeThreshold1 = cms.double(35.0),
20  equalizeR = cms.double(0.3),
21  # its different than calojets (R=0.4)!
22  useTextTable = cms.bool(False),
23  jetCorrectorFormat = cms.bool(True),
24  isCalo = cms.bool(False),
25  etaBins = cms.int32(15),
26  fourierOrder = cms.int32(5)
27  )
28 
29 
30 
31 ak5PFJets = cms.EDProducer(
32  "FastjetJetProducer",
33  HiPFJetParameters,
34  AnomalousCellParameters,
35  MultipleAlgoIteratorBlock,
36  jetAlgorithm = cms.string("AntiKt"),
37  rParam = cms.double(0.5)
38  )
39 ak5PFJets.src = cms.InputTag('particleFlowTmp')
40 
41 akPu5PFJets = ak5PFJets.clone(
42  jetType = cms.string('BasicJet'),
43  doPVCorrection = False,
44  doPUOffsetCorr = True,
45  subtractorName = cms.string("MultipleAlgoIterator"),
46  src = cms.InputTag('PFTowers'),
47  doAreaFastjet = False
48  )
49 
50 
51 akVs5PFJets = ak5PFJets.clone(
52  doPVCorrection = False,
53  doPUOffsetCorr = True,
54  subtractorName = cms.string("VoronoiSubtractor"),
55  bkg = cms.InputTag("voronoiBackgroundPF"),
56  src = cms.InputTag('particleFlowTmp'),
57  dropZeros = cms.bool(True),
58  doAreaFastjet = False,
59  puPtMin = cms.double(0)
60  )
61 
62 akVs1PFJets = akVs5PFJets.clone(rParam = cms.double(0.1))
63 akVs2PFJets = akVs5PFJets.clone(rParam = cms.double(0.2))
64 akVs3PFJets = akVs5PFJets.clone(rParam = cms.double(0.3))
65 akVs4PFJets = akVs5PFJets.clone(rParam = cms.double(0.4))
66 akVs6PFJets = akVs5PFJets.clone(rParam = cms.double(0.6))
67 akVs7PFJets = akVs5PFJets.clone(rParam = cms.double(0.7))
68 
69 akPu5PFJets.puPtMin = cms.double(25)
70 akPu1PFJets = akPu5PFJets.clone(rParam = cms.double(0.1), puPtMin = 10)
71 akPu2PFJets = akPu5PFJets.clone(rParam = cms.double(0.2), puPtMin = 10)
72 akPu3PFJets = akPu5PFJets.clone(rParam = cms.double(0.3), puPtMin = 15)
73 akPu4PFJets = akPu5PFJets.clone(rParam = cms.double(0.4), puPtMin = 20)
74 akPu6PFJets = akPu5PFJets.clone(rParam = cms.double(0.6), puPtMin = 30)
75 akPu7PFJets = akPu5PFJets.clone(rParam = cms.double(0.7), puPtMin = 35)
76 
77 
78 hiRecoPFJets = cms.Sequence(
79  PFTowers
80  *akPu3PFJets*akPu4PFJets*akPu5PFJets
81  *voronoiBackgroundPF
82  *akVs3PFJets*akVs4PFJets*akVs5PFJets
83  )
84