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 =
'particleFlowClusterHGCal',
20 PFBasicClusterCollectionEndcap =
"",
21 PFSuperClusterCollectionEndcap =
"",
22 PFSuperClusterCollectionEndcapWithPreshower =
"",
23 thresh_PFClusterEndcap = 1.5e-1,
24 dropUnseedable =
True,
27 phase2_hgcal.toModify( particleFlowSuperClusterHGCal.regressionConfig,
28 regressionKeyEE =
"superclus_hgcal_mean_offline",
29 uncertaintyKeyEE =
"superclus_hgcal_sigma_offline",
31 hgcalRecHits =
"particleFlowRecHitHGC" 34 _phase2_hgcal_particleFlowSuperClusteringTask = particleFlowSuperClusteringTask.copy()
35 _phase2_hgcal_particleFlowSuperClusteringTask.add(particleFlowSuperClusterHGCal)
37 phase2_hgcal.toReplaceWith( particleFlowSuperClusteringTask, _phase2_hgcal_particleFlowSuperClusteringTask )