2 @file lcio_count_job.py
4 Job to count number of events in LCIO file.
8 job.description =
'LCIO count'
10 output_files = sorted(job.output_files.keys())
11 if len(output_files) < 1:
12 raise Exception(
"Not enough output files were provided (at least 1 required).")
14 nevents = job.params[
'nevents']
16 count =
LCIOCount(minevents=nevents, inputs=output_files)