3 from lib
import branches
5 def main(output, inputs):
6 ntuples =
NTupleGlob(inputs, branches.trkbranches)
7 df = ntuples.dataframe(nproc=
"auto")
8 df.to_hdf(output, key=
"df", mode=
"w")
10 if __name__ ==
"__main__":
11 printhelp = len(sys.argv) < 3
or sys.argv[1] ==
"-h"
13 print(
"Usage: python make_driftV_df.py [output.df] [inputs.root,]")
15 main(sys.argv[1], sys.argv[2:])
do one_file $F done echo for F in find $TOP name CMakeLists txt print