File indexing completed on 2024-09-13 22:52:41
0001 import FWCore.ParameterSet.Config as cms
0002
0003 calotowermaker = cms.EDProducer("CaloTowersCreator",
0004
0005 EBSumThreshold = cms.double(0.2),
0006
0007 HF2Weight = cms.double(1.0),
0008
0009 EBWeight = cms.double(1.0),
0010
0011 hfInput = cms.InputTag("hfreco"),
0012
0013 EESumThreshold = cms.double(0.45),
0014
0015 HOThreshold0 = cms.double(1.1),
0016 HOThresholdPlus1 = cms.double(3.5),
0017 HOThresholdMinus1 = cms.double(3.5),
0018 HOThresholdPlus2 = cms.double(3.5),
0019 HOThresholdMinus2 = cms.double(3.5),
0020 HBGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
0021
0022 HBThreshold1 = cms.double(0.7),
0023 HBThreshold2 = cms.double(0.7),
0024 HBThreshold = cms.double(0.7),
0025 EEWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
0026
0027 HF1Threshold = cms.double(0.5),
0028 HF2Weights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
0029 HOWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
0030 EEGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
0031
0032 HEDWeight = cms.double(1.0),
0033
0034 EEWeight = cms.double(1.0),
0035
0036 UseHO = cms.bool(True),
0037 HBWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
0038
0039 HESWeight = cms.double(1.0),
0040
0041 HF1Weight = cms.double(1.0),
0042 HF2Grid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
0043 HEDWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
0044 HF1Grid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
0045 EBWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
0046
0047 HOWeight = cms.double(1.0),
0048
0049
0050 EBThreshold = cms.double(0.07),
0051
0052 EEThreshold = cms.double(0.3),
0053
0054
0055
0056 UseEtEBTreshold = cms.bool(False),
0057 UseSymEBTreshold = cms.bool(True),
0058 UseEtEETreshold = cms.bool(False),
0059 UseSymEETreshold = cms.bool(True),
0060
0061
0062
0063 hbheInput = cms.InputTag("hbhereco"),
0064
0065 HcalThreshold = cms.double(-1000.0),
0066
0067 HF2Threshold = cms.double(0.85),
0068
0069
0070 HESThreshold1 = cms.double(0.8),
0071 HESThreshold = cms.double(0.8),
0072 HF1Weights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
0073
0074 hoInput = cms.InputTag("horeco"),
0075 HESGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
0076
0077 HESWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
0078
0079 HEDThreshold1 = cms.double(0.8),
0080 HEDThreshold = cms.double(0.8),
0081
0082 EcutTower = cms.double(-1000.0),
0083 HEDGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
0084
0085 ecalInputs = cms.VInputTag(cms.InputTag("ecalRecHit","EcalRecHitsEB"), cms.InputTag("ecalRecHit","EcalRecHitsEE")),
0086
0087 HBWeight = cms.double(1.0),
0088 HOGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
0089
0090 EBGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
0091
0092
0093
0094
0095 MomConstrMethod = cms.int32(1),
0096
0097 MomHBDepth = cms.double(0.2),
0098 MomHEDepth = cms.double(0.4),
0099 MomEBDepth = cms.double(0.3),
0100 MomEEDepth = cms.double(0.0),
0101
0102
0103
0104
0105 HcalAcceptSeverityLevel = cms.uint32(9),
0106
0107 EcalRecHitSeveritiesToBeExcluded = cms.vstring('kTime','kWeird','kBad'),
0108
0109
0110 UseHcalRecoveredHits = cms.bool(True),
0111
0112
0113
0114 UseEcalRecoveredHits = cms.bool(False),
0115
0116
0117
0118
0119
0120
0121
0122 UseRejectedHitsOnly = cms.bool(False),
0123
0124
0125
0126
0127
0128 HcalAcceptSeverityLevelForRejectedHit = cms.uint32(9999),
0129
0130
0131
0132 EcalSeveritiesToBeUsedInBadTowers = cms.vstring(),
0133
0134
0135
0136
0137
0138 UseRejectedRecoveredHcalHits = cms.bool(True),
0139 UseRejectedRecoveredEcalHits = cms.bool(False),
0140
0141
0142 missingHcalRescaleFactorForEcal = cms.double(0),
0143
0144
0145
0146 AllowMissingInputs = cms.bool(False),
0147
0148
0149 HcalPhase = cms.int32(0),
0150
0151
0152 usePFThresholdsFromDB = cms.bool(False),
0153
0154 EcalRecHitThresh = cms.bool(False)
0155 )
0156
0157 from Configuration.Eras.Modifier_run2_HE_2018_cff import run2_HE_2018
0158 run2_HE_2018.toModify(calotowermaker,
0159 HcalPhase = 1,
0160 HESThreshold1 = 0.1,
0161 HESThreshold = 0.2,
0162 HEDThreshold1 = 0.1,
0163 HEDThreshold = 0.2
0164 )
0165
0166
0167 from Configuration.ProcessModifiers.run2_HECollapse_2018_cff import run2_HECollapse_2018
0168 run2_HECollapse_2018.toModify(calotowermaker,
0169 HcalPhase = 0,
0170 HESThreshold1 = 0.8,
0171 HESThreshold = 0.8,
0172 HEDThreshold1 = 0.8,
0173 HEDThreshold = 0.8
0174 )
0175
0176 from Configuration.Eras.Modifier_run3_HB_cff import run3_HB
0177 run3_HB.toModify(calotowermaker,
0178 HBThreshold1 = 0.1,
0179 HBThreshold2 = 0.2,
0180 HBThreshold = 0.3,
0181 )
0182
0183
0184 from Configuration.Eras.Modifier_hcalPfCutsFromDB_cff import hcalPfCutsFromDB
0185 hcalPfCutsFromDB.toModify( calotowermaker,
0186 usePFThresholdsFromDB = True)