Kleykamp validation - #180
Open
jdkio wants to merge 169 commits into
Open
Conversation
This reverts commit 9620c4c.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the script to draw various validation plots.
scripts/Validation/Tracking_Validation.cppNever really nailed down the final set of validation plots, but new ones can be added easily with the hist function. One can also register new axis near the hist code to make it less busy. Eventually the idea was to separate different types of validation into separate .cxx files that one would include. The code is really fast so it makes a lot of sense to draw all the hists at once. Plots are automatically sorted into subdirs based on the hist name, and one can also make them into stacks. I would've cleaned it up a bit to only include the final set of nice plots to look at, but I didn't get around to it.Example
Output in
/exp/dune/data/users/${USER}/dune-tms/2024-11-18_nersc_sample_imagesExample comparison:
Output in
/exp/dune/data/users/${USER}/dune-tms/comparison_process_nd_nerscbased on the two keys provided after the commas after the input filenames. For 1d plots, it automatically stacks them. For 2d, it puts them side by side.Can also draw spills with LAr assuming the file has non-tms hits saved. Will draw different vertices (different interactions) different colors. Here's an example to draw only events starting in LAr: