ROOT logo
/**
 * @file 
 * 
 * Scripts to draw energy loss fits from correction object file 
 *
 * @ingroup pwglf_forward_scripts_corr
 */
/** 
 * Draw secondary maps fits to a multi-page PDF. 
 *
 * @par Input: 
 * The input is expected to be parameters to obtain a
 * AliFMDCorrSecondaryMap object from the correction manager
* 
 * @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 field   L3 field strength
 * @param fname   File name 
 * @param details Drawing options 
 *
 * @ingroup pwglf_forward_scripts_corr
 */
void
DrawCorrSecMap(ULong_t runNo, UShort_t sys, UShort_t sNN, Short_t field,
	    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));
  gSystem->AddIncludePath(Form("-I%s/scripts -I%s", fwd, fwd));
  gROOT->LoadMacro(Form("%s/scripts/SummaryDrawer.C", fwd));
  gROOT->LoadMacro(Form("%s/corrs/CorrDrawer.C", fwd));

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