3 from FWCore.ParameterSet.VarParsing
import VarParsing
4 options = VarParsing (
'analysis')
5 options.parseArguments()
7 process = cms.Process(
"Demo")
9 process.load(
"FWCore.MessageService.MessageLogger_cfi")
11 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
13 process.source = cms.Source(
"PoolSource",
15 fileNames = cms.untracked.vstring(options.inputFiles)
17 print process.source.fileNames
19 process.demo = cms.EDAnalyzer(
'TestPythiaDecays',
20 outputFile = cms.string(options.outputFile)
24 process.p = cms.Path(process.demo)