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),
51 numberOfSamples = cms.int32(4),
52 numberOfPresamples = cms.int32(2),
53 numberOfSamplesHF = cms.int32(4),
54 numberOfPresamplesHF = cms.int32(2),
55 numberOfFilterPresamplesHBQIE11 = cms.int32(0),
56 numberOfFilterPresamplesHEQIE11 = cms.int32(0),
57 useTDCInMinBiasBits = cms.bool(
False),
58 MinSignalThreshold = cms.uint32(0),
59 PMTNoiseThreshold = cms.uint32(0),
62 upgradeHF = cms.bool(
False),
63 upgradeHB = cms.bool(
False),
64 upgradeHE = cms.bool(
False),
66 applySaturationFix = cms.bool(
False),
77 inputLabel = cms.VInputTag(cms.InputTag(
'simHcalUnsuppressedDigis'),
78 cms.InputTag(
'simHcalUnsuppressedDigis')),
79 inputUpgradeLabel = cms.VInputTag(
80 cms.InputTag(
'simHcalUnsuppressedDigis:HBHEQIE11DigiCollection'),
81 cms.InputTag(
'simHcalUnsuppressedDigis:HFQIE10DigiCollection')),
82 InputTagFEDRaw = cms.InputTag(
"rawDataCollector"),
83 overrideDBweightsAndFilterHB = cms.bool(
False),
84 overrideDBweightsAndFilterHE = cms.bool(
False),
85 RunZS = cms.bool(
False),
86 FrontEndFormatError = cms.bool(
False),
87 PeakFinderAlgorithm = cms.int32(2),
92 from Configuration.Eras.Modifier_run2_HE_2017_cff
import run2_HE_2017
93 run2_HE_2017.toModify(simHcalTriggerPrimitiveDigis, upgradeHE=
True)
95 from Configuration.Eras.Modifier_run2_HF_2017_cff
import run2_HF_2017
96 run2_HF_2017.toModify(simHcalTriggerPrimitiveDigis,
98 numberOfSamplesHF = 2,
99 numberOfPresamplesHF = 1
102 from Configuration.Eras.Modifier_run3_HB_cff
import run3_HB
103 run3_HB.toModify(simHcalTriggerPrimitiveDigis, upgradeHB=
True)
105 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
106 run3_common.toModify(simHcalTriggerPrimitiveDigis, applySaturationFix=
True)