CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HiRecoJets_cff.py
Go to the documentation of this file.
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 ## background for HF/Voronoi-style subtraction
25 voronoiBackgroundCalo = cms.EDProducer('VoronoiBackgroundProducer',
26  src = cms.InputTag('towerMaker'),
27  doEqualize = cms.bool(True),
28  equalizeThreshold0 = cms.double(5.0),
29  equalizeThreshold1 = cms.double(35.0),
30  equalizeR = cms.double(0.4),
31  isCalo = cms.bool(True),
32  etaBins = cms.int32(15),
33  fourierOrder = cms.int32(5)
34  )
35 
36 
37 ## Noise reducing PU subtraction algos
38 
39 ## Iterative Cone
40 iterativeConePu5CaloJets = cms.EDProducer(
41  "FastjetJetProducer",
42  HiCaloJetParameters,
43  AnomalousCellParameters,
44  MultipleAlgoIteratorBlock,
45  jetAlgorithm = cms.string("IterativeCone"),
46  rParam = cms.double(0.5)
47  )
48 iterativeConePu5CaloJets.radiusPU = 0.5
49 
50 ## kT
51 ktPu4CaloJets = cms.EDProducer(
52  "FastjetJetProducer",
53  HiCaloJetParameters,
54  AnomalousCellParameters,
55  MultipleAlgoIteratorBlock,
56  jetAlgorithm = cms.string("Kt"),
57  rParam = cms.double(0.4)
58  )
59 ktPu4CaloJets.radiusPU = 0.5
60 
61 ktPu6CaloJets = cms.EDProducer(
62  "FastjetJetProducer",
63  HiCaloJetParameters,
64  AnomalousCellParameters,
65  MultipleAlgoIteratorBlock,
66  jetAlgorithm = cms.string("Kt"),
67  rParam = cms.double(0.6)
68  )
69 ktPu6CaloJets.radiusPU = 0.7
70 
71 ## anti-kT
72 akPu5CaloJets = cms.EDProducer(
73  "FastjetJetProducer",
74  HiCaloJetParameters,
75  AnomalousCellParameters,
76  MultipleAlgoIteratorBlock,
77  jetAlgorithm = cms.string("AntiKt"),
78  rParam = cms.double(0.5)
79  )
80 akPu5CaloJets.radiusPU = 0.5
81 
82 akPu7CaloJets = cms.EDProducer(
83  "FastjetJetProducer",
84  HiCaloJetParameters,
85  AnomalousCellParameters,
86  MultipleAlgoIteratorBlock,
87  jetAlgorithm = cms.string("AntiKt"),
88  rParam = cms.double(0.7)
89  )
90 akPu7CaloJets.radiusPU = 0.7
91 
92 
93 ## HF/Vornoi background subtracton algos
94 
95 akVs5CaloJets = akPu5CaloJets.clone(
96  subtractorName = cms.string("VoronoiSubtractor"),
97  bkg = cms.InputTag("voronoiBackgroundCalo"),
98  dropZeros = cms.bool(True),
99  doAreaFastjet = False
100  )
101 
102 akVs2CaloJets = akVs5CaloJets.clone(rParam = cms.double(0.2))
103 akVs3CaloJets = akVs5CaloJets.clone(rParam = cms.double(0.3))
104 akVs4CaloJets = akVs5CaloJets.clone(rParam = cms.double(0.4))
105 akVs6CaloJets = akVs5CaloJets.clone(rParam = cms.double(0.6))
106 akVs7CaloJets = akVs5CaloJets.clone(rParam = cms.double(0.7))
107 
108 akPu5CaloJets.puPtMin = cms.double(10)
109 akPu2CaloJets = akPu5CaloJets.clone(rParam = cms.double(0.2), puPtMin = 4)
110 akPu3CaloJets = akPu5CaloJets.clone(rParam = cms.double(0.3), puPtMin = 6)
111 akPu4CaloJets = akPu5CaloJets.clone(rParam = cms.double(0.4), puPtMin = 8)
112 akPu6CaloJets = akPu5CaloJets.clone(rParam = cms.double(0.6), puPtMin = 12)
113 akPu7CaloJets = akPu5CaloJets.clone(rParam = cms.double(0.7), puPtMin = 14)
114 
115 
116 ## Default Sequence
117 hiRecoJets = cms.Sequence(
118  caloTowersRec*caloTowers*
119  iterativeConePu5CaloJets*
120  akPu3CaloJets*akPu4CaloJets*akPu5CaloJets*
121  voronoiBackgroundCalo*
122  akVs2CaloJets*akVs3CaloJets*akVs4CaloJets*akVs5CaloJets
123  )
124 
125 ## Extended Sequence
126 hiRecoAllJets = cms.Sequence(
127  caloTowersRec*caloTowers*iterativeConePu5CaloJets
128  *akPu2CaloJets*akPu3CaloJets*akPu4CaloJets*akPu5CaloJets*akPu6CaloJets*akPu7CaloJets*
129  ktPu4CaloJets*ktPu6CaloJets
130  *voronoiBackgroundCalo*akVs5CaloJets
131  *akVs2CaloJets*akVs3CaloJets*akVs4CaloJets*akVs6CaloJets*akVs7CaloJets
132  )
133 
134