CMS 3D CMS Logo

HiRecoJets_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 ## Default Parameter Sets
8 
9 ## Calo Towers
10 CaloTowerConstituentsMapBuilder = cms.ESProducer("CaloTowerConstituentsMapBuilder",
11  MapFile = cms.untracked.string('Geometry/CaloTopology/data/CaloTowerEEGeometric.map.gz')
12 )
13 
14 caloTowers = cms.EDProducer("CaloTowerCandidateCreator",
15  src = cms.InputTag("towerMaker"),
16  e = cms.double(0.0),
17  verbose = cms.untracked.int32(0),
18  pt = cms.double(0.0),
19  minimumE = cms.double(0.0),
20  minimumEt = cms.double(0.0),
21  et = cms.double(0.0)
22 )
23 
24 ## Noise reducing PU subtraction algos
25 
26 ## Iterative Cone
27 iterativeConePu5CaloJets = cms.EDProducer(
28  "FastjetJetProducer",
29  HiCaloJetParameters,
30  AnomalousCellParameters,
31  MultipleAlgoIteratorBlock,
32  jetAlgorithm = cms.string("IterativeCone"),
33  rParam = cms.double(0.5)
34  )
35 iterativeConePu5CaloJets.radiusPU = 0.5
36 
37 ## kT
38 ktPu4CaloJets = cms.EDProducer(
39  "FastjetJetProducer",
40  HiCaloJetParameters,
41  AnomalousCellParameters,
42  MultipleAlgoIteratorBlock,
43  jetAlgorithm = cms.string("Kt"),
44  rParam = cms.double(0.4)
45  )
46 ktPu4CaloJets.radiusPU = 0.5
47 
48 ktPu6CaloJets = cms.EDProducer(
49  "FastjetJetProducer",
50  HiCaloJetParameters,
51  AnomalousCellParameters,
52  MultipleAlgoIteratorBlock,
53  jetAlgorithm = cms.string("Kt"),
54  rParam = cms.double(0.6)
55  )
56 ktPu6CaloJets.radiusPU = 0.7
57 
58 ## anti-kT
59 akPu5CaloJets = cms.EDProducer(
60  "FastjetJetProducer",
61  HiCaloJetParameters,
62  AnomalousCellParameters,
63  MultipleAlgoIteratorBlock,
64  jetAlgorithm = cms.string("AntiKt"),
65  rParam = cms.double(0.5)
66  )
67 akPu5CaloJets.radiusPU = 0.5
68 
69 akPu7CaloJets = cms.EDProducer(
70  "FastjetJetProducer",
71  HiCaloJetParameters,
72  AnomalousCellParameters,
73  MultipleAlgoIteratorBlock,
74  jetAlgorithm = cms.string("AntiKt"),
75  rParam = cms.double(0.7)
76  )
77 akPu7CaloJets.radiusPU = 0.7
78 
79 
80 akPu5CaloJets.puPtMin = cms.double(10)
81 akPu1CaloJets = akPu5CaloJets.clone(rParam = cms.double(0.1), puPtMin = 4)
82 akPu2CaloJets = akPu5CaloJets.clone(rParam = cms.double(0.2), puPtMin = 4)
83 akPu3CaloJets = akPu5CaloJets.clone(rParam = cms.double(0.3), puPtMin = 6)
84 akPu4CaloJets = akPu5CaloJets.clone(rParam = cms.double(0.4), puPtMin = 8)
85 akPu6CaloJets = akPu5CaloJets.clone(rParam = cms.double(0.6), puPtMin = 12)
86 akPu7CaloJets = akPu5CaloJets.clone(rParam = cms.double(0.7), puPtMin = 14)
87 
88 ak5CaloJets = cms.EDProducer(
89  "FastjetJetProducer",
90  HiCaloJetParameters,
91  AnomalousCellParameters,
92  MultipleAlgoIteratorBlock,
93  jetAlgorithm = cms.string("AntiKt"),
94  rParam = cms.double(0.5)
95  )
96 ak5CaloJets.doPUOffsetCorr = False
97 ak1CaloJets = ak5CaloJets.clone(rParam = cms.double(0.1))
98 ak2CaloJets = ak5CaloJets.clone(rParam = cms.double(0.2))
99 ak3CaloJets = ak5CaloJets.clone(rParam = cms.double(0.3))
100 ak4CaloJets = ak5CaloJets.clone(rParam = cms.double(0.4))
101 ak6CaloJets = ak5CaloJets.clone(rParam = cms.double(0.6))
102 ak7CaloJets = ak5CaloJets.clone(rParam = cms.double(0.7))
103 
104 
105 ## Default Sequence
106 hiRecoJets = cms.Sequence(
107  caloTowersRec*caloTowers*
108  iterativeConePu5CaloJets*
109  akPu3CaloJets*akPu4CaloJets*akPu5CaloJets
110  )
111 
112 ## Extended Sequence
113 hiRecoAllJets = cms.Sequence(
114  caloTowersRec*caloTowers*iterativeConePu5CaloJets
115  *ak1CaloJets*ak2CaloJets*ak3CaloJets*ak4CaloJets*ak5CaloJets*ak6CaloJets*ak7CaloJets
116  *akPu1CaloJets*akPu2CaloJets*akPu3CaloJets*akPu4CaloJets*akPu5CaloJets*akPu6CaloJets*akPu7CaloJets*
117  ktPu4CaloJets*ktPu6CaloJets
118  )
119 
120