1 from __future__
import print_function
2 import FWCore.ParameterSet.Config
as cms
4 from FWCore.ParameterSet.VarParsing
import VarParsing
5 options = VarParsing (
'analysis')
6 options.parseArguments()
8 process = cms.Process(
"Demo")
10 process.load(
"FWCore.MessageService.MessageLogger_cfi")
12 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
14 process.source = cms.Source(
"PoolSource",
16 fileNames = cms.untracked.vstring(options.inputFiles)
18 print(process.source.fileNames)
20 process.demo = cms.EDAnalyzer(
'TestPythiaDecays',
21 outputFile = cms.string(options.outputFile)
24 process.TFileService = cms.Service(
"TFileService",
25 fileName = cms.string(options.outputFile))
27 process.p = cms.Path(process.demo)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)