1 import FWCore.ParameterSet.Config
as cms
4 from Configuration.Eras.Modifier_run2_HE_2017_cff
import run2_HE_2017
5 from Configuration.Eras.Modifier_run2_HF_2017_cff
import run2_HF_2017
6 from Configuration.Eras.Modifier_run3_HB_cff
import run3_HB
7 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
9 LSParameter =cms.untracked.PSet(
10 HcalFeatureHFEMBit= cms.bool(
False),
11 Min_Long_Energy= cms.double(10),
12 Min_Short_Energy= cms.double(10),
13 Long_vrs_Short_Slope= cms.double(100.2),
14 Long_Short_Offset= cms.double(10.1))
17 simHcalTriggerPrimitiveDigis = cms.EDProducer(
"HcalTrigPrimDigiProducer",
18 peakFilter = cms.bool(
True),
19 weights = cms.vdouble(1.0, 1.0),
20 weightsQIE11 = cms.PSet(
21 ieta1 = cms.vdouble(1.0, 1.0),
22 ieta2 = cms.vdouble(1.0, 1.0),
23 ieta3 = cms.vdouble(1.0, 1.0),
24 ieta4 = cms.vdouble(1.0, 1.0),
25 ieta5 = cms.vdouble(1.0, 1.0),
26 ieta6 = cms.vdouble(1.0, 1.0),
27 ieta7 = cms.vdouble(1.0, 1.0),
28 ieta8 = cms.vdouble(1.0, 1.0),
29 ieta9 = cms.vdouble(1.0, 1.0),
30 ieta10 = cms.vdouble(1.0, 1.0),
31 ieta11 = cms.vdouble(1.0, 1.0),
32 ieta12 = cms.vdouble(1.0, 1.0),
33 ieta13 = cms.vdouble(1.0, 1.0),
34 ieta14 = cms.vdouble(1.0, 1.0),
35 ieta15 = cms.vdouble(1.0, 1.0),
36 ieta16 = cms.vdouble(1.0, 1.0),
37 ieta17 = cms.vdouble(1.0, 1.0),
38 ieta18 = cms.vdouble(1.0, 1.0),
39 ieta19 = cms.vdouble(1.0, 1.0),
40 ieta20 = cms.vdouble(1.0, 1.0),
41 ieta21 = cms.vdouble(1.0, 1.0),
42 ieta22 = cms.vdouble(1.0, 1.0),
43 ieta23 = cms.vdouble(1.0, 1.0),
44 ieta24 = cms.vdouble(1.0, 1.0),
45 ieta25 = cms.vdouble(1.0, 1.0),
46 ieta26 = cms.vdouble(1.0, 1.0),
47 ieta27 = cms.vdouble(1.0, 1.0),
48 ieta28 = cms.vdouble(1.0, 1.0)
51 latency = cms.int32(1),
52 FG_threshold = cms.uint32(12),
53 FG_HF_thresholds = cms.vuint32(17, 255),
54 ZS_threshold = cms.uint32(1),
55 numberOfSamples = cms.int32(4),
56 numberOfPresamples = cms.int32(2),
57 numberOfSamplesHF = cms.int32(4),
58 numberOfPresamplesHF = cms.int32(2),
59 numberOfFilterPresamplesHBQIE11 = cms.int32(0),
60 numberOfFilterPresamplesHEQIE11 = cms.int32(0),
61 useTDCInMinBiasBits = cms.bool(
False),
62 MinSignalThreshold = cms.uint32(0),
63 PMTNoiseThreshold = cms.uint32(0),
66 upgradeHF = cms.bool(
False),
67 upgradeHB = cms.bool(
False),
68 upgradeHE = cms.bool(
False),
70 applySaturationFix = cms.bool(
False),
81 inputLabel = cms.VInputTag(cms.InputTag(
'simHcalUnsuppressedDigis'),
82 cms.InputTag(
'simHcalUnsuppressedDigis')),
83 inputUpgradeLabel = cms.VInputTag(
84 cms.InputTag(
'simHcalUnsuppressedDigis:HBHEQIE11DigiCollection'),
85 cms.InputTag(
'simHcalUnsuppressedDigis:HFQIE10DigiCollection')),
86 InputTagFEDRaw = cms.InputTag(
"rawDataCollector"),
87 overrideDBweightsAndFilterHB = cms.bool(
False),
88 overrideDBweightsAndFilterHE = cms.bool(
False),
89 RunZS = cms.bool(
False),
90 FrontEndFormatError = cms.bool(
False),
91 PeakFinderAlgorithm = cms.int32(2),
96 run2_HE_2017.toModify(simHcalTriggerPrimitiveDigis, upgradeHE=cms.bool(
True))
97 run2_HF_2017.toModify(simHcalTriggerPrimitiveDigis,
98 upgradeHF=cms.bool(
True),
99 numberOfSamplesHF = cms.int32(2),
100 numberOfPresamplesHF = cms.int32(1)
102 run2_HF_2017.toModify(tpScales.HF, NCTShift=cms.int32(2))
103 run3_HB.toModify(simHcalTriggerPrimitiveDigis, upgradeHB=cms.bool(
True))
104 run3_common.toModify(simHcalTriggerPrimitiveDigis, applySaturationFix=cms.bool(
True))
105 run3_HB.toModify(tpScales.HBHE, LSBQIE11Overlap=cms.double(1/16.))