| 3,6 → 3,7 |
| #include "TBenchmark.h" |
| #include "TH1F.h" |
| #include "TH2F.h" |
| #include "TH3F.h" |
| #include "TCanvas.h" |
| #include "TStyle.h" |
| #include "TPad.h" |
| 11,7 → 12,7 |
| #include "TSpectrum.h" |
| #include "stdio.h" |
| |
| #include "include/RTUtil.h" |
| //#include "include/RTUtil.h" |
| |
| int tdc(char filename[256] = "test", int chX=0, int chY=0, double rangeLeft=-16, double rangeRight=16, bool debug = false) |
| { |
| 52,9 → 53,11 |
| gStyle->SetCanvasColor(0); |
| gStyle->SetStatColor(0); |
| gStyle->SetOptFit(11); |
| gStyle->SetOptStat(0); |
| gStyle->SetOptStat("ne"); |
| gStyle->SetPadTopMargin(0.15); |
| gStyle->SetPadBottomMargin(0.15); |
| gStyle->SetPadRightMargin(0.15); |
| gStyle->SetPadLeftMargin(0.12); |
| gStyle->SetPadLeftMargin(0.15); |
| //gStyle->SetTitleYOffset(1.4); |
| |
| TCanvas* canvas1 = new TCanvas("canvas1","canvas1",1000,1000); |