]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
- follow the changes in the drawTHnSparse.C for overlaying histograms
authorkkanaki <kkanaki@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 29 Mar 2011 10:23:15 +0000 (10:23 +0000)
committerkkanaki <kkanaki@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 29 Mar 2011 10:23:15 +0000 (10:23 +0000)
HLT/QA/tasks/macros/overlayPlots.C

index 6680070bee710e2e080f81a2e54d39d07fd3e449..d718ab48de6f5c0cba71212ab97d913c063b1847 100644 (file)
@@ -58,7 +58,7 @@ void overlayPlots(string fi="files.txt", const char* option="HLT"/* or "OFF" */)
   TH1D    *g[nr_files];
   
   TCanvas *d = new TCanvas("d",Form("%s cut studies",option),1100,900);
-  d->Divide(4,3);
+  d->Divide(3,3);
   
   TLegend *l = new TLegend(0.6,0.6,0.8,0.8);
   l->SetFillColor(10);
@@ -66,7 +66,7 @@ void overlayPlots(string fi="files.txt", const char* option="HLT"/* or "OFF" */)
   
   char cut[100];  
    
-  for(int j=1; j<12; j++){ // not 13, last pad is empty (TODO)     
+  for(int j=1; j<10; j++){ // not 13, last pad is empty (TODO)     
      for(int i=0; i<nr_files; i++){ 
             
         ff[i] = TFile::Open(file[i].Data());