1 import FWCore.ParameterSet.Config
as cms
5 particleFlowSuperClusterECAL = _particleFlowSuperClusterECALMustache.clone()
7 from Configuration.ProcessModifiers.ecal_deepsc_cff
import ecal_deepsc
8 _particleFlowSuperClusterECALDeepSC = _particleFlowSuperClusterECALMustache.clone(
9 ClusteringType =
"DeepSC",
10 deepSuperClusterConfig = cms.PSet(
11 modelFile = cms.string(
"RecoEcal/EgammaClusterProducers/data/DeepSCModels/EOY_2018/model.pb"),
12 configFileClusterFeatures = cms.string(
"RecoEcal/EgammaClusterProducers/data/DeepSCModels/EOY_2018/config_clusters_inputs.txt"),
13 configFileWindowFeatures = cms.string(
"RecoEcal/EgammaClusterProducers/data/DeepSCModels/EOY_2018/config_window_inputs.txt"),
14 configFileHitsFeatures = cms.string(
"RecoEcal/EgammaClusterProducers/data/DeepSCModels/EOY_2018/config_hits_inputs.txt"),
15 collectionStrategy = cms.string(
"Cascade")
18 ecal_deepsc.toReplaceWith(particleFlowSuperClusterECAL, _particleFlowSuperClusterECALDeepSC)
20 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
21 pp_on_AA.toModify(particleFlowSuperClusterECAL, useDynamicDPhiWindow =
False,
22 phiwidth_SuperClusterBarrel = 0.20,
23 phiwidth_SuperClusterEndcap = 0.20)
25 from Configuration.ProcessModifiers.egamma_lowPt_exclusive_cff
import egamma_lowPt_exclusive
26 egamma_lowPt_exclusive.toModify(particleFlowSuperClusterECAL,
28 thresh_PFClusterSeedBarrel = 0.5,
29 thresh_PFClusterSeedEndcap = 0.5)