1 import FWCore.ParameterSet.Config
as cms
3 calotowermaker = cms.EDProducer(
"CaloTowersCreator",
5 EBSumThreshold = cms.double(0.2),
7 HF2Weight = cms.double(1.0),
9 EBWeight = cms.double(1.0),
11 hfInput = cms.InputTag(
"hfreco"),
13 EESumThreshold = cms.double(0.45),
15 HOThreshold0 = cms.double(1.1),
16 HOThresholdPlus1 = cms.double(3.5),
17 HOThresholdMinus1 = cms.double(3.5),
18 HOThresholdPlus2 = cms.double(3.5),
19 HOThresholdMinus2 = cms.double(3.5),
20 HBGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
22 HBThreshold = cms.double(0.7),
23 EEWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
25 HF1Threshold = cms.double(0.5),
26 HF2Weights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
27 HOWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
28 EEGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
30 HEDWeight = cms.double(1.0),
32 EEWeight = cms.double(1.0),
34 UseHO = cms.bool(
True),
35 HBWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
37 HESWeight = cms.double(1.0),
39 HF1Weight = cms.double(1.0),
40 HF2Grid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
41 HEDWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
42 HF1Grid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
43 EBWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
45 HOWeight = cms.double(1.0),
48 EBThreshold = cms.double(0.07),
50 EEThreshold = cms.double(0.3),
54 UseEtEBTreshold = cms.bool(
False),
55 UseSymEBTreshold = cms.bool(
True),
56 UseEtEETreshold = cms.bool(
False),
57 UseSymEETreshold = cms.bool(
True),
61 hbheInput = cms.InputTag(
"hbhereco"),
63 HcalThreshold = cms.double(-1000.0),
65 HF2Threshold = cms.double(0.85),
68 HESThreshold1 = cms.double(0.8),
69 HESThreshold = cms.double(0.8),
70 HF1Weights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
72 hoInput = cms.InputTag(
"horeco"),
73 HESGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
75 HESWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
77 HEDThreshold1 = cms.double(0.8),
78 HEDThreshold = cms.double(0.8),
80 EcutTower = cms.double(-1000.0),
81 HEDGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
83 ecalInputs = cms.VInputTag(cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB"), cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE")),
85 HBWeight = cms.double(1.0),
86 HOGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
88 EBGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
93 MomConstrMethod = cms.int32(1),
95 MomHBDepth = cms.double(0.2),
96 MomHEDepth = cms.double(0.4),
97 MomEBDepth = cms.double(0.3),
98 MomEEDepth = cms.double(0.0),
103 HcalAcceptSeverityLevel = cms.uint32(9),
105 EcalRecHitSeveritiesToBeExcluded = cms.vstring(
'kTime',
'kWeird',
'kBad'),
108 UseHcalRecoveredHits = cms.bool(
True),
112 UseEcalRecoveredHits = cms.bool(
False),
120 UseRejectedHitsOnly = cms.bool(
False),
126 HcalAcceptSeverityLevelForRejectedHit = cms.uint32(9999),
130 EcalSeveritiesToBeUsedInBadTowers = cms.vstring(),
136 UseRejectedRecoveredHcalHits = cms.bool(
True),
137 UseRejectedRecoveredEcalHits = cms.bool(
False),
141 AllowMissingInputs = cms.bool(
False),
144 HcalPhase = cms.int32(0)
148 from Configuration.Eras.Modifier_run2_HE_2018_cff
import run2_HE_2018
149 run2_HE_2018.toModify(calotowermaker,
150 HcalPhase = cms.int32(1),
151 HESThreshold1 = cms.double(0.1),
152 HESThreshold = cms.double(0.2),
153 HEDThreshold1 = cms.double(0.1),
154 HEDThreshold = cms.double(0.2)
158 from Configuration.ProcessModifiers.run2_HECollapse_2018_cff
import run2_HECollapse_2018
159 run2_HECollapse_2018.toModify(calotowermaker,
160 HcalPhase = cms.int32(0),
161 HESThreshold1 = cms.double(0.8),
162 HESThreshold = cms.double(0.8),
163 HEDThreshold1 = cms.double(0.8),
164 HEDThreshold = cms.double(0.8)