The conversion has two parts:
- SND@LHC digitised ROOT files -> numpy arrays (within SND@LHC experiment software environment)
- numpy arrays -> pyg format (pytorch + pyg environment, where pyg is a pytorch GNN library)
The two-step procedure is needed because the SND@LHC SW setup does not contain pytorch/pyg.
Main script: digi_to_ml.py runs the conversion based on passed arguments
Condor batch submission: condor contains a condor submission files and scripts to create parameter lists and to merge the outputs
Main script: convert_to_pyg.py