make the script working
authormkrzewic <mikolaj.krzewicki@cern.ch>
Fri, 14 Mar 2014 16:09:21 +0000 (17:09 +0100)
committermkrzewic <mikolaj.krzewicki@cern.ch>
Fri, 14 Mar 2014 16:13:06 +0000 (17:13 +0100)
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;