4 * Scripts to draw energy loss fits from correction object file
6 * @ingroup pwglf_forward_scripts_corr
9 * Draw energy loss fits to a multi-page PDF.
12 * The input file is expected to contain a AliFMDCorrELossFit object
13 * named @c elossfits in the top level directory.
16 * A multi-page PDF. Note, that the PDF generated by ROOT in this way
17 * is broken (cannot be read by Acrobat Reader on Windows and MacOSX)
18 * and one should pass it through a filter to correct these problems.
20 * @param fname File name
21 * @param option Drawing options
23 * @ingroup pwglf_forward_scripts_corr
26 DrawCorrAcc(ULong_t runNo, UShort_t sys, UShort_t sNN,
27 const char* fname=0, Bool_t details=true)
29 //__________________________________________________________________
30 // Load libraries and object
31 // const char* fwd = "$ALICE_ROOT/PWGLF/FORWARD/analysis2";
32 const char* fwd = "$ALICE_ROOT/PWGLF/FORWARD/analysis2";
33 gROOT->Macro(Form("%s/scripts/LoadLibs.C", fwd));
34 gROOT->LoadMacro(Form("%s/scripts/SummaryDrawer.C", fwd));
35 gROOT->LoadMacro(Form("%s/corrs/CorrDrawer.C", fwd));
38 d.Run(AliForwardCorrectionManager::kAcceptance, runNo, sys, sNN, 0,
39 false, false, "", fname);