Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 37 → Rev 36

/sipmScan/examples/tdc.C
3,7 → 3,6
#include "TBenchmark.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TH3F.h"
#include "TCanvas.h"
#include "TStyle.h"
#include "TPad.h"
12,7 → 11,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)
{
53,11 → 52,9
gStyle->SetCanvasColor(0);
gStyle->SetStatColor(0);
gStyle->SetOptFit(11);
gStyle->SetOptStat("ne");
gStyle->SetPadTopMargin(0.15);
gStyle->SetPadBottomMargin(0.15);
gStyle->SetOptStat(0);
gStyle->SetPadRightMargin(0.15);
gStyle->SetPadLeftMargin(0.15);
gStyle->SetPadLeftMargin(0.12);
//gStyle->SetTitleYOffset(1.4);
TCanvas* canvas1 = new TCanvas("canvas1","canvas1",1000,1000);