Updates to scripts. Mostly documentation and some new functionalities
[u/mrichter/AliRoot.git] / PWG2 / FORWARD / analysis2 / AddTaskCentralMCCorr.C
index 36000d7..92c8cfa 100644 (file)
@@ -20,6 +20,9 @@
 AliAnalysisTask*
 AddTaskCentralMCCorr()
 {
+  // --- Load libraries ----------------------------------------------
+  gROOT->LoadClass("AliAODForwardMult", "libPWG2forward2");
+
   // --- Creating the manager and handlers ---------------------------
   AliAnalysisManager *mgr  = AliAnalysisManager::GetAnalysisManager();
   if (!mgr->GetMCtruthEventHandler()) {