File indexing completed on 2024-04-06 12:29:34
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from CalibCalorimetry.CaloTPG.tpScales_cff import tpScales
0004
0005 LSParameter =cms.untracked.PSet(
0006 HcalFeatureHFEMBit= cms.bool(False),
0007 Min_Long_Energy= cms.double(10),
0008 Min_Short_Energy= cms.double(10),
0009 Long_vrs_Short_Slope= cms.double(100.2),
0010 Long_Short_Offset= cms.double(10.1))
0011
0012
0013 simHcalTriggerPrimitiveDigis = cms.EDProducer("HcalTrigPrimDigiProducer",
0014 peakFilter = cms.bool(True),
0015 weights = cms.vdouble(1.0, 1.0),
0016 weightsQIE11 = cms.PSet(
0017 ieta1 = cms.vint32(255, 255),
0018 ieta2 = cms.vint32(255, 255),
0019 ieta3 = cms.vint32(255, 255),
0020 ieta4 = cms.vint32(255, 255),
0021 ieta5 = cms.vint32(255, 255),
0022 ieta6 = cms.vint32(255, 255),
0023 ieta7 = cms.vint32(255, 255),
0024 ieta8 = cms.vint32(255, 255),
0025 ieta9 = cms.vint32(255, 255),
0026 ieta10 = cms.vint32(255, 255),
0027 ieta11 = cms.vint32(255, 255),
0028 ieta12 = cms.vint32(255, 255),
0029 ieta13 = cms.vint32(255, 255),
0030 ieta14 = cms.vint32(255, 255),
0031 ieta15 = cms.vint32(255, 255),
0032 ieta16 = cms.vint32(255, 255),
0033 ieta17 = cms.vint32(255, 255),
0034 ieta18 = cms.vint32(255, 255),
0035 ieta19 = cms.vint32(255, 255),
0036 ieta20 = cms.vint32(255, 255),
0037 ieta21 = cms.vint32(255, 255),
0038 ieta22 = cms.vint32(255, 255),
0039 ieta23 = cms.vint32(255, 255),
0040 ieta24 = cms.vint32(255, 255),
0041 ieta25 = cms.vint32(255, 255),
0042 ieta26 = cms.vint32(255, 255),
0043 ieta27 = cms.vint32(255, 255),
0044 ieta28 = cms.vint32(255, 255)
0045 ),
0046
0047 latency = cms.int32(1),
0048 FG_threshold = cms.uint32(12),
0049 FG_HF_thresholds = cms.vuint32(17, 255),
0050 ZS_threshold = cms.uint32(1),
0051
0052
0053
0054
0055 codedVetoThresholds = cms.PSet(
0056 ieta1 = cms.int32(0),
0057 ieta2 = cms.int32(0),
0058 ieta3 = cms.int32(0),
0059 ieta4 = cms.int32(0),
0060 ieta5 = cms.int32(0),
0061 ieta6 = cms.int32(0),
0062 ieta7 = cms.int32(0),
0063 ieta8 = cms.int32(0),
0064 ieta9 = cms.int32(0),
0065 ieta10 = cms.int32(0),
0066 ieta11 = cms.int32(0),
0067 ieta12 = cms.int32(0),
0068 ieta13 = cms.int32(0),
0069 ieta14 = cms.int32(0),
0070 ieta15 = cms.int32(0),
0071 ieta16 = cms.int32(0),
0072 ieta17 = cms.int32(0),
0073 ieta18 = cms.int32(0),
0074 ieta19 = cms.int32(0),
0075 ieta20 = cms.int32(0),
0076 ieta21 = cms.int32(0),
0077 ieta22 = cms.int32(0),
0078 ieta23 = cms.int32(0),
0079 ieta24 = cms.int32(0),
0080 ieta25 = cms.int32(0),
0081 ieta26 = cms.int32(0),
0082 ieta27 = cms.int32(0),
0083 ieta28 = cms.int32(0)
0084 ),
0085
0086 overrideDBvetoThresholdsHB = cms.bool(False),
0087 overrideDBvetoThresholdsHE = cms.bool(False),
0088 numberOfSamples = cms.int32(4),
0089 numberOfPresamples = cms.int32(2),
0090 numberOfSamplesHF = cms.int32(4),
0091 numberOfPresamplesHF = cms.int32(2),
0092 numberOfFilterPresamplesHBQIE11 = cms.int32(0),
0093 numberOfFilterPresamplesHEQIE11 = cms.int32(0),
0094 useTDCInMinBiasBits = cms.bool(False),
0095 MinSignalThreshold = cms.uint32(0),
0096 PMTNoiseThreshold = cms.uint32(0),
0097 LSConfig=LSParameter,
0098
0099 upgradeHF = cms.bool(False),
0100 upgradeHB = cms.bool(False),
0101 upgradeHE = cms.bool(False),
0102
0103 applySaturationFix = cms.bool(False),
0104
0105
0106
0107
0108
0109
0110
0111
0112
0113
0114 inputLabel = cms.VInputTag(cms.InputTag('simHcalUnsuppressedDigis'),
0115 cms.InputTag('simHcalUnsuppressedDigis')),
0116 inputUpgradeLabel = cms.VInputTag(
0117 cms.InputTag('simHcalUnsuppressedDigis:HBHEQIE11DigiCollection'),
0118 cms.InputTag('simHcalUnsuppressedDigis:HFQIE10DigiCollection')),
0119 InputTagFEDRaw = cms.InputTag("rawDataCollector"),
0120 overrideDBweightsAndFilterHB = cms.bool(False),
0121 overrideDBweightsAndFilterHE = cms.bool(False),
0122 RunZS = cms.bool(False),
0123 FrontEndFormatError = cms.bool(False),
0124 PeakFinderAlgorithm = cms.int32(2),
0125
0126 tpScales = tpScales,
0127 )
0128
0129 from Configuration.Eras.Modifier_run2_HE_2017_cff import run2_HE_2017
0130 run2_HE_2017.toModify(simHcalTriggerPrimitiveDigis, upgradeHE=True)
0131
0132 from Configuration.Eras.Modifier_run2_HF_2017_cff import run2_HF_2017
0133 run2_HF_2017.toModify(simHcalTriggerPrimitiveDigis,
0134 upgradeHF=True,
0135 numberOfSamplesHF = 2,
0136 numberOfPresamplesHF = 1
0137 )
0138
0139 from Configuration.Eras.Modifier_run3_HB_cff import run3_HB
0140 run3_HB.toModify(simHcalTriggerPrimitiveDigis, upgradeHB=True)
0141
0142 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0143 run3_common.toModify(simHcalTriggerPrimitiveDigis, applySaturationFix=True)