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