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 #
12 # producer for photons
13 #
14 gedPhotons = cms.EDProducer("GEDPhotonProducer",
15  photonProducer = cms.InputTag("gedPhotonsTmp"),
16  reconstructionStep = cms.string("tmp"),
17  #old regression <<<<<< >>>>>> do not use
18  regressionWeightsFromDB = cms.bool(True),
19  energyRegressionWeightsFileLocation = cms.string('/afs/cern.ch/user/b/bendavid/cmspublic/regweights/gbrph.root'),
20  energyRegressionWeightsDBLocation = cms.string('wgbrph'),
21  # refined SC regression setup
22  useRegression = cms.bool(True),
23  regressionConfig = regressionModifier.clone(),
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"),
32  #candidateP4type = cms.string("fromRegression"),
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  multThresEB = cms.double(1.00),
54  multThresEE = cms.double(1.25),
55  hOverEConeSize = cms.double(0.15),
56  posCalc_x0 = cms.double(0.89),
57  posCalc_t0_barl = cms.double(7.7),
58  minSCEtBarrel = cms.double(10.0),
59  minSCEtEndcap = cms.double(10.0),
60  maxHoverEBarrel = cms.double(0.5),
61  maxHoverEEndcap = cms.double(0.5),
62  ecalRecHitSumEtOffsetBarrel = cms.double(999999999),
63  ecalRecHitSumEtSlopeBarrel = cms.double(0.),
64  ecalRecHitSumEtOffsetEndcap = cms.double(999999999),
65  ecalRecHitSumEtSlopeEndcap = cms.double(0.),
66  hcalTowerSumEtOffsetBarrel = cms.double(999999999),
67  hcalTowerSumEtSlopeBarrel = cms.double(0.),
68  hcalTowerSumEtOffsetEndcap = cms.double(999999999),
69  hcalTowerSumEtSlopeEndcap = cms.double(0.),
70  nTrackSolidConeBarrel =cms.double(999999999),
71  nTrackSolidConeEndcap =cms.double(999999999),
72  nTrackHollowConeBarrel =cms.double(999999999),
73  nTrackHollowConeEndcap =cms.double(999999999),
74  trackPtSumSolidConeBarrel =cms.double(999999999),
75  trackPtSumSolidConeEndcap =cms.double(999999999),
76  trackPtSumHollowConeBarrel =cms.double(999999999),
77  trackPtSumHollowConeEndcap =cms.double(999999999),
78  sigmaIetaIetaCutBarrel=cms.double(999999999),
79  sigmaIetaIetaCutEndcap=cms.double(999999999),
80  posCalcParameters = cms.PSet( T0_barl = cms.double(7.4),
81  T0_endc = cms.double(6.3),
82  T0_endcPresh = cms.double(3.6),
83  LogWeighted = cms.bool(True),
84  W0 = cms.double(4.2),
85  X0 = cms.double(0.89)
86  ),
87 
88  RecHitFlagToBeExcludedEB = cleanedHybridSuperClusters.RecHitFlagToBeExcluded,
89  RecHitSeverityToBeExcludedEB = cleanedHybridSuperClusters.RecHitSeverityToBeExcluded,
90  RecHitFlagToBeExcludedEE = multi5x5BasicClustersCleaned.RecHitFlagToBeExcluded,
91  RecHitSeverityToBeExcludedEE = cleanedHybridSuperClusters.RecHitSeverityToBeExcluded,
92  checkHcalStatus = cms.bool(True),
93 )
94 
95 
hybridSuperClusters_cfi
isolationCalculator_cfi
pfIsolationCalculator_cfi
regressionModifier_cfi
mipVariable_cfi
multi5x5BasicClusters_cfi