File indexing completed on 2024-04-19 02:16:42
0001 import FWCore.ParameterSet.Config as cms
0002 process = cms.Process("TEST")
0003
0004 import argparse
0005 import sys
0006
0007 parser = argparse.ArgumentParser(prog=sys.argv[0], description='Test ModuleTypeResolver and Ref')
0008 parser.add_argument("--input", action="append", default=[], help="Input files")
0009 args = parser.parse_args()
0010 if len(args.input) == 0:
0011 parser.error("No input files")
0012
0013 process.source = cms.Source("NewEventStreamFileReader",
0014 fileNames = cms.untracked.vstring(["file:"+f for f in args.input])
0015 )
0016
0017 process.tester = cms.EDAnalyzer("OtherThingAnalyzer",
0018 other = cms.untracked.InputTag("otherThing","testUserTag")
0019 )
0020
0021 process.e = cms.EndPath(process.tester)