Skip to content

OnShell Analysis Guide

jdavis36 edited this page Sep 13, 2022 · 11 revisions

Steps to Complete Analysis

Add Probabilities to Trees for Reweighting

python3 AddOnShellMelaToTree.py <outputdir> <Input_Trees> <MELA_Probabilities>

Input_Trees is a txt file with the path to the tree you want to calculate probabilities for and the native probability for that tree written on the same line separated by a white-space character.

Example:

<Path to tree> <p_Gen_GG_ghg2_1_ghz1_1_JHUgen>

Misc Utilities

Plotting Discriminants from Trees

Use the script Called Plot_Discriminants.py in the OnShell_Scripts/Misc_Scripts Directory. It should be called from the top directory so you will have to move it from the Misc_Scripts folder.

python3 Plot_Discriminants.py <Input Tree> <Output_Directory> <List of Probabilities>

The list of Probabilities should be a .txt file with a single probability on each line. This script will plot every branch with the name D_* which should correspond to any and all Discriminants in a Processed OnShell Analysis Tree.

Clone this wiki locally