CMS 3D CMS Logo

particleFlowSuperClusterECAL_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoEcal.EgammaClusterProducers.particleFlowSuperClusterECALMustache_cfi import particleFlowSuperClusterECALMustache as _particleFlowSuperClusterECALMustache
4 # define the default ECAL clustering (Mustache or Box or DeepSC)
5 particleFlowSuperClusterECAL = _particleFlowSuperClusterECALMustache.clone()
6 
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")
16  )
17 )
18 ecal_deepsc.toReplaceWith(particleFlowSuperClusterECAL, _particleFlowSuperClusterECALDeepSC)
19 
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)
24 
25 from Configuration.ProcessModifiers.egamma_lowPt_exclusive_cff import egamma_lowPt_exclusive
26 egamma_lowPt_exclusive.toModify(particleFlowSuperClusterECAL,
27  thresh_SCEt = 1.0,
28  thresh_PFClusterSeedBarrel = 0.5,
29  thresh_PFClusterSeedEndcap = 0.5)
30