Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:33:04

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TestEHW")
0004 process.source = cms.Source("PoolSource",
0005     fileNames = cms.untracked.vstring('file:in.root')
0006 )
0007 
0008 process.maxEvents = cms.untracked.PSet(
0009     input = cms.untracked.int32(50)
0010 )
0011 process.sols = cms.EDFilter("TestEventHypothesisWriter",
0012     jets = cms.InputTag("iterativeCone5CaloJets"),
0013     muons = cms.InputTag("pixelMatchGsfElectrons")
0014 )
0015 
0016 process.out = cms.OutputModule("PoolOutputModule",
0017     outputCommands = cms.untracked.vstring('drop *', 
0018         'keep *_iterativeCone5CaloJets_*_*', 
0019         'keep *_pixelMatchGsfElectrons_*_*', 
0020         'keep *_*_*_TestEHW'),
0021     fileName = cms.untracked.string('eh.root')
0022 )
0023 
0024 process.p = cms.Path(process.sols)
0025 process.e = cms.EndPath(process.out)
0026 
0027