{ //=========Macro generated from canvas: c1/c1 //========= (Mon Dec 22 15:03:28 2014) by ROOT version5.34/19 TCanvas *c1 = new TCanvas("c1", "c1",2300,98,864,765); gStyle->SetOptStat(0); c1->Range(-21.79487,-15.6,106.4103,88.4); c1->SetFillColor(0); c1->SetBorderMode(0); c1->SetBorderSize(2); c1->SetLeftMargin(0.17); c1->SetRightMargin(0.05); c1->SetBottomMargin(0.15); c1->SetFrameBorderMode(0); c1->SetFrameBorderMode(0); TH1F *hist15 = new TH1F("hist15","Ch=41,09,07",100,0,100); hist15->SetBinContent(1,3); hist15->SetBinContent(2,2); hist15->SetBinContent(3,4); hist15->SetBinContent(4,5); hist15->SetBinContent(5,4); hist15->SetBinContent(6,2); hist15->SetBinContent(7,3); hist15->SetBinContent(8,4); hist15->SetBinContent(9,2); hist15->SetBinContent(10,4); hist15->SetBinContent(11,6); hist15->SetBinContent(12,3); hist15->SetBinContent(13,3); hist15->SetBinContent(14,3); hist15->SetBinContent(15,1); hist15->SetBinContent(16,4); hist15->SetBinContent(17,1); hist15->SetBinContent(18,4); hist15->SetBinContent(19,1); hist15->SetBinContent(20,3); hist15->SetBinContent(21,3); hist15->SetBinContent(22,3); hist15->SetBinContent(23,4); hist15->SetBinContent(24,6); hist15->SetBinContent(25,1); hist15->SetBinContent(26,3); hist15->SetBinContent(27,2); hist15->SetBinContent(28,3); hist15->SetBinContent(29,4); hist15->SetBinContent(30,1); hist15->SetBinContent(31,4); hist15->SetBinContent(32,2); hist15->SetBinContent(34,3); hist15->SetBinContent(35,10); hist15->SetBinContent(36,25); hist15->SetBinContent(37,35); hist15->SetBinContent(38,34); hist15->SetBinContent(39,36); hist15->SetBinContent(40,32); hist15->SetBinContent(41,30); hist15->SetBinContent(42,26); hist15->SetBinContent(43,25); hist15->SetBinContent(44,21); hist15->SetBinContent(45,20); hist15->SetBinContent(46,18); hist15->SetBinContent(47,18); hist15->SetBinContent(48,17); hist15->SetBinContent(49,16); hist15->SetBinContent(50,12); hist15->SetBinContent(51,13); hist15->SetBinContent(52,12); hist15->SetBinContent(53,13); hist15->SetBinContent(54,11); hist15->SetBinContent(55,12); hist15->SetBinContent(56,10); hist15->SetBinContent(57,10); hist15->SetBinContent(58,14); hist15->SetBinContent(59,9); hist15->SetBinContent(60,11); hist15->SetBinContent(61,9); hist15->SetBinContent(62,7); hist15->SetBinContent(63,9); hist15->SetBinContent(64,7); hist15->SetBinContent(65,8); hist15->SetBinContent(66,9); hist15->SetBinContent(67,5); hist15->SetBinContent(68,7); hist15->SetBinContent(69,7); hist15->SetBinContent(70,6); hist15->SetBinContent(71,6); hist15->SetBinContent(72,6); hist15->SetBinContent(73,4); hist15->SetBinContent(74,4); hist15->SetBinContent(75,4); hist15->SetBinContent(76,5); hist15->SetBinContent(77,6); hist15->SetBinContent(78,3); hist15->SetBinContent(79,5); hist15->SetBinContent(80,1); hist15->SetBinContent(81,3); hist15->SetBinContent(82,2); hist15->SetBinContent(83,4); hist15->SetBinContent(84,4); hist15->SetBinContent(85,4); hist15->SetBinContent(86,5); hist15->SetBinContent(87,3); hist15->SetBinContent(88,3); hist15->SetBinContent(89,2); hist15->SetBinContent(90,3); hist15->SetBinContent(91,3); hist15->SetBinContent(92,2); hist15->SetBinContent(93,3); hist15->SetBinContent(94,2); hist15->SetBinContent(95,5); hist15->SetBinContent(96,1); hist15->SetBinContent(97,1); hist15->SetBinContent(98,4); hist15->SetBinContent(99,3); hist15->SetBinContent(100,3); hist15->SetMaximum(78); hist15->SetEntries(300); hist15->SetStats(0); hist15->SetLineColor(2); hist15->GetXaxis()->SetTitle("sample (4 ns)"); hist15->GetXaxis()->SetNdivisions(505); hist15->GetXaxis()->SetLabelFont(42); hist15->GetXaxis()->SetLabelSize(0.07); hist15->GetXaxis()->SetTitleSize(0.07); hist15->GetXaxis()->SetTitleFont(42); hist15->GetYaxis()->SetTitle("ADC value"); hist15->GetYaxis()->SetNdivisions(505); hist15->GetYaxis()->SetLabelFont(42); hist15->GetYaxis()->SetLabelSize(0.07); hist15->GetYaxis()->SetTitleSize(0.07); hist15->GetYaxis()->SetTitleOffset(1.2); hist15->GetYaxis()->SetTitleFont(42); hist15->GetZaxis()->SetLabelFont(42); hist15->GetZaxis()->SetLabelSize(0.07); hist15->GetZaxis()->SetTitleSize(0.07); hist15->GetZaxis()->SetTitleFont(42); hist15->Draw(""); TPaveText *pt = new TPaveText(0,0.9021913,0.4304651,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *text = pt->AddText("Ch=41,09,07"); pt->Draw(); c1->Modified(); c1->cd(); c1->SetSelected(c1); }