CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
gedPhotons_cfi.py
Go to the documentation of this file.
2 
8 
9 #
10 # producer for photons
11 #
12 gedPhotons = cms.EDProducer("GEDPhotonProducer",
13  photonProducer = cms.InputTag("gedPhotonsTmp"),
14  reconstructionStep = cms.string("tmp"),
15  #old regression <<<<<< >>>>>> do not use
16  regressionWeightsFromDB = cms.bool(True),
17  energyRegressionWeightsFileLocation = cms.string('/afs/cern.ch/user/b/bendavid/cmspublic/regweights/gbrph.root'),
18  energyRegressionWeightsDBLocation = cms.string('wgbrph'),
19  # refined SC regression setup
20  useRegression = cms.bool(True),
21  regressionConfig = cms.PSet(
22  regressionKeyEB = cms.string('gedphoton_EBCorrection_offline_v1'),
23  regressionKeyEE = cms.string('gedphoton_EECorrection_offline_v1'),
24  uncertaintyKeyEB = cms.string('gedphoton_EBUncertainty_offline_v1'),
25  uncertaintyKeyEE = cms.string('gedphoton_EEUncertainty_offline_v1'),
26  vertexCollection = cms.InputTag("offlinePrimaryVertices"),
27  ecalRecHitsEB = cms.InputTag('ecalRecHit','EcalRecHitsEB'),
28  ecalRecHitsEE = cms.InputTag('ecalRecHit','EcalRecHitsEE')
29  ),
30  superClusterEnergyCorrFunction = cms.string("EcalClusterEnergyCorrection"),
31  superClusterEnergyErrorFunction = cms.string("EcalClusterEnergyUncertainty"),
32  superClusterCrackEnergyCorrFunction = cms.string("EcalClusterCrackCorrection"),
33  photonEcalEnergyCorrFunction = cms.string("EcalClusterEnergyCorrectionObjectSpecific"),
34  pfEgammaCandidates = cms.InputTag("particleFlowEGamma"),
35  pfCandidates = cms.InputTag("particleFlowTmp"),
36  outputPhotonCollection = cms.string(""),
37  valueMapPhotons = cms.string("valMapPFEgammaCandToPhoton"),
38  #candidateP4type = cms.string("fromRegression"),
39  candidateP4type = cms.string("fromRefinedSCRegression"),
40  isolationSumsCalculatorSet = cms.PSet(isolationSumsCalculator),
41  PFIsolationCalculatorSet = cms.PSet(pfIsolationCalculator),
42  mipVariableSet = cms.PSet(mipVariable),
43  usePrimaryVertex = cms.bool(True),
44  primaryVertexProducer = cms.InputTag('offlinePrimaryVerticesWithBS'),
45  posCalc_t0_endcPresh = cms.double(3.6),
46  posCalc_logweight = cms.bool(True),
47  posCalc_w0 = cms.double(4.2),
48  hbheInstance = cms.string(''),
49  posCalc_t0_endc = cms.double(6.3),
50  barrelEcalHits = cms.InputTag("ecalRecHit","EcalRecHitsEB"),
51  hbheModule = cms.string('hbhereco'),
52  endcapEcalHits = cms.InputTag("ecalRecHit","EcalRecHitsEE"),
53  hcalTowers = cms.InputTag("towerMaker"),
54  runMIPTagger = cms.bool(True),
55  highEt = cms.double(100.),
56  minR9Barrel = cms.double(0.94),
57  minR9Endcap = cms.double(0.95),
58  hOverEConeSize = cms.double(0.15),
59  posCalc_x0 = cms.double(0.89),
60  posCalc_t0_barl = cms.double(7.7),
61  minSCEtBarrel = cms.double(10.0),
62  minSCEtEndcap = cms.double(10.0),
63  maxHoverEBarrel = cms.double(0.5),
64  maxHoverEEndcap = cms.double(0.5),
65  ecalRecHitSumEtOffsetBarrel = cms.double(999999999),
66  ecalRecHitSumEtSlopeBarrel = cms.double(0.),
67  ecalRecHitSumEtOffsetEndcap = cms.double(999999999),
68  ecalRecHitSumEtSlopeEndcap = cms.double(0.),
69  hcalTowerSumEtOffsetBarrel = cms.double(999999999),
70  hcalTowerSumEtSlopeBarrel = cms.double(0.),
71  hcalTowerSumEtOffsetEndcap = cms.double(999999999),
72  hcalTowerSumEtSlopeEndcap = cms.double(0.),
73  nTrackSolidConeBarrel =cms.double(999999999),
74  nTrackSolidConeEndcap =cms.double(999999999),
75  nTrackHollowConeBarrel =cms.double(999999999),
76  nTrackHollowConeEndcap =cms.double(999999999),
77  trackPtSumSolidConeBarrel =cms.double(999999999),
78  trackPtSumSolidConeEndcap =cms.double(999999999),
79  trackPtSumHollowConeBarrel =cms.double(999999999),
80  trackPtSumHollowConeEndcap =cms.double(999999999),
81  sigmaIetaIetaCutBarrel=cms.double(999999999),
82  sigmaIetaIetaCutEndcap=cms.double(999999999),
83  posCalcParameters = cms.PSet( T0_barl = cms.double(7.4),
84  T0_endc = cms.double(6.3),
85  T0_endcPresh = cms.double(3.6),
86  LogWeighted = cms.bool(True),
87  W0 = cms.double(4.2),
88  X0 = cms.double(0.89)
89  ),
90 
91  RecHitFlagToBeExcludedEB = cleanedHybridSuperClusters.RecHitFlagToBeExcluded,
92  RecHitSeverityToBeExcludedEB = cleanedHybridSuperClusters.RecHitSeverityToBeExcluded,
93  RecHitFlagToBeExcludedEE = multi5x5BasicClustersCleaned.RecHitFlagToBeExcluded,
94  RecHitSeverityToBeExcludedEE = cleanedHybridSuperClusters.RecHitSeverityToBeExcluded,
95 )
96 
97