1 import FWCore.ParameterSet.Config
as cms
4 particleFlowSuperClusterECALBox = cms.EDProducer(
5 "PFECALSuperClusterProducer",
7 verbose = cms.untracked.bool(
False),
9 ClusteringType = cms.string(
"Box"),
11 EnergyWeight = cms.string(
"Raw"),
14 useDynamicDPhiWindow = cms.bool(
False),
17 PFClusters = cms.InputTag(
"particleFlowClusterECAL"),
18 ESAssociation = cms.InputTag(
"particleFlowClusterECAL"),
19 BeamSpot = cms.InputTag(
"offlineBeamSpot"),
21 PFBasicClusterCollectionBarrel = cms.string(
"particleFlowBasicClusterECALBarrel"),
22 PFSuperClusterCollectionBarrel = cms.string(
"particleFlowSuperClusterECALBarrel"),
23 PFBasicClusterCollectionEndcap = cms.string(
"particleFlowBasicClusterECALEndcap"),
24 PFSuperClusterCollectionEndcap = cms.string(
"particleFlowSuperClusterECALEndcap"),
25 PFBasicClusterCollectionPreshower = cms.string(
"particleFlowBasicClusterECALPreshower"),
26 PFSuperClusterCollectionEndcapWithPreshower = cms.string(
"particleFlowSuperClusterECALEndcapWithPreshower"),
29 use_preshower = cms.bool(
True),
32 seedThresholdIsET = cms.bool(
True),
35 useRegression = cms.bool(
False),
36 regressionConfig = cms.PSet(
37 regressionKeyEB = cms.string(
'pfscecal_EBCorrection_offline_v2'),
38 uncertaintyKeyEB = cms.string(
'pfscecal_EBUncertainty_offline_v2'),
39 regressionKeyEE = cms.string(
'pfscecal_EECorrection_offline_v2'),
40 uncertaintyKeyEE = cms.string(
'pfscecal_EEUncertainty_offline_v2'),
41 vertexCollection = cms.InputTag(
"offlinePrimaryVertices"),
42 ecalRecHitsEB = cms.InputTag(
'ecalRecHit',
'EcalRecHitsEB'),
43 ecalRecHitsEE = cms.InputTag(
'ecalRecHit',
'EcalRecHitsEE')
47 thresh_SCEt = cms.double(4.0),
50 thresh_PFClusterSeedBarrel = cms.double(3.0),
51 thresh_PFClusterBarrel = cms.double(0.5),
53 thresh_PFClusterSeedEndcap = cms.double(5.0),
54 thresh_PFClusterEndcap = cms.double(0.5),
57 phiwidth_SuperClusterBarrel = cms.double(0.28),
58 etawidth_SuperClusterBarrel = cms.double(0.04),
60 phiwidth_SuperClusterEndcap = cms.double(0.28),
61 etawidth_SuperClusterEndcap = cms.double(0.04),
64 thresh_PFClusterES = cms.double(0.),
68 doSatelliteClusterMerge = cms.bool(
False),
69 satelliteClusterSeedThreshold = cms.double(50.0),
70 satelliteMajorityFraction = cms.double(0.5),
75 applyCrackCorrections = cms.bool(
False)
79 particleFlowSuperClusterECALMustache = cms.EDProducer(
80 "PFECALSuperClusterProducer",
82 verbose = cms.untracked.bool(
False),
84 ClusteringType = cms.string(
"Mustache"),
86 EnergyWeight = cms.string(
"Raw"),
89 useDynamicDPhiWindow = cms.bool(
True),
92 PFClusters = cms.InputTag(
"particleFlowClusterECAL"),
93 ESAssociation = cms.InputTag(
"particleFlowClusterECAL"),
94 BeamSpot = cms.InputTag(
"offlineBeamSpot"),
96 PFBasicClusterCollectionBarrel = cms.string(
"particleFlowBasicClusterECALBarrel"),
97 PFSuperClusterCollectionBarrel = cms.string(
"particleFlowSuperClusterECALBarrel"),
98 PFBasicClusterCollectionEndcap = cms.string(
"particleFlowBasicClusterECALEndcap"),
99 PFSuperClusterCollectionEndcap = cms.string(
"particleFlowSuperClusterECALEndcap"),
100 PFBasicClusterCollectionPreshower = cms.string(
"particleFlowBasicClusterECALPreshower"),
101 PFSuperClusterCollectionEndcapWithPreshower = cms.string(
"particleFlowSuperClusterECALEndcapWithPreshower"),
104 use_preshower = cms.bool(
True),
107 seedThresholdIsET = cms.bool(
True),
109 useRegression = cms.bool(
True),
110 regressionConfig = cms.PSet(
111 regressionKeyEB = cms.string(
'pfscecal_EBCorrection_offline_v2'),
112 uncertaintyKeyEB = cms.string(
'pfscecal_EBUncertainty_offline_v2'),
113 regressionKeyEE = cms.string(
'pfscecal_EECorrection_offline_v2'),
114 uncertaintyKeyEE = cms.string(
'pfscecal_EEUncertainty_offline_v2'),
115 vertexCollection = cms.InputTag(
"offlinePrimaryVertices"),
116 ecalRecHitsEB = cms.InputTag(
'ecalRecHit',
'EcalRecHitsEB'),
117 ecalRecHitsEE = cms.InputTag(
'ecalRecHit',
'EcalRecHitsEE')
121 thresh_SCEt = cms.double(4.0),
124 thresh_PFClusterSeedBarrel = cms.double(1.0),
125 thresh_PFClusterBarrel = cms.double(0.0),
127 thresh_PFClusterSeedEndcap = cms.double(1.0),
128 thresh_PFClusterEndcap = cms.double(0.0),
131 phiwidth_SuperClusterBarrel = cms.double(0.6),
132 etawidth_SuperClusterBarrel = cms.double(0.04),
134 phiwidth_SuperClusterEndcap = cms.double(0.6),
135 etawidth_SuperClusterEndcap = cms.double(0.04),
138 thresh_PFClusterES = cms.double(0.),
142 doSatelliteClusterMerge = cms.bool(
False),
143 satelliteClusterSeedThreshold = cms.double(50.0),
144 satelliteMajorityFraction = cms.double(0.5),
149 applyCrackCorrections = cms.bool(
False)
154 particleFlowSuperClusterECAL = particleFlowSuperClusterECALMustache.clone()