Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:17:43

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("egamIsoDetIds")
0004 
0005 process.load("Configuration.StandardSequences.GeometryDB_cff")
0006 
0007 process.source = cms.Source("PoolSource",
0008     fileNames = cms.untracked.vstring('REPLACE ME')
0009 )
0010 
0011 process.load("Configuration.EventContent.EventContent_cff")
0012 process.out = cms.OutputModule("PoolOutputModule",
0013     process.FEVTSIMEventContent,
0014     fileName = cms.untracked.string('file:egammaDetIds.root')
0015 )
0016 
0017 process.out.outputCommands.append('drop *_*_*_*')
0018 process.out.outputCommands.append('keep *_*_*_egamIsoDetIds')
0019 
0020 process.maxEvents = cms.untracked.PSet(
0021     input = cms.untracked.int32(-1)
0022 )
0023 
0024 #process.Timing = cms.Service("Timing")
0025 
0026 process.load("RecoEgamma.EgammaIsolationAlgos.interestingEgammaIsoDetIdsSequence_cff")
0027 process.p1 = cms.Path(process.interestingEgammaIsoDetIds)
0028 process.outpath = cms.EndPath(process.out)