From d461b0d49bbc37c04f9883e195865aa88a6c3de9 Mon Sep 17 00:00:00 2001 From: Tamas Vami Date: Tue, 20 Aug 2024 21:22:35 -0700 Subject: [PATCH] Update README for Validation --- Validation/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Validation/README.md b/Validation/README.md index c57da88f8..518d62277 100644 --- a/Validation/README.md +++ b/Validation/README.md @@ -59,6 +59,14 @@ python3 -m Validation -h ``` which should be run with `ldmx` if the module was installed in the container. +For example if you would like to compare the ECAL shower features, put the input histograms into a directory, +e.g. `compareDir` with names that are separated with an underscore, e.g. `histo_new.root` and `histo_ref.root`, +then run the following command. +``` +ldmx python3 -m Validation compareDir/ --systems ecal.shower_feats +``` +This will produce plots in the `compareDir` directory and will include "new" and "ref" in the plot legend. + ### In Script Similar to the CLI, you can develop your own python script using Validation. Simply `import Validation` where you want to be using it.