1 import FWCore.ParameterSet.Config
as cms
14 gedPhotons = cms.EDProducer(
"GEDPhotonProducer",
15 photonProducer = cms.InputTag(
"gedPhotonsTmp"),
16 reconstructionStep = cms.string(
"tmp"),
18 regressionWeightsFromDB = cms.bool(
True),
19 energyRegressionWeightsFileLocation = cms.string(
'/afs/cern.ch/user/b/bendavid/cmspublic/regweights/gbrph.root'),
20 energyRegressionWeightsDBLocation = cms.string(
'wgbrph'),
22 useRegression = cms.bool(
True),
23 regressionConfig = regressionModifier.clone(rhoCollection=cms.InputTag(
"fixedGridRhoFastjetAllTmp")),
24 superClusterEnergyCorrFunction = cms.string(
"EcalClusterEnergyCorrection"),
25 superClusterEnergyErrorFunction = cms.string(
"EcalClusterEnergyUncertainty"),
26 superClusterCrackEnergyCorrFunction = cms.string(
"EcalClusterCrackCorrection"),
27 photonEcalEnergyCorrFunction = cms.string(
"EcalClusterEnergyCorrectionObjectSpecific"),
28 pfEgammaCandidates = cms.InputTag(
"particleFlowEGamma"),
29 pfCandidates = cms.InputTag(
"particleFlowTmp"),
30 outputPhotonCollection = cms.string(
""),
31 valueMapPhotons = cms.string(
"valMapPFEgammaCandToPhoton"),
33 candidateP4type = cms.string(
"fromRefinedSCRegression"),
34 isolationSumsCalculatorSet = cms.PSet(isolationSumsCalculator),
35 PFIsolationCalculatorSet = cms.PSet(pfIsolationCalculator),
36 mipVariableSet = cms.PSet(mipVariable),
37 usePrimaryVertex = cms.bool(
True),
38 primaryVertexProducer = cms.InputTag(
'offlinePrimaryVerticesWithBS'),
39 posCalc_t0_endcPresh = cms.double(3.6),
40 posCalc_logweight = cms.bool(
True),
41 posCalc_w0 = cms.double(4.2),
42 hbheInstance = cms.string(
''),
43 posCalc_t0_endc = cms.double(6.3),
44 barrelEcalHits = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB"),
45 hbheModule = cms.string(
'hbhereco'),
46 endcapEcalHits = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE"),
47 preshowerHits = cms.InputTag(
"ecalPreshowerRecHit",
"EcalRecHitsES"),
48 hcalTowers = cms.InputTag(
"towerMaker"),
49 runMIPTagger = cms.bool(
True),
50 highEt = cms.double(100.),
51 minR9Barrel = cms.double(0.94),
52 minR9Endcap = cms.double(0.95),
53 hOverEConeSize = cms.double(0.15),
54 posCalc_x0 = cms.double(0.89),
55 posCalc_t0_barl = cms.double(7.7),
56 minSCEtBarrel = cms.double(10.0),
57 minSCEtEndcap = cms.double(10.0),
58 maxHoverEBarrel = cms.double(0.5),
59 maxHoverEEndcap = cms.double(0.5),
60 ecalRecHitSumEtOffsetBarrel = cms.double(999999999),
61 ecalRecHitSumEtSlopeBarrel = cms.double(0.),
62 ecalRecHitSumEtOffsetEndcap = cms.double(999999999),
63 ecalRecHitSumEtSlopeEndcap = cms.double(0.),
64 hcalTowerSumEtOffsetBarrel = cms.double(999999999),
65 hcalTowerSumEtSlopeBarrel = cms.double(0.),
66 hcalTowerSumEtOffsetEndcap = cms.double(999999999),
67 hcalTowerSumEtSlopeEndcap = cms.double(0.),
68 nTrackSolidConeBarrel =cms.double(999999999),
69 nTrackSolidConeEndcap =cms.double(999999999),
70 nTrackHollowConeBarrel =cms.double(999999999),
71 nTrackHollowConeEndcap =cms.double(999999999),
72 trackPtSumSolidConeBarrel =cms.double(999999999),
73 trackPtSumSolidConeEndcap =cms.double(999999999),
74 trackPtSumHollowConeBarrel =cms.double(999999999),
75 trackPtSumHollowConeEndcap =cms.double(999999999),
76 sigmaIetaIetaCutBarrel=cms.double(999999999),
77 sigmaIetaIetaCutEndcap=cms.double(999999999),
78 posCalcParameters = cms.PSet( T0_barl = cms.double(7.4),
79 T0_endc = cms.double(6.3),
80 T0_endcPresh = cms.double(3.6),
81 LogWeighted = cms.bool(
True),
86 RecHitFlagToBeExcludedEB = cleanedHybridSuperClusters.RecHitFlagToBeExcluded,
87 RecHitSeverityToBeExcludedEB = cleanedHybridSuperClusters.RecHitSeverityToBeExcluded,
88 RecHitFlagToBeExcludedEE = multi5x5BasicClustersCleaned.RecHitFlagToBeExcluded,
89 RecHitSeverityToBeExcludedEE = cleanedHybridSuperClusters.RecHitSeverityToBeExcluded,
90 checkHcalStatus = cms.bool(
True),