1 import FWCore.ParameterSet.Config
as cms
10 photons = cms.EDProducer(
"GEDPhotonProducer",
11 photonProducer = cms.InputTag(
"photonCore"),
12 reconstructionStep = cms.string(
"tmp"),
13 outputPhotonCollection = cms.string(
""),
14 pfEgammaCandidates = cms.InputTag(
""),
15 valueMapPhotons = cms.string(
""),
17 regressionWeightsFromDB = cms.bool(
True),
18 energyRegressionWeightsFileLocation = cms.string(
'/afs/cern.ch/user/b/bendavid/cmspublic/regweights/gbrph.root'),
19 energyRegressionWeightsDBLocation = cms.string(
'wgbrph'),
20 superClusterEnergyCorrFunction = cms.string(
"EcalClusterEnergyCorrection"),
21 superClusterEnergyErrorFunction = cms.string(
"EcalClusterEnergyUncertainty"),
22 superClusterCrackEnergyCorrFunction = cms.string(
"EcalClusterCrackCorrection"),
23 photonEcalEnergyCorrFunction = cms.string(
"EcalClusterEnergyCorrectionObjectSpecific"),
25 candidateP4type = cms.string(
"fromEcalEnergy"),
26 isolationSumsCalculatorSet = cms.PSet(isolationSumsCalculator),
27 mipVariableSet = cms.PSet(mipVariable),
28 usePrimaryVertex = cms.bool(
True),
29 primaryVertexProducer = cms.InputTag(
'offlinePrimaryVerticesWithBS'),
30 posCalc_t0_endcPresh = cms.double(3.6),
31 posCalc_logweight = cms.bool(
True),
32 posCalc_w0 = cms.double(4.2),
33 hbheInstance = cms.string(
''),
34 posCalc_t0_endc = cms.double(6.3),
35 barrelEcalHits = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB"),
36 hbheModule = cms.string(
'hbhereco'),
37 endcapEcalHits = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE"),
38 preshowerHits = cms.InputTag(
"ecalPreshowerRecHit",
"EcalRecHitsES"),
39 hcalTowers = cms.InputTag(
"towerMaker"),
40 runMIPTagger = cms.bool(
True),
41 highEt = cms.double(100.),
42 minR9Barrel = cms.double(0.94),
43 minR9Endcap = cms.double(0.95),
44 hOverEConeSize = cms.double(0.15),
45 posCalc_x0 = cms.double(0.89),
46 posCalc_t0_barl = cms.double(7.7),
47 minSCEtBarrel = cms.double(10.0),
48 minSCEtEndcap = cms.double(10.0),
49 maxHoverEBarrel = cms.double(0.5),
50 maxHoverEEndcap = cms.double(0.5),
51 ecalRecHitSumEtOffsetBarrel = cms.double(999999999),
52 ecalRecHitSumEtSlopeBarrel = cms.double(0.),
53 ecalRecHitSumEtOffsetEndcap = cms.double(999999999),
54 ecalRecHitSumEtSlopeEndcap = cms.double(0.),
55 hcalTowerSumEtOffsetBarrel = cms.double(999999999),
56 hcalTowerSumEtSlopeBarrel = cms.double(0.),
57 hcalTowerSumEtOffsetEndcap = cms.double(999999999),
58 hcalTowerSumEtSlopeEndcap = cms.double(0.),
59 nTrackSolidConeBarrel =cms.double(999999999),
60 nTrackSolidConeEndcap =cms.double(999999999),
61 nTrackHollowConeBarrel =cms.double(999999999),
62 nTrackHollowConeEndcap =cms.double(999999999),
63 trackPtSumSolidConeBarrel =cms.double(999999999),
64 trackPtSumSolidConeEndcap =cms.double(999999999),
65 trackPtSumHollowConeBarrel =cms.double(999999999),
66 trackPtSumHollowConeEndcap =cms.double(999999999),
67 sigmaIetaIetaCutBarrel=cms.double(999999999),
68 sigmaIetaIetaCutEndcap=cms.double(999999999),
69 posCalcParameters = cms.PSet( T0_barl = cms.double(7.4),
70 T0_endc = cms.double(6.3),
71 T0_endcPresh = cms.double(3.6),
72 LogWeighted = cms.bool(
True),
77 RecHitFlagToBeExcludedEB = cleanedHybridSuperClusters.RecHitFlagToBeExcluded,
78 RecHitSeverityToBeExcludedEB = cleanedHybridSuperClusters.RecHitSeverityToBeExcluded,
79 RecHitFlagToBeExcludedEE = multi5x5BasicClustersCleaned.RecHitFlagToBeExcluded,
80 RecHitSeverityToBeExcludedEE = cleanedHybridSuperClusters.RecHitSeverityToBeExcluded,
83 photonsFromMultiCl = photons.clone(
84 photonProducer =
'photonCoreFromMultiCl' 87 islandPhotons = cms.EDProducer(
"PhotonProducer",
88 photonCoreProducer = cms.InputTag(
"islandPhotonCore"),
89 regressionWeightsFromDB = cms.bool(
True),
90 energyRegressionWeightsFileLocation = cms.string(
'/afs/cern.ch/user/b/bendavid/cmspublic/regweights/gbrph.root'),
91 energyRegressionWeightsDBLocation = cms.string(
'wgbrph'),
92 superClusterEnergyCorrFunction = cms.string(
"EcalClusterEnergyCorrection"),
93 superClusterEnergyErrorFunction = cms.string(
"EcalClusterEnergyUncertainty"),
94 superClusterCrackEnergyCorrFunction = cms.string(
"EcalClusterCrackCorrection"),
95 photonEcalEnergyCorrFunction = cms.string(
"EcalClusterEnergyCorrectionObjectSpecific"),
96 candidateP4type = cms.string(
"fromEcalEnergy"),
97 isolationSumsCalculatorSet = cms.PSet(isolationSumsCalculator),
98 mipVariableSet = cms.PSet(mipVariable),
99 usePrimaryVertex = cms.bool(
True),
100 primaryVertexProducer = cms.InputTag(
'offlinePrimaryVerticesWithBS'),
101 posCalc_t0_endcPresh = cms.double(3.6),
102 posCalc_logweight = cms.bool(
True),
103 posCalc_w0 = cms.double(4.2),
104 hbheInstance = cms.string(
''),
105 posCalc_t0_endc = cms.double(6.3),
106 barrelEcalHits = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB"),
107 hbheModule = cms.string(
'hbhereco'),
108 endcapEcalHits = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE"),
109 hcalTowers = cms.InputTag(
"towerMaker"),
110 runMIPTagger = cms.bool(
True),
111 highEt = cms.double(100.),
112 minR9Barrel = cms.double(10.0),
113 minR9Endcap = cms.double(10.0),
114 hOverEConeSize = cms.double(0.15),
115 posCalc_x0 = cms.double(0.89),
116 posCalc_t0_barl = cms.double(7.7),
117 minSCEtBarrel = cms.double(5.0),
118 minSCEtEndcap = cms.double(15.0),
119 maxHoverEBarrel = cms.double(0.99),
120 maxHoverEEndcap = cms.double(0.5),
121 ecalRecHitSumEtOffsetBarrel = cms.double(999999999),
122 ecalRecHitSumEtSlopeBarrel = cms.double(0.),
123 ecalRecHitSumEtOffsetEndcap = cms.double(999999999),
124 ecalRecHitSumEtSlopeEndcap = cms.double(0.),
125 hcalTowerSumEtOffsetBarrel = cms.double(999999999),
126 hcalTowerSumEtSlopeBarrel = cms.double(0.),
127 hcalTowerSumEtOffsetEndcap = cms.double(999999999),
128 hcalTowerSumEtSlopeEndcap = cms.double(0.),
129 nTrackSolidConeBarrel =cms.double(999999999),
130 nTrackSolidConeEndcap =cms.double(999999999),
131 nTrackHollowConeBarrel =cms.double(999999999),
132 nTrackHollowConeEndcap =cms.double(999999999),
133 trackPtSumSolidConeBarrel =cms.double(999999999),
134 trackPtSumSolidConeEndcap =cms.double(999999999),
135 trackPtSumHollowConeBarrel =cms.double(999999999),
136 trackPtSumHollowConeEndcap =cms.double(999999999),
137 sigmaIetaIetaCutBarrel=cms.double(999999999),
138 sigmaIetaIetaCutEndcap=cms.double(999999999),
139 posCalcParameters = cms.PSet( T0_barl = cms.double(7.4),
140 T0_endc = cms.double(6.3),
141 T0_endcPresh = cms.double(3.6),
142 LogWeighted = cms.bool(
True),
143 W0 = cms.double(4.2),
144 X0 = cms.double(0.89)
147 RecHitFlagToBeExcludedEB = cleanedHybridSuperClusters.RecHitFlagToBeExcluded,
148 RecHitSeverityToBeExcludedEB = cleanedHybridSuperClusters.RecHitSeverityToBeExcluded,
149 RecHitFlagToBeExcludedEE = multi5x5BasicClustersCleaned.RecHitFlagToBeExcluded,
150 RecHitSeverityToBeExcludedEE = cleanedHybridSuperClusters.RecHitSeverityToBeExcluded,