Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:36

0001 import FWCore.ParameterSet.Config as cms
0002 from FWCore.ParameterSet.VarParsing import VarParsing
0003 
0004 options = VarParsing("analysis")
0005 options.parseArguments()
0006 
0007 process = cms.Process("MERGE")
0008 process.source = cms.Source("PoolSource",
0009     fileNames = cms.untracked.vstring(options.inputFiles),
0010 )
0011 
0012 process.maxEvents = cms.untracked.PSet(
0013     input = cms.untracked.int32(options.maxEvents)
0014 )
0015 
0016 process.out = cms.OutputModule("PoolOutputModule",
0017     fileName = cms.untracked.string(options.outputFile)
0018 )
0019 
0020 process.ep = cms.EndPath(process.out)