Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-16 01:50:14

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("eleIso")
0004 process.load("Configuration.StandardSequences.GeometryDB_cff")
0005 process.load("Configuration.StandardSequences.MagneticField_cff")
0006 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0007 process.GlobalTag.globaltag = 'MCRUN2_74_V7'
0008 
0009 process.load("Configuration.EventContent.EventContent_cff")
0010 process.source = cms.Source("PoolSource",
0011     fileNames = cms.untracked.vstring(
0012         '/store/relval/CMSSW_7_4_0_pre8/RelValZEE_13/GEN-SIM-RECO/PU25ns_MCRUN2_74_V7-v1/00000/A4DAB081-55BD-E411-9490-0025905A608E.root',
0013 
0014     )
0015 )
0016 process.out = cms.OutputModule("PoolOutputModule",
0017                                process.FEVTSIMEventContent,
0018                                fileName = cms.untracked.string('file:eleIso.root')
0019 )
0020 
0021 process.out.outputCommands.append('keep *')
0022 #process.out.outputCommands.append('keep *_gsfElectrons_*_*')
0023 #process.out.outputCommands.append('keep *_photons_*_*')
0024 #process.out.outputCommands.append('keep *_*_*_eleIso')
0025 #process.out.outputCommands.append('keep EcalRecHitsSorted_*_*_*')
0026 
0027 process.maxEvents = cms.untracked.PSet(
0028     input = cms.untracked.int32(200)
0029 )
0030 
0031 process.load("RecoParticleFlow.PFClusterProducer.particleFlowCluster_cff")
0032 process.load("RecoLocalCalo.HcalRecAlgos.hcalRecAlgoESProd_cfi")
0033 process.particleFlowRecHitECAL.producers[0].src=cms.InputTag("reducedEcalRecHitsEB")
0034 process.particleFlowRecHitECAL.producers[1].src=cms.InputTag("reducedEcalRecHitsEE")
0035 process.particleFlowRecHitPS.producers[0].src=cms.InputTag("reducedEcalRecHitsES")
0036 process.particleFlowRecHitHBHE.producers[0].src=cms.InputTag("reducedHcalRecHits","hbhereco") 
0037 
0038 process.load("RecoEgamma.EgammaIsolationAlgos.pfClusterIsolation_cfi")
0039 
0040 process.p1 = cms.Path(
0041 #    process.particleFlowClusterWithoutHO +
0042     process.pfClusterIsolationSequence
0043 )
0044 
0045 process.outpath = cms.EndPath(process.out)