cms-l1-dpg / Phase2-L1MenuTools

This repository contains the framework for the measurement of matching efficiencies, trigger turn-on curves, and scalings for the assessment of the physics performance of the CMS Phase-2 L1 Menu.
2 stars 8 forks source link

Wildcards in config argument #47

Closed danielhundhausen closed 6 months ago

danielhundhausen commented 7 months ago

I think it would be nice to be able to pass wildcards (*) in the config command line argument. This would enable the user to produce e.g. all electron related plots with only one command:

python src/plotter.py cfg_plots/V29/electron*

Or if technically possible even all versions of all electron plots:

python src/plotter.py cfg_plots/V*/electron*
artlbv commented 7 months ago

I used a bash script for now for f in ls *.yaml; do python .. $f; done, but of course built-in functionality would be good ;)