CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_4/src/RecoEgamma/EgammaPhotonProducers/python/photons_cfi.py

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