5 msg +=
"Usage 1: %s $INPUT_ROOT_FILE(s)\n" % sys.argv[0]
10 from larlite
import larlite
as fmwk
13 my_proc = fmwk.ana_processor()
16 for x
in xrange(len(sys.argv)-1):
17 my_proc.add_input_file(sys.argv[x+1])
20 my_proc.set_io_mode(fmwk.storage_manager.kREAD)
23 my_proc.set_ana_output_file(
"from_test_ana_you_can_remove_me.root");
27 my_proc.add_process(fmwk.ana_base())
30 print "Finished configuring ana_processor. Start event loop!"
38 print "Finished running ana_processor event loop!"