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.vint32(255, 255),
22 ieta2 = cms.vint32(255, 255),
23 ieta3 = cms.vint32(255, 255),
24 ieta4 = cms.vint32(255, 255),
25 ieta5 = cms.vint32(255, 255),
26 ieta6 = cms.vint32(255, 255),
27 ieta7 = cms.vint32(255, 255),
28 ieta8 = cms.vint32(255, 255),
29 ieta9 = cms.vint32(255, 255),
30 ieta10 = cms.vint32(255, 255),
31 ieta11 = cms.vint32(255, 255),
32 ieta12 = cms.vint32(255, 255),
33 ieta13 = cms.vint32(255, 255),
34 ieta14 = cms.vint32(255, 255),
35 ieta15 = cms.vint32(255, 255),
36 ieta16 = cms.vint32(255, 255),
37 ieta17 = cms.vint32(255, 255),
38 ieta18 = cms.vint32(255, 255),
39 ieta19 = cms.vint32(255, 255),
40 ieta20 = cms.vint32(255, 255),
41 ieta21 = cms.vint32(255, 255),
42 ieta22 = cms.vint32(255, 255),
43 ieta23 = cms.vint32(255, 255),
44 ieta24 = cms.vint32(255, 255),
45 ieta25 = cms.vint32(255, 255),
46 ieta26 = cms.vint32(255, 255),
47 ieta27 = cms.vint32(255, 255),
48 ieta28 = cms.vint32(255, 255)
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.))