2 * Run the energy loss fit finder and generate corrections output file
4 * @param sys Collision system
5 * @param cms Center of mass energy per nucleon in GeV
6 * @param field Magnetic field
7 * @param mc Whether this is for Monte-Carlo data
8 * @param filename Input file name
10 * @ingroup pwglf_forward_scripts_tests
13 * The class AliFMDELossFitter automatically generates the
14 * AliFMDCorrELossFit object.
18 TestRunMakeELossFit(UShort_t sys,
22 const char* filename="forward_eloss.root")
24 std::cout << "Loading libraries ..." << std::endl;
25 gROOT->Macro("$ALICE_ROOT/PWGLF/FORWARD/analysis2/scripts/LoadLibs.C");
27 std::cout << "Loading compile script ..." << std::endl;
28 gROOT->LoadMacro("$ALICE_ROOT/PWGLF/FORWARD/analysis2/scripts/Compile.C");
30 std::cout << "Compiling MakeELossFit.C script ..." << std::endl;
31 Compile("$ALICE_ROOT/PWGLF/FORWARD/analysis2/scripts/TestMakeELossFit.C");
33 std::cout << "Making MakeELossFit object (sys=" << sys
34 << ", cms=" << cms << ", field=" << field << ", mc=" << mc
36 MakeELossFit mef(sys, cms, field, mc, filename);
38 std::cout << "Running maker ..." << std::endl;