test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
photons_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
7 #
8 # producer for photons
9 #
10 photons = cms.EDProducer("PhotonProducer",
11  photonCoreProducer = cms.InputTag("photonCore"),
12  # photonCollection = cms.string(''),
13  regressionWeightsFromDB = cms.bool(True),
14  energyRegressionWeightsFileLocation = cms.string('/afs/cern.ch/user/b/bendavid/cmspublic/regweights/gbrph.root'),
15  energyRegressionWeightsDBLocation = cms.string('wgbrph'),
16  superClusterEnergyCorrFunction = cms.string("EcalClusterEnergyCorrection"),
17  superClusterEnergyErrorFunction = cms.string("EcalClusterEnergyUncertainty"),
18  superClusterCrackEnergyCorrFunction = cms.string("EcalClusterCrackCorrection"),
19  photonEcalEnergyCorrFunction = cms.string("EcalClusterEnergyCorrectionObjectSpecific"),
20  #candidateP4type = cms.string("fromRegression"),
21  candidateP4type = cms.string("fromEcalEnergy"),
22  isolationSumsCalculatorSet = cms.PSet(isolationSumsCalculator),
23  mipVariableSet = cms.PSet(mipVariable),
24  usePrimaryVertex = cms.bool(True),
25  primaryVertexProducer = cms.InputTag('offlinePrimaryVerticesWithBS'),
26  posCalc_t0_endcPresh = cms.double(3.6),
27  posCalc_logweight = cms.bool(True),
28  posCalc_w0 = cms.double(4.2),
29  hbheInstance = cms.string(''),
30  posCalc_t0_endc = cms.double(6.3),
31  barrelEcalHits = cms.InputTag("ecalRecHit","EcalRecHitsEB"),
32  hbheModule = cms.string('hbhereco'),
33  endcapEcalHits = cms.InputTag("ecalRecHit","EcalRecHitsEE"),
34  hcalTowers = cms.InputTag("towerMaker"),
35  runMIPTagger = cms.bool(True),
36  highEt = cms.double(100.),
37  minR9Barrel = cms.double(0.94),
38  minR9Endcap = cms.double(0.95),
39  hOverEConeSize = cms.double(0.15),
40  posCalc_x0 = cms.double(0.89),
41  posCalc_t0_barl = cms.double(7.7),
42  minSCEtBarrel = cms.double(10.0),
43  minSCEtEndcap = cms.double(10.0),
44  maxHoverEBarrel = cms.double(0.5),
45  maxHoverEEndcap = cms.double(0.5),
46  ecalRecHitSumEtOffsetBarrel = cms.double(999999999),
47  ecalRecHitSumEtSlopeBarrel = cms.double(0.),
48  ecalRecHitSumEtOffsetEndcap = cms.double(999999999),
49  ecalRecHitSumEtSlopeEndcap = cms.double(0.),
50  hcalTowerSumEtOffsetBarrel = cms.double(999999999),
51  hcalTowerSumEtSlopeBarrel = cms.double(0.),
52  hcalTowerSumEtOffsetEndcap = cms.double(999999999),
53  hcalTowerSumEtSlopeEndcap = cms.double(0.),
54  nTrackSolidConeBarrel =cms.double(999999999),
55  nTrackSolidConeEndcap =cms.double(999999999),
56  nTrackHollowConeBarrel =cms.double(999999999),
57  nTrackHollowConeEndcap =cms.double(999999999),
58  trackPtSumSolidConeBarrel =cms.double(999999999),
59  trackPtSumSolidConeEndcap =cms.double(999999999),
60  trackPtSumHollowConeBarrel =cms.double(999999999),
61  trackPtSumHollowConeEndcap =cms.double(999999999),
62  sigmaIetaIetaCutBarrel=cms.double(999999999),
63  sigmaIetaIetaCutEndcap=cms.double(999999999),
64  posCalcParameters = cms.PSet( T0_barl = cms.double(7.4),
65  T0_endc = cms.double(6.3),
66  T0_endcPresh = cms.double(3.6),
67  LogWeighted = cms.bool(True),
68  W0 = cms.double(4.2),
69  X0 = cms.double(0.89)
70  ),
71 
72  RecHitFlagToBeExcludedEB = cleanedHybridSuperClusters.RecHitFlagToBeExcluded,
73  RecHitSeverityToBeExcludedEB = cleanedHybridSuperClusters.RecHitSeverityToBeExcluded,
74  RecHitFlagToBeExcludedEE = multi5x5BasicClustersCleaned.RecHitFlagToBeExcluded,
75  RecHitSeverityToBeExcludedEE = cleanedHybridSuperClusters.RecHitSeverityToBeExcluded,
76 )
77 
78