This Hands on Tutorial Session (HATS) is intended to provide you with basic familiarity of pyROOT. pyROOT is a Python extension module which provides bindings for all classes within the ROOT libraries and is easily used in unison with C++.
The primary goal of these exercises is to obtain a general understanding of the syntax required to import and make use of the ROOT libraries within a basic Python script as well as to illustrate how to make use of C++ classes in order to save computing time.
Whether you use Python, C++ or some combination of the two to complete your analysis is a personal preference, however with the current lack of documentation on pyROOT, many students stick with C++ in order to ensure their access to coding examples and experts. It is our hope that through providing you with this basic introduction and Github repository of example scripts, that we can bring together the existing pyROOT community within CMS and foster its growth.
The setup/configuration of this HATS tutorial is documented at the HATSatLPCSetup TWiki. This tutorial's repository is https://github.com/FNALLPC/scientific-python-hats.git
Once you've completed the setup instructions, information on the separate tutorials can be found in the following subdirectories beneath scientific-python-hats
: