************
Installation
************
----
Make
----
To install, simply set up the `ROOT `_ environment
(tested with `ROOT `_ >= V6.12/04),
clone `this repository `_,
and run ``make``:
.. code-block:: bash
git clone https://github.com/lylejkim/UndersmoothedUnfolding.git
make
---------------------
Checking installation
---------------------
Upon successful installation, two executables should be in the repository, ``UndersmoothDemo1`` and ``UndersmoothDemo2``,
which can be executed as follows:
.. code-block:: bash
./UndersmoothDemo1
./UndersmoothDemo2
The former is the test case with two Gaussian peaks and should generate
:ref:`this plot`. The latter is the test case with a steeply falling spectrum and should generate :ref:`this plot`. Inspecting the code for these demos in the ``UndersmoothedUnfolding`` `repository `_ is a recommended way of learning how to set up an unfolding analysis with this software.
------------
Dependencies
------------
- `ROOT `_ >= V6.12/04 (tested up to release V6.18/00)