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 HBThreshold1 = cms.double(0.7),
23 HBThreshold2 = cms.double(0.7),
24 HBThreshold = cms.double(0.7),
25 EEWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
27 HF1Threshold = cms.double(0.5),
28 HF2Weights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
29 HOWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
30 EEGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
32 HEDWeight = cms.double(1.0),
34 EEWeight = cms.double(1.0),
36 UseHO = cms.bool(
True),
37 HBWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
39 HESWeight = cms.double(1.0),
41 HF1Weight = cms.double(1.0),
42 HF2Grid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
43 HEDWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
44 HF1Grid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
45 EBWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
47 HOWeight = cms.double(1.0),
50 EBThreshold = cms.double(0.07),
52 EEThreshold = cms.double(0.3),
56 UseEtEBTreshold = cms.bool(
False),
57 UseSymEBTreshold = cms.bool(
True),
58 UseEtEETreshold = cms.bool(
False),
59 UseSymEETreshold = cms.bool(
True),
63 hbheInput = cms.InputTag(
"hbhereco"),
65 HcalThreshold = cms.double(-1000.0),
67 HF2Threshold = cms.double(0.85),
70 HESThreshold1 = cms.double(0.8),
71 HESThreshold = cms.double(0.8),
72 HF1Weights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
74 hoInput = cms.InputTag(
"horeco"),
75 HESGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
77 HESWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
79 HEDThreshold1 = cms.double(0.8),
80 HEDThreshold = cms.double(0.8),
82 EcutTower = cms.double(-1000.0),
83 HEDGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
85 ecalInputs = cms.VInputTag(cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB"), cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE")),
87 HBWeight = cms.double(1.0),
88 HOGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
90 EBGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
95 MomConstrMethod = cms.int32(1),
97 MomHBDepth = cms.double(0.2),
98 MomHEDepth = cms.double(0.4),
99 MomEBDepth = cms.double(0.3),
100 MomEEDepth = cms.double(0.0),
105 HcalAcceptSeverityLevel = cms.uint32(9),
107 EcalRecHitSeveritiesToBeExcluded = cms.vstring(
'kTime',
'kWeird',
'kBad'),
110 UseHcalRecoveredHits = cms.bool(
True),
114 UseEcalRecoveredHits = cms.bool(
False),
122 UseRejectedHitsOnly = cms.bool(
False),
128 HcalAcceptSeverityLevelForRejectedHit = cms.uint32(9999),
132 EcalSeveritiesToBeUsedInBadTowers = cms.vstring(),
138 UseRejectedRecoveredHcalHits = cms.bool(
True),
139 UseRejectedRecoveredEcalHits = cms.bool(
False),
142 missingHcalRescaleFactorForEcal = cms.double(0),
146 AllowMissingInputs = cms.bool(
False),
149 HcalPhase = cms.int32(0)
153 from Configuration.Eras.Modifier_run2_HE_2018_cff
import run2_HE_2018
154 run2_HE_2018.toModify(calotowermaker,
163 from Configuration.ProcessModifiers.run2_HECollapse_2018_cff
import run2_HECollapse_2018
164 run2_HECollapse_2018.toModify(calotowermaker,
172 from Configuration.Eras.Modifier_run3_HB_cff
import run3_HB
173 run3_HB.toModify(calotowermaker,