Skip to content

Instantly share code, notes, and snippets.

@f-ilic
Last active June 12, 2017 11:54
Show Gist options
  • Save f-ilic/854d0b36441df531f193db4b17540df4 to your computer and use it in GitHub Desktop.
Save f-ilic/854d0b36441df531f193db4b17540df4 to your computer and use it in GitHub Desktop.
ROOT / CMS GuiPlotTool How-To manual

Goal

This tool is ment to Merge and Superimpose plots from DQMData.

UI Overview

UI Overview

UI Overview

Example Workflow

Let us assume we are interest in the 'on track clusters of TID PLUS' in the rings 1,2, and 3. We start by opening the run file in which we are interested.

Load Dialog

The ROOT file has been loaded. The List Area should now contain lots of files. You can take a quick peek at one of the files by double clicking it, which puts it in the Current Selection Area. Click the 'Preview List' button to show a plot a the current selection.

Preview

To remove the file from the current selection just double click it.

Now we will make use of the quicksearch box at the top. Type "OnTrack__TID__PLUS__ring__" to filter the List Area.

Selecting the "Display Path" checkbox enables us to see the complete file names of the plots. We see that it is not actually duplicates but files that are in the 'Reference' folder and the 'Current Run' folder. Select all the plots.

Check 'Pub. Style', 'Show stats, and 'Use Custom Title', and enter the string 'My Cool Plots' in the text field. Click on 'Superimpose'.

Superimpose

You successfully compared the plots of the reference run to the current run.

Well done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment