Skip to content

Tutorial IV: Analysis Modules

Thomas Mueller edited this page Aug 19, 2019 · 20 revisions

This tutorial is based on the ROOT files generated in the first step.

Preparation

Fast creation of dummy inputs for testing

The input module InputInteractive can create ROOT histogram, graph and function objects on the fly without any need for complicated input files. These objects are ideal for quickly checking the implementation and usage of analysis modules. The module is steered with a minimal set of parameters

  • -x/y/z or --x/y/z-expressions
  • --x/y/z-bins
  • --x/y/z-errors
  • --x/y-errors-up
  • -w or --weights
  • --scale-factors

and their values define the mode of the module for a given input.

Histograms

Graphs

Functions

Commonly used analysis modules

All available analysis modules are shown with

harry.py --list-available-modules
harry.py --li # the python argument parser completes long arguments in case the mapping is unique

Normalisation of histograms

Ratios of histograms

Sum of histograms

Fitting functions to histograms

Efficiencies and cuts

Implementing new analysis modules

Accessing Inputs

Saving outputs

Customizations

Clone this wiki locally