Add dir structure creation for margin and root conversion
requested to merge pkrueper/higgs-dna-forked-from-main-21-feb-for-stxs-3:run3stxs_develop into run3stxs_develop
We currently have one single classifier output file after the classifier evaluation step.
This file includes ìs_dataand
is_train` flags as well as the predicted label, the truth label (used in the training) and the HTXS flag for further splitting. Also included is a weight and the mass.
However, the merging / root conversion step requires a directory structure of the format "dir/ggh/nominal/ggh.parquet" for each process, so this is created in this file. Also print statements check that the efficiencies are reasonably close to the plot_weight.sum() Also weight=1 is added to data and dZ=0 is added for MC+Data. In the future this should be replaced by the correct dZ.