{ //=========Macro generated from canvas: c1/c1 //========= (Mon Dec 22 14:10:57 2014) by ROOT version5.34/19 TCanvas *c1 = new TCanvas("c1", "c1",2293,106,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 *hist00 = new TH1F("hist00","Ch=37,10,14",100,0,100); hist00->SetBinContent(1,1); hist00->SetBinContent(3,1); hist00->SetBinContent(4,1); hist00->SetBinContent(5,1); hist00->SetBinContent(6,2); hist00->SetBinContent(7,2); hist00->SetBinContent(8,2); hist00->SetBinContent(9,4); hist00->SetBinContent(10,4); hist00->SetBinContent(11,5); hist00->SetBinContent(12,3); hist00->SetBinContent(13,3); hist00->SetBinContent(14,4); hist00->SetBinContent(15,4); hist00->SetBinContent(16,2); hist00->SetBinContent(17,4); hist00->SetBinContent(18,3); hist00->SetBinContent(19,2); hist00->SetBinContent(20,1); hist00->SetBinContent(21,2); hist00->SetBinContent(22,3); hist00->SetBinContent(23,4); hist00->SetBinContent(24,2); hist00->SetBinContent(25,1); hist00->SetBinContent(26,3); hist00->SetBinContent(27,2); hist00->SetBinContent(28,3); hist00->SetBinContent(29,4); hist00->SetBinContent(30,4); hist00->SetBinContent(31,4); hist00->SetBinContent(32,1); hist00->SetBinContent(33,2); hist00->SetBinContent(34,17); hist00->SetBinContent(35,50); hist00->SetBinContent(36,66); hist00->SetBinContent(37,68); hist00->SetBinContent(38,67); hist00->SetBinContent(39,61); hist00->SetBinContent(40,56); hist00->SetBinContent(41,52); hist00->SetBinContent(42,49); hist00->SetBinContent(43,45); hist00->SetBinContent(44,44); hist00->SetBinContent(45,37); hist00->SetBinContent(46,37); hist00->SetBinContent(47,34); hist00->SetBinContent(48,30); hist00->SetBinContent(49,28); hist00->SetBinContent(50,24); hist00->SetBinContent(51,21); hist00->SetBinContent(52,21); hist00->SetBinContent(53,22); hist00->SetBinContent(54,20); hist00->SetBinContent(55,18); hist00->SetBinContent(56,18); hist00->SetBinContent(57,20); hist00->SetBinContent(58,20); hist00->SetBinContent(59,17); hist00->SetBinContent(60,16); hist00->SetBinContent(61,17); hist00->SetBinContent(62,16); hist00->SetBinContent(63,15); hist00->SetBinContent(64,13); hist00->SetBinContent(65,14); hist00->SetBinContent(66,11); hist00->SetBinContent(67,13); hist00->SetBinContent(68,12); hist00->SetBinContent(69,9); hist00->SetBinContent(70,9); hist00->SetBinContent(71,9); hist00->SetBinContent(72,8); hist00->SetBinContent(73,5); hist00->SetBinContent(74,7); hist00->SetBinContent(75,6); hist00->SetBinContent(76,6); hist00->SetBinContent(77,6); hist00->SetBinContent(78,4); hist00->SetBinContent(79,5); hist00->SetBinContent(80,5); hist00->SetBinContent(81,4); hist00->SetBinContent(82,4); hist00->SetBinContent(83,4); hist00->SetBinContent(84,3); hist00->SetBinContent(85,3); hist00->SetBinContent(86,1); hist00->SetBinContent(87,2); hist00->SetBinContent(88,1); hist00->SetBinContent(89,1); hist00->SetBinContent(90,1); hist00->SetBinContent(91,2); hist00->SetBinContent(92,2); hist00->SetBinContent(93,3); hist00->SetBinContent(94,1); hist00->SetBinContent(95,3); hist00->SetBinContent(96,2); hist00->SetBinContent(97,3); hist00->SetBinContent(98,3); hist00->SetBinContent(99,4); hist00->SetBinContent(100,3); hist00->SetMaximum(78); hist00->SetEntries(300); hist00->SetStats(0); hist00->SetLineColor(2); hist00->GetXaxis()->SetTitle("sample (4 ns)"); hist00->GetXaxis()->SetNdivisions(505); hist00->GetXaxis()->SetLabelFont(42); hist00->GetXaxis()->SetLabelSize(0.07); hist00->GetXaxis()->SetTitleSize(0.07); hist00->GetXaxis()->SetTitleFont(42); hist00->GetYaxis()->SetTitle("ADC value"); hist00->GetYaxis()->SetNdivisions(505); hist00->GetYaxis()->SetLabelFont(42); hist00->GetYaxis()->SetLabelSize(0.07); hist00->GetYaxis()->SetTitleSize(0.07); hist00->GetYaxis()->SetTitleOffset(1.2); hist00->GetYaxis()->SetTitleFont(42); hist00->GetZaxis()->SetLabelFont(42); hist00->GetZaxis()->SetLabelSize(0.07); hist00->GetZaxis()->SetTitleSize(0.07); hist00->GetZaxis()->SetTitleFont(42); hist00->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=37,10,14"); pt->Draw(); c1->Modified(); c1->cd(); c1->SetSelected(c1); }