ROOT logo
/**
 * @file 
 * 
 * Scripts to draw energy loss fits from correction object file 
 *
 * @ingroup pwglf_forward_scripts_corr
 */
/** 
 * Draw energy loss fits to a multi-page PDF. 
 *
 * @par Input: 
 * The input file is expected to contain a AliFMDCorrELossFit object
 * named @c elossfits in the top level directory.
 * 
 * @par Output: 
 * A multi-page PDF.  Note, that the PDF generated by ROOT in this way
 * is broken (cannot be read by Acrobat Reader on Windows and MacOSX)
 * and one should pass it through a filter to correct these problems.
 * 
 * @param runNo   Run number
 * @param sys     Collision system 
 * @param sNN     Collision energy in GeV
 * @param fname   File name 
 * @param details Drawing options 
 *
 * @ingroup pwglf_forward_scripts_corr
 */
void
DrawCorrAcc(ULong_t runNo, UShort_t sys, UShort_t sNN, 
	    const char* fname=0, Bool_t details=true)
{
  //__________________________________________________________________
  // Load libraries and object 
  // const char* fwd = "$ALICE_ROOT/PWGLF/FORWARD/analysis2";
  const char* fwd = "$ALICE_ROOT/PWGLF/FORWARD/analysis2";
  gROOT->Macro(Form("%s/scripts/LoadLibs.C", fwd));
  gROOT->LoadMacro(Form("%s/scripts/SummaryDrawer.C", fwd));
  gROOT->LoadMacro(Form("%s/corrs/CorrDrawer.C", fwd));

  CorrDrawer d;
  d.Run(AliForwardCorrectionManager::kAcceptance, runNo, sys, sNN, 0, 
	false, false, "", fname);
	
}
//
// EOF
//
 DrawCorrAcc.C:1
 DrawCorrAcc.C:2
 DrawCorrAcc.C:3
 DrawCorrAcc.C:4
 DrawCorrAcc.C:5
 DrawCorrAcc.C:6
 DrawCorrAcc.C:7
 DrawCorrAcc.C:8
 DrawCorrAcc.C:9
 DrawCorrAcc.C:10
 DrawCorrAcc.C:11
 DrawCorrAcc.C:12
 DrawCorrAcc.C:13
 DrawCorrAcc.C:14
 DrawCorrAcc.C:15
 DrawCorrAcc.C:16
 DrawCorrAcc.C:17
 DrawCorrAcc.C:18
 DrawCorrAcc.C:19
 DrawCorrAcc.C:20
 DrawCorrAcc.C:21
 DrawCorrAcc.C:22
 DrawCorrAcc.C:23
 DrawCorrAcc.C:24
 DrawCorrAcc.C:25
 DrawCorrAcc.C:26
 DrawCorrAcc.C:27
 DrawCorrAcc.C:28
 DrawCorrAcc.C:29
 DrawCorrAcc.C:30
 DrawCorrAcc.C:31
 DrawCorrAcc.C:32
 DrawCorrAcc.C:33
 DrawCorrAcc.C:34
 DrawCorrAcc.C:35
 DrawCorrAcc.C:36
 DrawCorrAcc.C:37
 DrawCorrAcc.C:38
 DrawCorrAcc.C:39
 DrawCorrAcc.C:40
 DrawCorrAcc.C:41
 DrawCorrAcc.C:42
 DrawCorrAcc.C:43
 DrawCorrAcc.C:44
 DrawCorrAcc.C:45
 DrawCorrAcc.C:46
 DrawCorrAcc.C:47
 DrawCorrAcc.C:48