CMS 3D CMS Logo

gedPhotons_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
8 
10 
11 from RecoEgamma.EgammaIsolationAlgos.egammaHBHERecHitThreshold_cff import egammaHBHERecHit
12 #
13 # producer for photons
14 #
15 gedPhotons = cms.EDProducer("GEDPhotonProducer",
16  photonProducer = cms.InputTag("gedPhotonsTmp"),
17  reconstructionStep = cms.string("tmp"),
18  #old regression <<<<<< >>>>>> do not use
19  regressionWeightsFromDB = cms.bool(True),
20  energyRegressionWeightsFileLocation = cms.string('/afs/cern.ch/user/b/bendavid/cmspublic/regweights/gbrph.root'),
21  energyRegressionWeightsDBLocation = cms.string('wgbrph'),
22  # refined SC regression setup
23  useRegression = cms.bool(True),
24  regressionConfig = regressionModifier.clone(),
25  superClusterEnergyCorrFunction = cms.string("EcalClusterEnergyCorrection"),
26  superClusterEnergyErrorFunction = cms.string("EcalClusterEnergyUncertainty"),
27  superClusterCrackEnergyCorrFunction = cms.string("EcalClusterCrackCorrection"),
28  photonEcalEnergyCorrFunction = cms.string("EcalClusterEnergyCorrectionObjectSpecific"),
29  pfEgammaCandidates = cms.InputTag("particleFlowEGamma"),
30  pfCandidates = cms.InputTag("particleFlowTmp"),
31  outputPhotonCollection = cms.string(""),
32  valueMapPhotons = cms.string("valMapPFEgammaCandToPhoton"),
33  #candidateP4type = cms.string("fromRegression"),
34  candidateP4type = cms.string("fromRefinedSCRegression"),
35  isolationSumsCalculatorSet = cms.PSet(isolationSumsCalculator),
36  PFIsolationCalculatorSet = cms.PSet(pfIsolationCalculator),
37  mipVariableSet = cms.PSet(mipVariable),
38  usePrimaryVertex = cms.bool(True),
39  primaryVertexProducer = cms.InputTag('offlinePrimaryVerticesWithBS'),
40  posCalc_t0_endcPresh = cms.double(3.6),
41  posCalc_logweight = cms.bool(True),
42  posCalc_w0 = cms.double(4.2),
43  hbheInstance = cms.string(''),
44  posCalc_t0_endc = cms.double(6.3),
45  barrelEcalHits = cms.InputTag("ecalRecHit","EcalRecHitsEB"),
46  hbheModule = cms.string('hbhereco'),
47  endcapEcalHits = cms.InputTag("ecalRecHit","EcalRecHitsEE"),
48  preshowerHits = cms.InputTag("ecalPreshowerRecHit","EcalRecHitsES"),
49  runMIPTagger = cms.bool(True),
50  highEt = cms.double(100.),
51  minR9Barrel = cms.double(0.94),
52  minR9Endcap = cms.double(0.95),
53  multThresEB = cms.double(1.00),
54  multThresEE = cms.double(1.25),
55  hOverEConeSize = cms.double(0.15),
56  hbheRecHits = egammaHBHERecHit.hbheRecHits,
57  recHitEThresholdHB = egammaHBHERecHit.recHitEThresholdHB,
58  recHitEThresholdHE = egammaHBHERecHit.recHitEThresholdHE,
59  maxHcalRecHitSeverity = egammaHBHERecHit.maxHcalRecHitSeverity,
60  hcalRun2EffDepth = cms.bool(False),
61  posCalc_x0 = cms.double(0.89),
62  posCalc_t0_barl = cms.double(7.7),
63  minSCEtBarrel = cms.double(10.0),
64  minSCEtEndcap = cms.double(10.0),
65  maxHoverEBarrel = cms.double(0.5),
66  maxHoverEEndcap = cms.double(0.5),
67  ecalRecHitSumEtOffsetBarrel = cms.double(999999999),
68  ecalRecHitSumEtSlopeBarrel = cms.double(0.),
69  ecalRecHitSumEtOffsetEndcap = cms.double(999999999),
70  ecalRecHitSumEtSlopeEndcap = cms.double(0.),
71  hcalRecHitSumEtOffsetBarrel = cms.double(999999999),
72  hcalRecHitSumEtSlopeBarrel = cms.double(0.),
73  hcalRecHitSumEtOffsetEndcap = cms.double(999999999),
74  hcalRecHitSumEtSlopeEndcap = cms.double(0.),
75  nTrackSolidConeBarrel =cms.double(999999999),
76  nTrackSolidConeEndcap =cms.double(999999999),
77  nTrackHollowConeBarrel =cms.double(999999999),
78  nTrackHollowConeEndcap =cms.double(999999999),
79  trackPtSumSolidConeBarrel =cms.double(999999999),
80  trackPtSumSolidConeEndcap =cms.double(999999999),
81  trackPtSumHollowConeBarrel =cms.double(999999999),
82  trackPtSumHollowConeEndcap =cms.double(999999999),
83  sigmaIetaIetaCutBarrel=cms.double(999999999),
84  sigmaIetaIetaCutEndcap=cms.double(999999999),
85  posCalcParameters = cms.PSet( T0_barl = cms.double(7.4),
86  T0_endc = cms.double(6.3),
87  T0_endcPresh = cms.double(3.6),
88  LogWeighted = cms.bool(True),
89  W0 = cms.double(4.2),
90  X0 = cms.double(0.89)
91  ),
92 
93  RecHitFlagToBeExcludedEB = cleanedHybridSuperClusters.RecHitFlagToBeExcluded,
94  RecHitSeverityToBeExcludedEB = cleanedHybridSuperClusters.RecHitSeverityToBeExcluded,
95  RecHitFlagToBeExcludedEE = multi5x5BasicClustersCleaned.RecHitFlagToBeExcluded,
96  RecHitSeverityToBeExcludedEE = cleanedHybridSuperClusters.RecHitSeverityToBeExcluded,
97  checkHcalStatus = cms.bool(True)
98 )
99 
100 
hybridSuperClusters_cfi
isolationCalculator_cfi
pfIsolationCalculator_cfi
regressionModifier_cfi
mipVariable_cfi
multi5x5BasicClusters_cfi