/// \file
/// \ingroup tutorial_unfold
/// \notebook
/// Test program for the classes TUnfoldDensity and TUnfoldBinning.
///
/// A toy test of the TUnfold package
///
///
/// This example is documented in conference proceedings:
///
/// arXiv:1611.01927
/// 12th Conference on Quark Confinement and the Hadron Spectrum (Confinement XII)
///
/// This is an example of unfolding a one-dimensional distribution. It compares
/// various unfolding methods:
///
/// matrix inversion, template fit, L-curve scan,
/// iterative unfolding, etc
///
/// Further details can be found in talk by S.Schmitt at:
///
/// XII Quark Confinement and the Hadron Spectrum
/// 29.8. - 3.9.2016 Thessaloniki, Greece
/// statictics session (+proceedings)
///
/// The example comprises several macros
/// - testUnfold7a.C create root files with TTree objects for
/// signal, background and data
/// - write files testUnfold7_signal.root
/// testUnfold7_background.root
/// testUnfold7_data.root
///
/// - testUnfold7b.C loop over trees and fill histograms based on the
/// TUnfoldBinning objects
/// - read testUnfold7binning.xml
/// testUnfold7_signal.root
/// testUnfold7_background.root
/// testUnfold7_data.root
///
/// - write testUnfold7_histograms.root
///
/// - testUnfold7c.C run the unfolding
/// - read testUnfold7_histograms.root
/// - write testUnfold7_result.root
/// - write many histograms, to compare various unfolding methods
///
/// \macro_output
/// \macro_image
/// \macro_code
///
/// **Version 17.6, in parallel to changes in TUnfold**
///
/// This file is part of TUnfold.
///
/// TUnfold is free software: you can redistribute it and/or modify
/// it under the terms of the GNU General Public License as published by
/// the Free Software Foundation, either version 3 of the License, or
/// (at your option) any later version.
///
/// TUnfold is distributed in the hope that it will be useful,
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/// GNU General Public License for more details.
///
/// You should have received a copy of the GNU General Public License
/// along with TUnfold. If not, see .
///
/// \author Stefan Schmitt DESY, 14.10.2008
#include
#include
#include