1 import FWCore.ParameterSet.Config
as cms
2 particleFlowRecHitHO = cms.EDProducer(
"PFRecHitProducer",
4 name = cms.string(
"PFRecHitHCALNavigator")
8 name = cms.string(
"PFHORecHitCreator"),
9 src = cms.InputTag(
"horeco",
""),
10 qualityTests = cms.VPSet(
12 name = cms.string(
"PFRecHitQTestHOThreshold"),
13 threshold_ring0 = cms.double(0.4),
14 threshold_ring12 = cms.double(1.0)
21 name = cms.string(
"PFRecHitQTestHCALChannel"),
22 maxSeverities = cms.vint32(11),
23 cleaningThresholds = cms.vdouble(0.0),
24 flags = cms.vstring(
'Standard')
35 from Configuration.StandardSequences.Eras
import eras
39 Customises PFRecHitProducer for Run 2 by lowering the
42 for prod
in object.producers:
43 prod.qualityTests = cms.VPSet(
45 name = cms.string(
"PFRecHitQTestThreshold"),
46 threshold = cms.double(0.05)
49 name = cms.string(
"PFRecHitQTestHCALChannel"),
50 maxSeverities = cms.vint32(11),
51 cleaningThresholds = cms.vdouble(0.0),
52 flags = cms.vstring(
'Standard')
56 eras.run2_common.toModify( particleFlowRecHitHO, func=_modifyParticleFlowRecHitHOForRun2 )
def _modifyParticleFlowRecHitHOForRun2