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 useTDCInMinBiasBits = cms.bool(
False),
28 MinSignalThreshold = cms.uint32(0),
29 PMTNoiseThreshold = cms.uint32(0),
32 upgradeHF = cms.bool(
False),
33 upgradeHB = cms.bool(
False),
34 upgradeHE = cms.bool(
False),
45 inputLabel = cms.VInputTag(cms.InputTag(
'simHcalUnsuppressedDigis'),
46 cms.InputTag(
'simHcalUnsuppressedDigis')),
47 inputUpgradeLabel = cms.VInputTag(
48 cms.InputTag(
'simHcalUnsuppressedDigis:HBHEQIE11DigiCollection'),
49 cms.InputTag(
'simHcalUnsuppressedDigis:HFQIE10DigiCollection')),
50 InputTagFEDRaw = cms.InputTag(
"rawDataCollector"),
51 RunZS = cms.bool(
False),
52 FrontEndFormatError = cms.bool(
False),
53 PeakFinderAlgorithm = cms.int32(2),
58 run2_HE_2017.toModify(simHcalTriggerPrimitiveDigis, upgradeHE=cms.bool(
True))
59 run2_HF_2017.toModify(simHcalTriggerPrimitiveDigis,
60 upgradeHF=cms.bool(
True),
61 numberOfSamplesHF = cms.int32(2),
62 numberOfPresamplesHF = cms.int32(1)
64 run2_HF_2017.toModify(tpScales.HF, NCTShift=cms.int32(2))
65 run3_HB.toModify(simHcalTriggerPrimitiveDigis, upgradeHB=cms.bool(
True))
66 run3_HB.toModify(tpScales.HBHE, LSBQIE11Overlap=cms.double(1/16.))