1 import FWCore.ParameterSet.Config
as cms
3 from CalibCalorimetry.CaloTPG.tpScales_cff
import tpScales
5 LSParameter =cms.untracked.PSet(
6 HcalFeatureHFEMBit= cms.bool(
False),
7 Min_Long_Energy= cms.double(10),
8 Min_Short_Energy= cms.double(10),
9 Long_vrs_Short_Slope= cms.double(100.2),
10 Long_Short_Offset= cms.double(10.1))
13 simHcalTriggerPrimitiveDigis = cms.EDProducer(
"HcalTrigPrimDigiProducer",
14 peakFilter = cms.bool(
True),
15 weights = cms.vdouble(1.0, 1.0),
16 weightsQIE11 = cms.PSet(
17 ieta1 = cms.vint32(255, 255),
18 ieta2 = cms.vint32(255, 255),
19 ieta3 = cms.vint32(255, 255),
20 ieta4 = cms.vint32(255, 255),
21 ieta5 = cms.vint32(255, 255),
22 ieta6 = cms.vint32(255, 255),
23 ieta7 = cms.vint32(255, 255),
24 ieta8 = cms.vint32(255, 255),
25 ieta9 = cms.vint32(255, 255),
26 ieta10 = cms.vint32(255, 255),
27 ieta11 = cms.vint32(255, 255),
28 ieta12 = cms.vint32(255, 255),
29 ieta13 = cms.vint32(255, 255),
30 ieta14 = cms.vint32(255, 255),
31 ieta15 = cms.vint32(255, 255),
32 ieta16 = cms.vint32(255, 255),
33 ieta17 = cms.vint32(255, 255),
34 ieta18 = cms.vint32(255, 255),
35 ieta19 = cms.vint32(255, 255),
36 ieta20 = cms.vint32(255, 255),
37 ieta21 = cms.vint32(255, 255),
38 ieta22 = cms.vint32(255, 255),
39 ieta23 = cms.vint32(255, 255),
40 ieta24 = cms.vint32(255, 255),
41 ieta25 = cms.vint32(255, 255),
42 ieta26 = cms.vint32(255, 255),
43 ieta27 = cms.vint32(255, 255),
44 ieta28 = cms.vint32(255, 255)
47 latency = cms.int32(1),
48 FG_threshold = cms.uint32(12),
49 FG_HF_thresholds = cms.vuint32(17, 255),
50 ZS_threshold = cms.uint32(1),
55 codedVetoThresholds = cms.PSet(
65 ieta10 = cms.int32(0),
66 ieta11 = cms.int32(0),
67 ieta12 = cms.int32(0),
68 ieta13 = cms.int32(0),
69 ieta14 = cms.int32(0),
70 ieta15 = cms.int32(0),
71 ieta16 = cms.int32(0),
72 ieta17 = cms.int32(0),
73 ieta18 = cms.int32(0),
74 ieta19 = cms.int32(0),
75 ieta20 = cms.int32(0),
76 ieta21 = cms.int32(0),
77 ieta22 = cms.int32(0),
78 ieta23 = cms.int32(0),
79 ieta24 = cms.int32(0),
80 ieta25 = cms.int32(0),
81 ieta26 = cms.int32(0),
82 ieta27 = cms.int32(0),
86 overrideDBvetoThresholdsHB = cms.bool(
False),
87 overrideDBvetoThresholdsHE = cms.bool(
False),
88 numberOfSamples = cms.int32(4),
89 numberOfPresamples = cms.int32(2),
90 numberOfSamplesHF = cms.int32(4),
91 numberOfPresamplesHF = cms.int32(2),
92 numberOfFilterPresamplesHBQIE11 = cms.int32(0),
93 numberOfFilterPresamplesHEQIE11 = cms.int32(0),
94 useTDCInMinBiasBits = cms.bool(
False),
95 MinSignalThreshold = cms.uint32(0),
96 PMTNoiseThreshold = cms.uint32(0),
99 upgradeHF = cms.bool(
False),
100 upgradeHB = cms.bool(
False),
101 upgradeHE = cms.bool(
False),
103 applySaturationFix = cms.bool(
False),
114 inputLabel = cms.VInputTag(cms.InputTag(
'simHcalUnsuppressedDigis'),
115 cms.InputTag(
'simHcalUnsuppressedDigis')),
116 inputUpgradeLabel = cms.VInputTag(
117 cms.InputTag(
'simHcalUnsuppressedDigis:HBHEQIE11DigiCollection'),
118 cms.InputTag(
'simHcalUnsuppressedDigis:HFQIE10DigiCollection')),
119 InputTagFEDRaw = cms.InputTag(
"rawDataCollector"),
120 overrideDBweightsAndFilterHB = cms.bool(
False),
121 overrideDBweightsAndFilterHE = cms.bool(
False),
122 RunZS = cms.bool(
False),
123 FrontEndFormatError = cms.bool(
False),
124 PeakFinderAlgorithm = cms.int32(2),
129 from Configuration.Eras.Modifier_run2_HE_2017_cff
import run2_HE_2017
130 run2_HE_2017.toModify(simHcalTriggerPrimitiveDigis, upgradeHE=
True)
132 from Configuration.Eras.Modifier_run2_HF_2017_cff
import run2_HF_2017
133 run2_HF_2017.toModify(simHcalTriggerPrimitiveDigis,
135 numberOfSamplesHF = 2,
136 numberOfPresamplesHF = 1
139 from Configuration.Eras.Modifier_run3_HB_cff
import run3_HB
140 run3_HB.toModify(simHcalTriggerPrimitiveDigis, upgradeHB=
True)
142 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
143 run3_common.toModify(simHcalTriggerPrimitiveDigis, applySaturationFix=
True)