How To Install root-splot on CentOS 7

In this tutorial we learn how to install root-splot on CentOS 7. root-splot is Splot library for ROOT

Introduction

In this tutorial we learn how to install root-splot on CentOS 7.

What is root-splot

A common method used in High Energy Physics to perform measurements is the maximum Likelihood method, exploiting discriminating variables to disentangle signal from background. The crucial point for such an analysis to be reliable is to use an exhaustive list of sources of events combined with an accurate description of all the Probability Density Functions (PDF). To assess the validity of the fit, a convincing quality check is to explore further the data sample by examining the distributions of control variables. A control variable can be obtained for instance by removing one of the discriminating variables before performing again the maximum Likelihood fit is a control variable. The expected distribution of this control variable, for signal, is to be compared to the one extracted, for signal, from the data sample. In order to be able to do so, one must be able to unfold from the distribution of the whole data sample. The SPlot method allows to reconstruct the distributions for the control variable, independently for each of the various sources of events, without making use of any a priori knowledge on this variable. The aim is thus to use the knowledge available for the discriminating variables to infer the behavior of the individual sources of events with respect to the control variable. SPlot is optimal if the control variable is uncorrelated with the discriminating variables.

We can use yum or dnf to install root-splot on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install root-splot.

Install root-splot on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install root-splot using yum by running the following command:

sudo yum -y install root-splot

Install root-splot on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install root-splot using dnf by running the following command:

sudo dnf -y install root-splot

How To Uninstall root-splot on CentOS 7

To uninstall only the root-splot package we can use the following command:

sudo dnf remove root-splot

References

Summary

In this tutorial we learn how to install root-splot on CentOS 7 using yum and dnf.