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