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"),
20 vertexCollection = cms.InputTag(
"offlinePrimaryVertices"),
22 ecalRecHitsEB = cms.InputTag(
'ecalRecHit',
'EcalRecHitsEB'),
23 ecalRecHitsEE = cms.InputTag(
'ecalRecHit',
'EcalRecHitsEE'),
25 PFBasicClusterCollectionBarrel = cms.string(
"particleFlowBasicClusterECALBarrel"),
26 PFSuperClusterCollectionBarrel = cms.string(
"particleFlowSuperClusterECALBarrel"),
27 PFBasicClusterCollectionEndcap = cms.string(
"particleFlowBasicClusterECALEndcap"),
28 PFSuperClusterCollectionEndcap = cms.string(
"particleFlowSuperClusterECALEndcap"),
29 PFBasicClusterCollectionPreshower = cms.string(
"particleFlowBasicClusterECALPreshower"),
30 PFSuperClusterCollectionEndcapWithPreshower = cms.string(
"particleFlowSuperClusterECALEndcapWithPreshower"),
33 use_preshower = cms.bool(
True),
36 seedThresholdIsET = cms.bool(
True),
39 useRegression = cms.bool(
False),
40 regressionKeyEB = cms.string(
'pfecalsc_EBCorrection'),
41 regressionKeyEE = cms.string(
'pfecalsc_EECorrection'),
44 thresh_SCEt = cms.double(4.0),
47 thresh_PFClusterSeedBarrel = cms.double(3.0),
48 thresh_PFClusterBarrel = cms.double(0.5),
50 thresh_PFClusterSeedEndcap = cms.double(5.0),
51 thresh_PFClusterEndcap = cms.double(0.5),
54 phiwidth_SuperClusterBarrel = cms.double(0.28),
55 etawidth_SuperClusterBarrel = cms.double(0.04),
57 phiwidth_SuperClusterEndcap = cms.double(0.28),
58 etawidth_SuperClusterEndcap = cms.double(0.04),
61 thresh_PFClusterES = cms.double(0.),
65 doSatelliteClusterMerge = cms.bool(
False),
66 satelliteClusterSeedThreshold = cms.double(50.0),
67 satelliteMajorityFraction = cms.double(0.5),
72 applyCrackCorrections = cms.bool(
False)
76 particleFlowSuperClusterECALMustache = cms.EDProducer(
77 "PFECALSuperClusterProducer",
79 verbose = cms.untracked.bool(
False),
81 ClusteringType = cms.string(
"Mustache"),
83 EnergyWeight = cms.string(
"Raw"),
86 useDynamicDPhiWindow = cms.bool(
True),
89 PFClusters = cms.InputTag(
"particleFlowClusterECAL"),
90 ESAssociation = cms.InputTag(
"particleFlowClusterECAL"),
91 BeamSpot = cms.InputTag(
"offlineBeamSpot"),
93 PFBasicClusterCollectionBarrel = cms.string(
"particleFlowBasicClusterECALBarrel"),
94 PFSuperClusterCollectionBarrel = cms.string(
"particleFlowSuperClusterECALBarrel"),
95 PFBasicClusterCollectionEndcap = cms.string(
"particleFlowBasicClusterECALEndcap"),
96 PFSuperClusterCollectionEndcap = cms.string(
"particleFlowSuperClusterECALEndcap"),
97 PFBasicClusterCollectionPreshower = cms.string(
"particleFlowBasicClusterECALPreshower"),
98 PFSuperClusterCollectionEndcapWithPreshower = cms.string(
"particleFlowSuperClusterECALEndcapWithPreshower"),
101 use_preshower = cms.bool(
True),
104 seedThresholdIsET = cms.bool(
True),
106 useRegression = cms.bool(
True),
107 regressionConfig = cms.PSet(
108 regressionKeyEB = cms.string(
'pfscecal_EBCorrection_offline_v1'),
109 regressionKeyEE = cms.string(
'pfscecal_EECorrection_offline_v1'),
110 vertexCollection = cms.InputTag(
"offlinePrimaryVertices"),
111 ecalRecHitsEB = cms.InputTag(
'ecalRecHit',
'EcalRecHitsEB'),
112 ecalRecHitsEE = cms.InputTag(
'ecalRecHit',
'EcalRecHitsEE')
116 thresh_SCEt = cms.double(4.0),
119 thresh_PFClusterSeedBarrel = cms.double(1.0),
120 thresh_PFClusterBarrel = cms.double(0.0),
122 thresh_PFClusterSeedEndcap = cms.double(1.0),
123 thresh_PFClusterEndcap = cms.double(0.0),
126 phiwidth_SuperClusterBarrel = cms.double(0.6),
127 etawidth_SuperClusterBarrel = cms.double(0.04),
129 phiwidth_SuperClusterEndcap = cms.double(0.6),
130 etawidth_SuperClusterEndcap = cms.double(0.04),
133 thresh_PFClusterES = cms.double(0.),
137 doSatelliteClusterMerge = cms.bool(
False),
138 satelliteClusterSeedThreshold = cms.double(50.0),
139 satelliteMajorityFraction = cms.double(0.5),
144 applyCrackCorrections = cms.bool(
False)
149 particleFlowSuperClusterECAL = particleFlowSuperClusterECALMustache.clone()