]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/FORWARD/analysis2/DrawMCCorrSummary.C
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / analysis2 / DrawMCCorrSummary.C
1 /**
2  * @file   DrawMCCorrSummary.C
3  * @author Christian Holm Christensen <cholm@master.hehi.nbi.dk>
4  * @date   Tue Oct 30 09:47:30 2012
5  * 
6  * @brief  Script to draw summary of AOD pass into a PDF 
7  * 
8  * 
9  */
10 //____________________________________________________________________
11 void DrawMCCorrSummary(const char* fname="forward_mccorr.root", 
12                        UShort_t what=0x20F)
13 {
14   const char* fwd = "$ALICE_ROOT/PWGLF/FORWARD/analysis2";
15   gROOT->SetMacroPath(Form("%s:%s/scripts",
16                            gROOT->GetMacroPath(), fwd));
17   gROOT->Macro(Form("%s/scripts/LoadLibs.C", fwd));
18   gROOT->LoadMacro(Form("%s/scripts/SummaryMCCorrDrawer.C+g",fwd));
19   
20   SummaryMCCorrDrawer d;
21   d.Run(fname, what);
22 }
23 //
24 // EOF
25 //