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
8 LSParameter =cms.untracked.PSet(
9 HcalFeatureHFEMBit= cms.bool(
False),
10 Min_Long_Energy= cms.double(10),
11 Min_Short_Energy= cms.double(10),
12 Long_vrs_Short_Slope= cms.double(100.2),
13 Long_Short_Offset= cms.double(10.1))
16 simHcalTriggerPrimitiveDigis = cms.EDProducer(
"HcalTrigPrimDigiProducer",
17 peakFilter = cms.bool(
True),
18 weights = cms.vdouble(1.0, 1.0),
19 latency = cms.int32(1),
20 FG_threshold = cms.uint32(12),
21 FG_HF_threshold = cms.uint32(17),
22 ZS_threshold = cms.uint32(1),
23 numberOfSamples = cms.int32(4),
24 numberOfPresamples = cms.int32(2),
25 numberOfSamplesHF = cms.int32(4),
26 numberOfPresamplesHF = cms.int32(2),
27 MinSignalThreshold = cms.uint32(0),
28 PMTNoiseThreshold = cms.uint32(0),
31 upgradeHF = cms.bool(
False),
32 upgradeHB = cms.bool(
False),
33 upgradeHE = cms.bool(
False),
44 inputLabel = cms.VInputTag(cms.InputTag(
'simHcalUnsuppressedDigis'),
45 cms.InputTag(
'simHcalUnsuppressedDigis')),
46 inputUpgradeLabel = cms.VInputTag(
47 cms.InputTag(
'simHcalUnsuppressedDigis:HBHEQIE11DigiCollection'),
48 cms.InputTag(
'simHcalUnsuppressedDigis:HFQIE10DigiCollection')),
49 InputTagFEDRaw = cms.InputTag(
"rawDataCollector"),
50 RunZS = cms.bool(
False),
51 FrontEndFormatError = cms.bool(
False),
52 PeakFinderAlgorithm = cms.int32(2),
54 HFTPScaleShift = hfTPScaleShift,
57 run2_HE_2017.toModify(simHcalTriggerPrimitiveDigis, upgradeHE=cms.bool(
True))
58 run2_HF_2017.toModify(simHcalTriggerPrimitiveDigis,
59 upgradeHF=cms.bool(
True),
60 numberOfSamplesHF = cms.int32(2),
61 numberOfPresamplesHF = cms.int32(1)
63 run2_HF_2017.toModify(hfTPScaleShift, NCT=cms.int32(2))
64 run3_HB.toModify(simHcalTriggerPrimitiveDigis, upgradeHB=cms.bool(
True))