00001 import FWCore.ParameterSet.Config as cms
00002
00003 from RecoEgamma.PhotonIdentification.isolationCalculator_cfi import *
00004 from RecoEgamma.PhotonIdentification.mipVariable_cfi import *
00005
00006
00007
00008
00009
00010 photons = cms.EDProducer("PhotonProducer",
00011 photonCoreProducer = cms.InputTag("photonCore"),
00012
00013 regressionWeightsFromDB = cms.bool(True),
00014 energyRegressionWeightsFileLocation = cms.string('/afs/cern.ch/user/b/bendavid/cmspublic/regweights/gbrph.root'),
00015 energyRegressionWeightsDBLocation = cms.string('wgbrph'),
00016 superClusterEnergyCorrFunction = cms.string("EcalClusterEnergyCorrection"),
00017 superClusterEnergyErrorFunction = cms.string("EcalClusterEnergyUncertainty"),
00018 superClusterCrackEnergyCorrFunction = cms.string("EcalClusterCrackCorrection"),
00019 photonEcalEnergyCorrFunction = cms.string("EcalClusterEnergyCorrectionObjectSpecific"),
00020
00021 candidateP4type = cms.string("fromEcalEnergy"),
00022 isolationSumsCalculatorSet = cms.PSet(isolationSumsCalculator),
00023 mipVariableSet = cms.PSet(mipVariable),
00024 usePrimaryVertex = cms.bool(True),
00025 primaryVertexProducer = cms.string('offlinePrimaryVerticesWithBS'),
00026 posCalc_t0_endcPresh = cms.double(3.6),
00027 posCalc_logweight = cms.bool(True),
00028 posCalc_w0 = cms.double(4.2),
00029 hbheInstance = cms.string(''),
00030 posCalc_t0_endc = cms.double(6.3),
00031 barrelEcalHits = cms.InputTag("ecalRecHit","EcalRecHitsEB"),
00032 hbheModule = cms.string('hbhereco'),
00033 endcapEcalHits = cms.InputTag("ecalRecHit","EcalRecHitsEE"),
00034 hcalTowers = cms.InputTag("towerMaker"),
00035 runMIPTagger = cms.bool(True),
00036 highEt = cms.double(100.),
00037 minR9Barrel = cms.double(0.94),
00038 minR9Endcap = cms.double(0.95),
00039 hOverEConeSize = cms.double(0.15),
00040 posCalc_x0 = cms.double(0.89),
00041 posCalc_t0_barl = cms.double(7.7),
00042 minSCEtBarrel = cms.double(10.0),
00043 minSCEtEndcap = cms.double(10.0),
00044 maxHoverEBarrel = cms.double(0.5),
00045 maxHoverEEndcap = cms.double(0.5),
00046 ecalRecHitSumEtOffsetBarrel = cms.double(999999999),
00047 ecalRecHitSumEtSlopeBarrel = cms.double(0.),
00048 ecalRecHitSumEtOffsetEndcap = cms.double(999999999),
00049 ecalRecHitSumEtSlopeEndcap = cms.double(0.),
00050 hcalTowerSumEtOffsetBarrel = cms.double(999999999),
00051 hcalTowerSumEtSlopeBarrel = cms.double(0.),
00052 hcalTowerSumEtOffsetEndcap = cms.double(999999999),
00053 hcalTowerSumEtSlopeEndcap = cms.double(0.),
00054 nTrackSolidConeBarrel =cms.double(999999999),
00055 nTrackSolidConeEndcap =cms.double(999999999),
00056 nTrackHollowConeBarrel =cms.double(999999999),
00057 nTrackHollowConeEndcap =cms.double(999999999),
00058 trackPtSumSolidConeBarrel =cms.double(999999999),
00059 trackPtSumSolidConeEndcap =cms.double(999999999),
00060 trackPtSumHollowConeBarrel =cms.double(999999999),
00061 trackPtSumHollowConeEndcap =cms.double(999999999),
00062 sigmaIetaIetaCutBarrel=cms.double(999999999),
00063 sigmaIetaIetaCutEndcap=cms.double(999999999),
00064 posCalcParameters = cms.PSet( T0_barl = cms.double(7.4),
00065 T0_endc = cms.double(6.3),
00066 T0_endcPresh = cms.double(3.6),
00067 LogWeighted = cms.bool(True),
00068 W0 = cms.double(4.2),
00069 X0 = cms.double(0.89)
00070 ),
00071
00072
00073
00074
00075
00076
00077
00078 )
00079
00080