Convert the analysis suite storage to ROOT files
Description
As discussed in cmsgemos#184 (comment 5417332) (a follow-up from #6), we want to start using the ROOT file format (but not the ROOT framework) for the storage of our data, including the calibration scans.
This issue is here to keep track of the implementation.
Possible fixes
There is the desire not to include and use the ROOT framework, including PyROOT
, but modern and safer libraries such as pandas
and uproot
. Loading/saving a Pandas Dataframe from/to a ROOT file is a matter of a few lines of Python only.
-
Create a command that "imports" the calibration scan output into the analysis realm, i.e. aggregate N .dat
CSV-like files into a unique ROOT file -
Use ROOT files in place of the CSV-like files in the various existing analysis routines