1 import FWCore.ParameterSet.Config
as cms
11 particleFlowSuperClusteringTask = cms.Task(particleFlowSuperClusterECAL)
12 particleFlowSuperClusteringSequence = cms.Sequence(particleFlowSuperClusteringTask)
14 particleFlowSuperClusterHGCal = particleFlowSuperClusterECAL.clone()
15 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
16 phase2_hgcal.toModify(
17 particleFlowSuperClusterHGCal,
18 PFClusters = cms.InputTag(
'particleFlowClusterHGCal'),
19 useRegression = cms.bool(
False),
20 use_preshower = cms.bool(
False),
21 PFBasicClusterCollectionEndcap = cms.string(
""),
22 PFSuperClusterCollectionEndcap = cms.string(
""),
23 PFSuperClusterCollectionEndcapWithPreshower = cms.string(
""),
24 thresh_PFClusterEndcap = cms.double(1.5e-1),
25 dropUnseedable = cms.bool(
True),
28 particleFlowSuperClusterHGCalFromMultiCl = particleFlowSuperClusterHGCal.clone()
29 phase2_hgcal.toModify(
30 particleFlowSuperClusterHGCalFromMultiCl,
31 PFClusters = cms.InputTag(
'particleFlowClusterHGCalFromMultiCl')
33 _phase2_hgcal_particleFlowSuperClusteringTask = particleFlowSuperClusteringTask.copy()
34 _phase2_hgcal_particleFlowSuperClusteringTask.add(particleFlowSuperClusterHGCal)
35 _phase2_hgcal_particleFlowSuperClusteringTask.add(particleFlowSuperClusterHGCalFromMultiCl)
37 phase2_hgcal.toReplaceWith( particleFlowSuperClusteringTask, _phase2_hgcal_particleFlowSuperClusteringTask )