Rev 35 | Rev 40 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 35 | Rev 38 | ||
|---|---|---|---|
| Line 40... | Line 40... | ||
| 40 | printf("Cannot open root file %s!!!\n",fnameroot); |
40 | printf("Cannot open root file %s!!!\n",fnameroot); |
| 41 | return(0); |
41 | return(0); |
| 42 | } |
42 | } |
| 43 | 43 | ||
| 44 | // set draw style |
44 | // set draw style |
| 45 | gStyle->SetOptStat("ne"); |
- | |
| 46 | gStyle->SetPalette(1, 0); |
- | |
| 47 | - | ||
| 48 | gStyle->SetPaperSize(TStyle::kA4); |
- | |
| 49 | gStyle->SetStatBorderSize(1); |
- | |
| 50 | gStyle->SetFrameBorderMode(0); |
- | |
| 51 | gStyle->SetFrameFillColor(0); |
- | |
| 52 | gStyle->SetCanvasBorderMode(0); |
- | |
| 53 | gStyle->SetPadBorderMode(0); |
- | |
| 54 | gStyle->SetPadColor(0); |
- | |
| 55 | gStyle->SetCanvasColor(0); |
- | |
| 56 | gStyle->SetStatColor(0); |
- | |
| 57 | gStyle->SetOptFit(11); |
- | |
| 58 |
|
45 | RTSetStyle(gStyle); |
| 59 | gStyle->SetPadRightMargin(0.15); |
- | |
| 60 | gStyle->SetPadLeftMargin(0.12); |
- | |
| 61 | //gStyle->SetTitleYOffset(1.4); |
- | |
| 62 | - | ||
| 63 | 46 | ||
| 64 | if( strstr(plopt, "all") != NULL ) { |
47 | if( strstr(plopt, "all") != NULL ) { |
| 65 | TCanvas *canvas2 = new TCanvas("canvas2","Hits x;;",2000,2000); |
48 | TCanvas *canvas2 = new TCanvas("canvas2","Hits x;;",2000,2000); |
| 66 | TCanvas *canvas3 = new TCanvas("canvas3","Hits y;;",2000,2000); |
49 | TCanvas *canvas3 = new TCanvas("canvas3","Hits y;;",2000,2000); |
| 67 | canvas2->Divide(8,8); |
50 | canvas2->Divide(8,8); |