CMS 3D CMS Logo

islandSuperClusters_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #
4 #
5 # Island SuperCluster producer
6 islandSuperClusters = cms.EDProducer("SuperClusterProducer",
7  barrelSuperclusterCollection = cms.string('islandBarrelSuperClusters'),
8  endcapEtaSearchRoad = cms.double(0.14),
9  barrelClusterCollection = cms.string('islandBarrelBasicClusters'),
10  endcapClusterProducer = cms.string('islandBasicClusters'),
11  barrelPhiSearchRoad = cms.double(0.8),
12  endcapPhiSearchRoad = cms.double(0.6),
13  VerbosityLevel = cms.string('ERROR'),
14  seedTransverseEnergyThreshold = cms.double(1.0),
15  endcapSuperclusterCollection = cms.string('islandEndcapSuperClusters'),
16  barrelEtaSearchRoad = cms.double(0.06),
17  doBarrel = cms.bool(True),
18  doEndcaps = cms.bool(True),
19  endcapClusterCollection = cms.string('islandEndcapBasicClusters'),
20  barrelClusterProducer = cms.string('islandBasicClusters'),
21  posCalcParameters = cms.PSet( T0_barl = cms.double(7.4),
22  T0_endc = cms.double(3.1),
23  T0_endcPresh = cms.double(1.2),
24  LogWeighted = cms.bool(True),
25  W0 = cms.double(4.2),
26  X0 = cms.double(0.89)
27  )
28 )
29 
30 from Configuration.Eras.Modifier_pA_2016_cff import pA_2016
31 from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
32 from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018
33 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
34 from Configuration.Eras.Modifier_ppRef_2017_cff import ppRef_2017
35 
36 from RecoHI.HiEgammaAlgos.HiIslandSuperClusters_cfi import islandSuperClusters as _hiIslandSuperClusters
37 
38 for e in [pA_2016, peripheralPbPb, pp_on_AA_2018, pp_on_XeXe_2017, ppRef_2017]:
39  e.toReplaceWith(islandSuperClusters, _hiIslandSuperClusters)