AliPhysics  f05a842 (f05a842)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AddTaskCopyHeader.C
Go to the documentation of this file.
1 
17 AddTaskCopyHeader(const char* what="")
18 {
19  // --- Load libraries ----------------------------------------------
20  gROOT->LoadClass("AliCopyHeaderTask", "libPWGLFforward2");
21 
22  // --- Create task -------------------------------------------------
24  task->SetCopyOptions(what);
25  if (!task->Connect()) {
26  delete task;
27  task = 0;
28  }
29  return task;
30 }
31 //
32 // EOF
33 //
virtual void SetCopyOptions(const TString &what)
AliAnalysisTaskSE * AddTaskCopyHeader(const char *what="")
virtual Bool_t Connect()