1 import FWCore.ParameterSet.Config
as cms
13 for qTest
in particleFlowRecHitHF.producers[0].qualityTests:
14 if qTest.name ==
'PFRecHitQTestHCALChannel':
15 qTest.maxSeverities.append(9)
16 qTest.cleaningThresholds.append(30.)
17 qTest.flags.append(
'HFDigi')
20 import RecoLocalCalo.HcalRecAlgos.RemoveAddSevLevel
as HcalRemoveAddSevLevel
21 HcalRemoveAddSevLevel.AddFlag(hcalRecAlgos,
"HFDigiTime",11,verbose=
False)
22 HcalRemoveAddSevLevel.AddFlag(hcalRecAlgos,
"HBHEFlatNoise",12)
23 HcalRemoveAddSevLevel.AddFlag(hcalRecAlgos,
"HBHENegativeNoise",12)
27 from Configuration.Eras.Modifier_run2_25ns_specific_cff
import run2_25ns_specific
29 HcalRemoveAddSevLevel.AddFlag(algos,
"HBHEFlatNoise",8)
30 HcalRemoveAddSevLevel.AddFlag(algos,
"HFDigiTime",8)
31 run2_25ns_specific.toModify(hcalRecAlgos, _modName)
33 from Configuration.Eras.Modifier_run2_HCAL_2017_cff
import run2_HCAL_2017
35 HcalRemoveAddSevLevel.RemoveFlag(algos,
"HFDigiTime")
36 run2_HCAL_2017.toModify(hcalRecAlgos, _modName)
39 from Configuration.Eras.Modifier_run3_HB_cff
import run3_HB
41 HcalRemoveAddSevLevel.AddFlag(algos,
"HBHENegativeNoise",8)
42 run3_HB.toModify(hcalRecAlgos, _modName)
45 CSCHaloData.ExpectedBX = cms.int32(3)
50 jetCorrectorsForRecoTask.replace(ak4PFCHSL1FastL2L3CorrectorTask, ak4PFCHSL1FastL2L3ResidualCorrectorTask)