Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-10 22:49:48

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoEgamma.PhotonIdentification.isolationCalculator_cfi import *
0004 #
0005 # producer for photonCore collection
0006 #
0007 photonCore = cms.EDProducer("PhotonCoreProducer",
0008     conversionProducer = cms.InputTag(""),
0009    # conversionCollection = cms.string(''),
0010     scHybridBarrelProducer = cms.InputTag("correctedHybridSuperClusters"),
0011     scIslandEndcapProducer = cms.InputTag("correctedMulti5x5SuperClustersWithPreshower"),
0012     photonCoreCollection = cms.string(''),
0013     pixelSeedProducer = cms.InputTag('electronMergedSeeds'),
0014     minSCEt = cms.double(10.0),
0015     risolveConversionAmbiguity = cms.bool(True),
0016     endcapOnly = cms.bool(False),
0017 #    MVA_weights_location = cms.string('RecoEgamma/EgammaTools/data/TMVAnalysis_Likelihood.weights.txt')
0018 )
0019 
0020 photonCoreHGC = photonCore.clone(
0021     scHybridBarrelProducer = "",
0022     scIslandEndcapProducer = 'particleFlowSuperClusterHGCal',
0023     pixelSeedProducer = 'electronMergedSeeds',
0024     endcapOnly = True,
0025 )
0026 
0027 islandPhotonCore = photonCore.clone(
0028     scHybridBarrelProducer = "correctedIslandBarrelSuperClusters",
0029     scIslandEndcapProducer = "correctedIslandEndcapSuperClusters",
0030     minSCEt = 8.0
0031 )
0032 from Configuration.ProcessModifiers.egamma_lowPt_exclusive_cff import egamma_lowPt_exclusive
0033 egamma_lowPt_exclusive.toModify(photonCore,minSCEt=0) #
0034 egamma_lowPt_exclusive.toModify(islandPhotonCore,minSCEt = 1.0) #default 8