make the script working
[u/mrichter/AliRoot.git] / T0 / MakeTrendT0.C
index d99e8a7..7546ced 100644 (file)
@@ -1,16 +1,13 @@
-#include "TChain.h"
-#include "TTree.h"
-#include "TH1F.h"
-#include "TF1.h"
-#include "TH2F.h"
-#include "TCanvas.h"
-#include "TObjArray.h"
-#include "TTreeStream.h"
-
 #define NPMTs 24
 
 int MakeTrendT0( char *infile, int run) {
 
+  gSystem->Load("libANALYSIS");
+  gSystem->Load("libANALYSISalice");
+  gSystem->Load("libCORRFW");
+  gSystem->Load("libTENDER");
+  gSystem->Load("libPWGPP.so");
+
   char *outfile = "trending.root";
  
   if(!infile) return -1;