]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/FORWARD/analysis2/scripts/RunUnfoldMult.C
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / analysis2 / scripts / RunUnfoldMult.C
1 /**
2  * @file   RunUnfoldMult.C
3  * @author Christian Holm Christensen <cholm@nbi.dk>
4  * @date   Tue Nov 12 09:25:07 2013
5  * 
6  * @brief  Run the unfolding.
7  * 
8  * This wrapper is here to load RooUnfold first
9  * @ingroup pwglf_forward_multdist
10  */
11
12 /** 
13  * Run the unfolding 
14  * 
15  * @ingroup pwglf_forward_multdist
16  */
17 void
18 RunUnfoldMult()
19 {
20   TString rooUnfold = gSystem->Getenv("ROOUNFOLD");
21   if (!rooUnfold.IsNull()) {
22     gSystem->AddIncludePath(Form("-I%s/src", rooUnfold.Data()));
23     gSystem->AddDynamicPath(rooUnfold);
24   }
25   gSystem->Load("libRooUnfold");
26   gROOT->Macro("UnfoldMult.C++");
27 }
28 /*
29  * EOF
30  */