Skip to content

Save output directly to ROOT files if requested

Ruben Gargiulo requested to merge rgargiul/HiggsDNA:rootoutput into master
  • Added argument output_format (root/parquet) in utils/runner_utils.py and run_analysis.py
  • In utils/dumping_utils.py the functions dump_pandas and dump_ak_array were modified to save, respectively, pandas dataframes or awkward arrays to root ttrees, via the uproot interface
  • Modified workflows/base.py and dystudies.py to name the output file with the correct extension
  • Until now, tested with one file from EGamma 2022 C data using the tagandprobe processor

Merge request reports