uhh-cms / cmsdb

CMS related campaigns, processes, cross sections and common definitions for analyses.
GNU General Public License v3.0
1 stars 16 forks source link

add function to convert dataset information for top datasets #23

Closed mafrahm closed 6 months ago

mafrahm commented 7 months ago

Exemplary usage:

python get_das_info.py -f convert_for_top_queries -d "/TTtoLNu2Q*/Run3Summer22EENanoAODv12-130X_*/NANOAODSIM"
mafrahm commented 6 months ago

Hi @dsavoiu, yes, a bit of manual shifting is still necessary, putting the DatasetInfo at the correct place. However, this should only take a few seconds and generalizing the code would take some additional work. I'd therefore propose to merge this PR as it is.

All the inline comments have been taken care of.

dsavoiu commented 6 months ago

Looks all good to me, thanks! Let's merge.