]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGLF/FORWARD/analysis2/trains/MakeFMDELossTrain.C
Major refactoring of the code.
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / analysis2 / trains / MakeFMDELossTrain.C
index 7f0d0d54a0a6a64e34223baa03c7492f71dfb689..25381d844578407d5c6fd9de077d0d326c57999a 100644 (file)
@@ -155,10 +155,11 @@ protected:
   }
   void PostShellCode(std::ostream& f)
   {
+    Bool_t   mc   = mgr->GetMCtruthEventHandler() != 0;
     f << "  echo \"=== Extracting Corrections ...\"\n"
       << "  aliroot -l -b -q ${prefix}Extract.C\n"
       << "  echo \"=== Summarizing results ...\"\n"
-      << "  aliroot -l -b -q ${prefix}Summarize.C\n"
+      << "  aliroot -l -b -q ${prefix}Summarize.C\c\(" << mc << "\\)\n"
       << "  if test x$dest = x ; then return ; fi\n"
       << "  echo \"=== Uploading to ${dest} ...\"\n"
       << "  aliroot -l -b -q Upload.C\\(\\\"${dest}\\\"\\);\n"