1 import FWCore.ParameterSet.Config
as cms
3 particleFlowRecHitHO = cms.EDProducer(
"PFRecHitProducer",
5 name = cms.string(
"PFRecHitHCALDenseIdNavigator"),
6 hcalEnums = cms.vint32(3)
10 name = cms.string(
"PFHORecHitCreator"),
11 src = cms.InputTag(
"horeco",
""),
12 qualityTests = cms.VPSet(
14 name = cms.string(
"PFRecHitQTestHOThreshold"),
15 threshold_ring0 = cms.double(0.4),
16 threshold_ring12 = cms.double(1.0)
23 name = cms.string(
"PFRecHitQTestHCALChannel"),
24 maxSeverities = cms.vint32(11),
25 cleaningThresholds = cms.vdouble(0.0),
26 flags = cms.vstring(
'Standard')
40 Customises PFRecHitProducer for Run 2 by lowering the 43 for prod
in object.producers:
44 prod.qualityTests = cms.VPSet(
46 name = cms.string(
"PFRecHitQTestThreshold"),
47 threshold = cms.double(0.05)
50 name = cms.string(
"PFRecHitQTestHCALChannel"),
51 maxSeverities = cms.vint32(11),
52 cleaningThresholds = cms.vdouble(0.0),
53 flags = cms.vstring(
'Standard')
57 from Configuration.Eras.Modifier_run2_common_cff
import run2_common
58 run2_common.toModify( particleFlowRecHitHO, func=_modifyParticleFlowRecHitHOForRun2 )
def _modifyParticleFlowRecHitHOForRun2(object)