Open sam-may opened 3 years ago
I suggest we start from this: https://github.com/aminnj/pdroot
okay I'll take this task up. I need a plotter script for the BDT input variables anyways
@bsathian plotter looks nice, can you make a dir plots_and_tables
under Preselection
and put relevant files there?
Okay. I'll do it ASAP
On Fri, Feb 12, 2021 at 3:03 PM Samuel May notifications@github.com wrote:
@bsathian https://urldefense.com/v3/__https://github.com/bsathian__;!!Mih3wA!Q1NsTkPRyMaD8JoiLPYsehUN1DgYsipghOYk6t9PXRphhs9BRNlZiW1-te8Te3s$ plotter looks nice, can you make a dir plots_and_tables under Preselection and put relevant files there?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/cmstas/HggAnalysisDev/issues/3*issuecomment-778503288__;Iw!!Mih3wA!Q1NsTkPRyMaD8JoiLPYsehUN1DgYsipghOYk6t9PXRphhs9BRNlZiW1-0_7q7LI$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AJXTBZBHJDHVMMDIHREQ5PDS6WXUXANCNFSM4XD4L34Q__;!!Mih3wA!Q1NsTkPRyMaD8JoiLPYsehUN1DgYsipghOYk6t9PXRphhs9BRNlZiW1-WH9uzwA$ .
Done. Please review and close the issue if things look good
Implement script (e.g.
make_plots.py
) that takes a dataframe (output from the looper) as input and makes various plots.Ideal configurable options:
json
file is my first idea at making this easily configurable. Can contain a list of variables along with relevant data for each (binning, axis limits, additional text to print on plot, etc)Configurable options for data/MC plots:
I know there are many different plotting packages already out there, and I am relatively ignorant about them, so please comment if you have one in mind that is the best/most user-friendly/etc. These would probably be a good starting point for the script and might save a majority of the work.