]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGPP/ZDC/macros/DrawPerformanceZDCQAMatchTrends.C
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGPP / ZDC / macros / DrawPerformanceZDCQAMatchTrends.C
index 0b2bb300356850200128c265fae3a6038cc10672..51ef708c6c05d8973d267f40b1e3e05f34e010f2 100755 (executable)
 #include <TRandom.h>
 #include <TLegend.h>
 #include <TGraphErrors.h>
+#include "TStatToolkit.h"
 #endif
 
 TTree *tree;
 
-DrawPerformanceZDCQAMatchTrends(const char* inFile = "trending.root"){
+void DrawPerformanceZDCQAMatchTrends(const char* inFile = "trending.root"){
   
   /*set graphic style*/
   gStyle->SetCanvasColor(kWhite);
@@ -67,7 +68,7 @@ DrawPerformanceZDCQAMatchTrends(const char* inFile = "trending.root"){
   Int_t offset_centroids=3;
   Int_t offset_tdc=6;  
   
-  Int_t runNumber=0;
+  //Int_t runNumber=0;
   Double_t ZNC_mean=0;   Double_t ZNC_tot=0;    Double_t ZNC_avg=0;  
   Double_t ZNA_mean=0;   Double_t ZNA_tot=0;    Double_t ZNA_avg=0;
   Double_t ZPC_mean=0;   Double_t ZPC_tot=0;    Double_t ZPC_avg=0;     
@@ -212,4 +213,4 @@ DrawPerformanceZDCQAMatchTrends(const char* inFile = "trending.root"){
   gr_zntdcdiff->GetYaxis()->SetRangeUser(TdcDiff_avg-offset_tdc,TdcDiff_avg+offset_tdc);  
   c6->Print("ZN_timing_trending.png");    
     
-}
\ No newline at end of file
+}