CMS 3D CMS Logo

HiRecoJets_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 
8 
9 
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 
25 
26 
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 
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 
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 akPu5CaloJets.puPtMin = 10
69 
70 akPu1CaloJets = akPu5CaloJets.clone(rParam = 0.1, puPtMin = 4)
71 akPu2CaloJets = akPu5CaloJets.clone(rParam = 0.2, puPtMin = 4)
72 akPu3CaloJets = akPu5CaloJets.clone(rParam = 0.3, puPtMin = 6)
73 akPu4CaloJets = akPu5CaloJets.clone(rParam = 0.4, puPtMin = 8)
74 akPu6CaloJets = akPu5CaloJets.clone(rParam = 0.6, puPtMin = 12)
75 akPu7CaloJets = akPu5CaloJets.clone(rParam = 0.7, puPtMin = 14)
76 
77 ak5CaloJets = cms.EDProducer(
78  "FastjetJetProducer",
79  HiCaloJetParameters,
80  AnomalousCellParameters,
81  MultipleAlgoIteratorBlock,
82  jetAlgorithm = cms.string("AntiKt"),
83  rParam = cms.double(0.5)
84  )
85 ak5CaloJets.doPUOffsetCorr = False
86 
87 ak1CaloJets = ak5CaloJets.clone(rParam = 0.1)
88 ak2CaloJets = ak5CaloJets.clone(rParam = 0.2)
89 ak3CaloJets = ak5CaloJets.clone(rParam = 0.3)
90 ak4CaloJets = ak5CaloJets.clone(rParam = 0.4)
91 ak6CaloJets = ak5CaloJets.clone(rParam = 0.6)
92 ak7CaloJets = ak5CaloJets.clone(rParam = 0.7)
93 
94 
95 
96 hiRecoJetsTask = cms.Task(
97  caloTowersRecTask,caloTowers,
98  iterativeConePu5CaloJets,
99  akPu3CaloJets,akPu4CaloJets,akPu5CaloJets
100  )
101 hiRecoJets = cms.Sequence(hiRecoJetsTask)
102 
103 
104 hiRecoAllJetsTask = cms.Task(
105  caloTowersRecTask,caloTowers,iterativeConePu5CaloJets
106  ,ak1CaloJets,ak2CaloJets,ak3CaloJets,ak4CaloJets,ak5CaloJets,ak6CaloJets,ak7CaloJets
107  ,akPu1CaloJets,akPu2CaloJets,akPu3CaloJets,akPu4CaloJets,akPu5CaloJets,akPu6CaloJets,akPu7CaloJets,
108  ktPu4CaloJets,ktPu6CaloJets
109  )
110 hiRecoAllJets = cms.Sequence(hiRecoAllJetsTask)